AntiMicroX
Public Member Functions | Protected Attributes | Private Slots
JoyButtonContextMenu Class Reference

#include <joybuttoncontextmenu.h>

Inheritance diagram for JoyButtonContextMenu:
[legend]
Collaboration diagram for JoyButtonContextMenu:
[legend]

Public Member Functions

 JoyButtonContextMenu (JoyButton *button, QWidget *parent=nullptr)
 
void buildMenu ()
 

Protected Attributes

JoyButtonbutton
 

Private Slots

void switchToggle ()
 
void switchTurbo ()
 
void switchSetMode (QAction *action)
 
void disableSetMode ()
 
void clearButton ()
 
void createActionForGroup (QActionGroup *tempGroup, QString actionText, QAction *action, QMenu *tempSetMenu, int setSelection, int currentSelection, int setDataInc, int setCondition)
 

Constructor & Destructor Documentation

◆ JoyButtonContextMenu()

JoyButtonContextMenu::JoyButtonContextMenu ( JoyButton button,
QWidget *  parent = nullptr 
)
explicit

Member Function Documentation

◆ buildMenu()

void JoyButtonContextMenu::buildMenu ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ clearButton

void JoyButtonContextMenu::clearButton ( )
privateslot
Here is the caller graph for this function:

◆ createActionForGroup

void JoyButtonContextMenu::createActionForGroup ( QActionGroup *  tempGroup,
QString  actionText,
QAction *  action,
QMenu *  tempSetMenu,
int  setSelection,
int  currentSelection,
int  setDataInc,
int  setCondition 
)
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ disableSetMode

void JoyButtonContextMenu::disableSetMode ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ switchSetMode

void JoyButtonContextMenu::switchSetMode ( QAction *  action)
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ switchToggle

void JoyButtonContextMenu::switchToggle ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ switchTurbo

void JoyButtonContextMenu::switchTurbo ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

Field Documentation

◆ button

JoyButton* JoyButtonContextMenu::button
protected

The documentation for this class was generated from the following files: