AntiMicroX
Signals | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Slots | Private Member Functions | Private Attributes | Static Private Attributes
ButtonEditDialog Class Reference

#include <buttoneditdialog.h>

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

Signals

void advancedDialogOpened ()
 
void sendTempSlotToAdvanced (JoyButtonSlot *tempslot)
 
void keyGrabbed (JoyButtonSlot *tempslot)
 
void selectionCleared ()
 
void selectionFinished ()
 
void buttonDialogClosed ()
 

Public Member Functions

 ButtonEditDialog (JoyButton *button, InputDevice *joystick, bool isNumKeypad, QWidget *parent=nullptr)
 
 ButtonEditDialog (InputDevice *joystick, bool isNumKeypad, QWidget *parent=nullptr)
 
 ButtonEditDialog (QWidget *parent=0)
 
 ~ButtonEditDialog ()
 
JoyButtongetLastJoyButton ()
 
void setUpLastJoyButton (JoyButton *)
 
void refreshForLastBtn ()
 
void invokeMethodLastBtn (JoyButton *lastJoyBtn, ButtonEditDialogHelper *helper, const char *invokeString, int code, int alias, int index, JoyButtonSlot::JoySlotInputAction mode, bool withClear, bool withTrue, Qt::ConnectionType connTypeForAlias, Qt::ConnectionType connTypeForNothing, Qt::ConnectionType connTypeForAll)
 

Static Public Member Functions

static ButtonEditDialoggetInstance ()
 

Protected Member Functions

virtual void keyReleaseEvent (QKeyEvent *event)
 
virtual void keyPressEvent (QKeyEvent *event)
 

Private Slots

void nullifyDialogPointer ()
 
void refreshSlotSummaryLabel ()
 
void changeToggleSetting ()
 
void changeTurboSetting ()
 
void changeNumKeypadSetting ()
 
void openAdvancedDialog ()
 
void closedAdvancedDialog ()
 
void createTempSlot (int keycode, int alias)
 
void checkTurboSetting (bool state)
 
void setTurboButtonEnabled (bool state)
 
void processSlotAssignment (JoyButtonSlot *tempslot)
 
void clearButtonSlots ()
 
void sendSelectionFinished ()
 
void updateWindowTitleButtonName ()
 
void checkForKeyboardWidgetFocus (QWidget *old, QWidget *now)
 

Private Member Functions

void setupVirtualKeyboardMouseTabWidget ()
 
ButtonEditDialogHelpergetHelperLocal ()
 

Private Attributes

ButtonEditDialogHelper helper
 
Ui::ButtonEditDialog * ui
 
QElapsedTimer buttonEventInterval
 
InputDevicejoystick
 
QuickSetDialogcurrentQuickDialog
 
bool ignoreRelease
 
bool withoutQuickSetDialog
 
bool m_isNumKeypad
 
JoyButtonlastJoyButton
 

Static Private Attributes

static ButtonEditDialoginstance = nullptr
 

Constructor & Destructor Documentation

◆ ButtonEditDialog() [1/3]

ButtonEditDialog::ButtonEditDialog ( JoyButton button,
InputDevice joystick,
bool  isNumKeypad,
QWidget *  parent = nullptr 
)
explicit
Here is the call graph for this function:

◆ ButtonEditDialog() [2/3]

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

◆ ButtonEditDialog() [3/3]

ButtonEditDialog::ButtonEditDialog ( QWidget *  parent = 0)

◆ ~ButtonEditDialog()

ButtonEditDialog::~ButtonEditDialog ( )

Member Function Documentation

◆ advancedDialogOpened

void ButtonEditDialog::advancedDialogOpened ( )
signal
Here is the caller graph for this function:

◆ buttonDialogClosed

void ButtonEditDialog::buttonDialogClosed ( )
signal
Here is the caller graph for this function:

◆ changeNumKeypadSetting

void ButtonEditDialog::changeNumKeypadSetting ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ changeToggleSetting

void ButtonEditDialog::changeToggleSetting ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ changeTurboSetting

void ButtonEditDialog::changeTurboSetting ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ checkForKeyboardWidgetFocus

void ButtonEditDialog::checkForKeyboardWidgetFocus ( QWidget *  old,
QWidget *  now 
)
privateslot
Here is the caller graph for this function:

◆ checkTurboSetting

