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

The control stick context menu widget used by StickPushButtonGroup. More...

#include <joycontrolstickcontextmenu.h>

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

Public Member Functions

 JoyControlStickContextMenu (JoyControlStick *stick, QWidget *parent=nullptr)
 
void buildMenu ()
 

Protected Member Functions

int getPresetIndex ()
 

Private Slots

void setStickPreset (QAction *action)
 
void setStickMode (QAction *action)
 
void openMouseSettingsDialog ()
 

Private Member Functions

JoyControlStickContextMenuHelpergetHelperLocal ()
 

Private Attributes

JoyControlStickstick
 
JoyControlStickContextMenuHelper helper
 

Detailed Description

The control stick context menu widget used by StickPushButtonGroup.

Constructor & Destructor Documentation

◆ JoyControlStickContextMenu()

JoyControlStickContextMenu::JoyControlStickContextMenu ( JoyControlStick stick,
QWidget *  parent = nullptr 
)
explicit
Here is the call graph for this function:

Member Function Documentation

◆ buildMenu()

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

◆ getHelperLocal()

JoyControlStickContextMenuHelper & JoyControlStickContextMenu::getHelperLocal ( )
private
Here is the caller graph for this function:

◆ getPresetIndex()

int JoyControlStickContextMenu::getPresetIndex ( )
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ openMouseSettingsDialog

void JoyControlStickContextMenu::openMouseSettingsDialog ( )
privateslot
Here is the caller graph for this function:

◆ setStickMode

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

◆ setStickPreset

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

Field Documentation

◆ helper

JoyControlStickContextMenuHelper JoyControlStickContextMenu::helper
private

◆ stick

JoyControlStick* JoyControlStickContextMenu::stick
private

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