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

#include <joyaxiscontextmenu.h>

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

Public Member Functions

 JoyAxisContextMenu (JoyAxis *axis, QWidget *parent=nullptr)
 
void buildMenu ()
 
void buildAxisMenu ()
 
void buildTriggerMenu ()
 

Protected Member Functions

int getPresetIndex ()
 
int getTriggerPresetIndex ()
 

Private Slots

void setAxisPreset (QAction *action)
 
void setTriggerPreset (QAction *action)
 
void openMouseSettingsDialog ()
 

Private Member Functions

JoyAxisContextMenuHelpergetHelperLocal ()
 

Private Attributes

JoyAxisaxis
 
JoyAxisContextMenuHelper helper
 

Constructor & Destructor Documentation

◆ JoyAxisContextMenu()

JoyAxisContextMenu::JoyAxisContextMenu ( JoyAxis axis,
QWidget *  parent = nullptr 
)
explicit
Here is the call graph for this function:

Member Function Documentation

◆ buildAxisMenu()

void JoyAxisContextMenu::buildAxisMenu ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ buildMenu()

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

◆ buildTriggerMenu()

void JoyAxisContextMenu::buildTriggerMenu ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getHelperLocal()

JoyAxisContextMenuHelper & JoyAxisContextMenu::getHelperLocal ( )
private
Here is the caller graph for this function:

◆ getPresetIndex()

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

◆ getTriggerPresetIndex()

int JoyAxisContextMenu::getTriggerPresetIndex ( )
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ openMouseSettingsDialog

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

◆ setAxisPreset

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

◆ setTriggerPreset

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

Field Documentation

◆ axis

JoyAxis* JoyAxisContextMenu::axis
private

◆ helper

JoyAxisContextMenuHelper JoyAxisContextMenu::helper
private

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