void ButtonEditDialog::checkTurboSetting ( bool  state)
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ clearButtonSlots

void ButtonEditDialog::clearButtonSlots ( )
privateslot
Here is the caller graph for this function:

◆ closedAdvancedDialog

void ButtonEditDialog::closedAdvancedDialog ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ createTempSlot

void ButtonEditDialog::createTempSlot ( int  keycode,
int  alias 
)
privateslot
Here is the caller graph for this function:

◆ getHelperLocal()

ButtonEditDialogHelper & ButtonEditDialog::getHelperLocal ( )
private

◆ getInstance()

ButtonEditDialog * ButtonEditDialog::getInstance ( )
static
Here is the caller graph for this function:

◆ getLastJoyButton()

JoyButton * ButtonEditDialog::getLastJoyButton ( )

◆ invokeMethodLastBtn()

void ButtonEditDialog::invokeMethodLastBtn ( JoyButton lastJoyBtn,
ButtonEditDialogHelper helper,
const char *  invokeString,
int  code,
int  alias,
int  index,
JoyButtonSlot::JoySlotInputAction  mode,
bool  withClear,
bool  withTrue,
Qt::ConnectionType  connTypeForAlias,
Qt::ConnectionType  connTypeForNothing,
Qt::ConnectionType  connTypeForAll 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ keyGrabbed

void ButtonEditDialog::keyGrabbed ( JoyButtonSlot tempslot)
signal
Here is the caller graph for this function:

◆ keyPressEvent()

void ButtonEditDialog::keyPressEvent ( QKeyEvent *  event)
protectedvirtual

◆ keyReleaseEvent()

void ButtonEditDialog::keyReleaseEvent ( QKeyEvent *  event)
protectedvirtual
Here is the call graph for this function:

◆ nullifyDialogPointer

void ButtonEditDialog::nullifyDialogPointer ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ openAdvancedDialog

void ButtonEditDialog::openAdvancedDialog ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ processSlotAssignment

void ButtonEditDialog::processSlotAssignment ( JoyButtonSlot tempslot)
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ refreshForLastBtn()

void ButtonEditDialog::refreshForLastBtn ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ refreshSlotSummaryLabel

void ButtonEditDialog::refreshSlotSummaryLabel ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ selectionCleared

void ButtonEditDialog::selectionCleared ( )
signal
Here is the caller graph for this function:

◆ selectionFinished

void ButtonEditDialog::selectionFinished ( )
signal
Here is the caller graph for this function:

◆ sendSelectionFinished

void ButtonEditDialog::sendSelectionFinished ( )
privateslot
Here is the caller graph for this function:

◆ sendTempSlotToAdvanced

void ButtonEditDialog::sendTempSlotToAdvanced ( JoyButtonSlot tempslot)
signal
Here is the caller graph for this function:

◆ setTurboButtonEnabled

void ButtonEditDialog::setTurboButtonEnabled ( bool  state)
privateslot
Here is the caller graph for this function:

◆ setUpLastJoyButton()

void ButtonEditDialog::setUpLastJoyButton ( JoyButton newButton)
Here is the caller graph for this function:

◆ setupVirtualKeyboardMouseTabWidget()

void ButtonEditDialog::setupVirtualKeyboardMouseTabWidget ( )
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateWindowTitleButtonName

void ButtonEditDialog::updateWindowTitleButtonName ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

Field Documentation

◆ buttonEventInterval

QElapsedTimer ButtonEditDialog::buttonEventInterval
private

◆ currentQuickDialog

QuickSetDialog* ButtonEditDialog::currentQuickDialog
private

◆ helper

ButtonEditDialogHelper ButtonEditDialog::helper
private

◆ ignoreRelease

bool ButtonEditDialog::ignoreRelease
private

◆ instance

ButtonEditDialog * ButtonEditDialog::instance = nullptr
staticprivate

◆ joystick

InputDevice* ButtonEditDialog::joystick
private

◆ lastJoyButton

JoyButton* ButtonEditDialog::lastJoyButton
private

◆ m_isNumKeypad

bool ButtonEditDialog::m_isNumKeypad
private

◆ ui

Ui::ButtonEditDialog* ButtonEditDialog::ui
private

◆ withoutQuickSetDialog

bool ButtonEditDialog::withoutQuickSetDialog
private

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