AntiMicroX
Public Member Functions | Private Slots | Private Member Functions | Private Attributes
QuickSetDialog Class Reference

#include <quicksetdialog.h>

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

Public Member Functions

 QuickSetDialog (InputDevice *joystick, QWidget *parent=nullptr)
 
 QuickSetDialog (InputDevice *joystick, ButtonEditDialogHelper *helper, const char *invokeString, int code, int alias, int index, JoyButtonSlot::JoySlotInputAction mode, bool withClear, bool withTrue, QWidget *parent=nullptr)
 
 ~QuickSetDialog ()
 
JoyButtongetLastPressedButton () const
 
InputDevicegetJoystick () const
 
QDialog * getCurrentButtonDialog () const
 
const char * getInvokeString () const
 
ButtonEditDialogHelpergetHelper () const
 
JoyButtonSlot::JoySlotInputAction getMode () const
 

Private Slots

void showAxisButtonDialog (JoyAxisButton *joybtn)
 
void showButtonDialog (JoyButton *joybtn)
 
void showStickButtonDialog (JoyControlStickButton *joyctrlstickbtn)
 
void showDPadButtonDialog (JoyDPadButton *joydpadbtn)
 
void restoreJoystickState ()
 

Private Member Functions

void invokeMethodLastBtn (JoyButton *lastJoyBtn, Qt::ConnectionType connTypeForAlias, Qt::ConnectionType connTypeForNothing, Qt::ConnectionType connTypeForAll, bool possibleAxisAction=false)
 
void restoreSticksStates (SetJoystick *currentset)
 
void restoreAxesStates (SetJoystick *currentset)
 
void restoreHatsStates (SetJoystick *currentset)
 
void restoreVDPadsStates (SetJoystick *currentset)
 
void restoreButtonsStates (SetJoystick *currentset)
 
void connectSticksForDialog (SetJoystick *currentset)
 
void connectAxesForDialog (SetJoystick *currentset)
 
void connectDpadForDialog (SetJoystick *currentset)
 
void connectVDpadForDialog (SetJoystick *currentset)
 
void connectBtnForDialog (SetJoystick *currentset)
 

Private Attributes

Ui::QuickSetDialog * ui
 
InputDevicejoystick
 
QDialog * currentButtonDialog
 
ButtonEditDialogHelperhelper
 
JoyButtonlastButton
 
const char * invokeString
 
int code
 
int alias
 
int index
 
JoyButtonSlot::JoySlotInputAction mode
 
bool withClear
 
bool withTrue
 

Constructor & Destructor Documentation

◆ QuickSetDialog() [1/2]

QuickSetDialog::QuickSetDialog ( InputDevice joystick,
QWidget *  parent = nullptr 
)
explicit
Here is the call graph for this function:

◆ QuickSetDialog() [2/2]

QuickSetDialog::QuickSetDialog ( InputDevice joystick,
ButtonEditDialogHelper helper,
const char *  invokeString,
int  code,
int  alias,
int  index,
JoyButtonSlot::JoySlotInputAction  mode,
bool  withClear,
bool  withTrue,
QWidget *  parent = nullptr 
)
Here is the call graph for this function:

◆ ~QuickSetDialog()

QuickSetDialog::~QuickSetDialog ( )

Member Function Documentation

◆ connectAxesForDialog()

void QuickSetDialog::connectAxesForDialog ( SetJoystick currentset)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ connectBtnForDialog()

void QuickSetDialog::connectBtnForDialog ( SetJoystick currentset)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ connectDpadForDialog()

void QuickSetDialog::connectDpadForDialog ( SetJoystick currentset)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ connectSticksForDialog()

void QuickSetDialog::connectSticksForDialog ( SetJoystick currentset)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ connectVDpadForDialog()

void QuickSetDialog::connectVDpadForDialog ( SetJoystick currentset)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getCurrentButtonDialog()

QDialog * QuickSetDialog::getCurrentButtonDialog ( ) const

◆ getHelper()

ButtonEditDialogHelper * QuickSetDialog::getHelper ( ) const

◆ getInvokeString()

const char * QuickSetDialog::getInvokeString ( ) const

◆ getJoystick()

InputDevice * QuickSetDialog::getJoystick ( ) const

◆ getLastPressedButton()

JoyButton * QuickSetDialog::getLastPressedButton ( ) const
Here is the caller graph for this function:

◆ getMode()

JoyButtonSlot::JoySlotInputAction QuickSetDialog::getMode ( ) const

◆ invokeMethodLastBtn()

void QuickSetDialog::invokeMethodLastBtn ( JoyButton lastJoyBtn,
Qt::ConnectionType  connTypeForAlias,
Qt::ConnectionType  connTypeForNothing,
Qt::ConnectionType  connTypeForAll,
bool  possibleAxisAction = false 
)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ restoreAxesStates()

void QuickSetDialog::restoreAxesStates ( SetJoystick currentset)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ restoreButtonsStates()

void QuickSetDialog::restoreButtonsStates ( SetJoystick currentset)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ restoreHatsStates()

void QuickSetDialog::restoreHatsStates ( SetJoystick currentset)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ restoreJoystickState

void QuickSetDialog::restoreJoystickState ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ restoreSticksStates()

void QuickSetDialog::restoreSticksStates ( SetJoystick currentset)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ restoreVDPadsStates()

void QuickSetDialog::restoreVDPadsStates ( SetJoystick currentset)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ showAxisButtonDialog

void QuickSetDialog::showAxisButtonDialog ( JoyAxisButton joybtn)
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ showButtonDialog

void QuickSetDialog::showButtonDialog ( JoyButton joybtn)
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ showDPadButtonDialog

void QuickSetDialog::showDPadButtonDialog ( JoyDPadButton joydpadbtn)
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ showStickButtonDialog

void QuickSetDialog::showStickButtonDialog ( JoyControlStickButton joyctrlstickbtn)
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

Field Documentation

◆ alias

int QuickSetDialog::alias
private

◆ code

int QuickSetDialog::code
private

◆ currentButtonDialog

QDialog* QuickSetDialog::currentButtonDialog
private

◆ helper

ButtonEditDialogHelper* QuickSetDialog::helper
private

◆ index

int QuickSetDialog::index
private

◆ invokeString

const char* QuickSetDialog::invokeString
private

◆ joystick

InputDevice* QuickSetDialog::joystick
private

◆ lastButton

JoyButton* QuickSetDialog::lastButton
private

◆ mode

JoyButtonSlot::JoySlotInputAction QuickSetDialog::mode
private

◆ ui

Ui::QuickSetDialog* QuickSetDialog::ui
private

◆ withClear

bool QuickSetDialog::withClear
private

◆ withTrue

bool QuickSetDialog::withTrue
private

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