AntiMicroX
Public Slots | Signals | Public Member Functions | Protected Member Functions | Private Types | Private Slots | Private Member Functions | Private Attributes
AdvanceButtonDialog Class Reference

#include <advancebuttondialog.h>

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

Public Slots

void placeNewSlot (JoyButtonSlot *slot)
 
void clearAllSlots ()
 

Signals

void toggleChanged (bool state)
 
void turboChanged (bool state)
 
void slotsChanged ()
 
void turboButtonEnabledChange (bool state)
 

Public Member Functions

 AdvanceButtonDialog (JoyButton *button, QWidget *parent=0)
 
 AdvanceButtonDialog (QWidget *parent=0)
 
 ~AdvanceButtonDialog ()
 
int getOldRow () const
 
JoyButtongetButton () const
 
const AdvanceButtonDialogHelpergetHelper ()
 

Protected Member Functions

void connectButtonEvents (SimpleKeyGrabberButton *button)
 
void appendBlankKeyGrabber ()
 
int actionTimeConvert ()
 
void changeTurboForSequences ()
 
void fillTimeComboBoxes ()
 
void refreshTimeComboBoxes (JoyButtonSlot *slot)
 
void updateWindowTitleButtonName ()
 
void populateAutoResetInterval ()
 
void disconnectTimeBoxesEvents ()
 
void connectTimeBoxesEvents ()
 
void resetTimeBoxes ()
 
void populateSetSelectionComboBox ()
 
void populateSlotSetSelectionComboBox ()
 
void findTurboModeComboIndex ()
 
void showSelectProfileWind (QListWidgetItem *item, QString &firstChoiceProfile)
 
bool anySelectedNotKeybSlot ()
 
bool selectedNotMixSlot ()
 

Private Types

enum  SlotTypeComboIndex {
  KBMouseSlot = 0, CycleSlot, DelaySlot, DistanceSlot,
  ExecuteSlot, HoldSlot, LoadSlot, MouseModSlot,
  PauseSlot, PressTimeSlot, ReleaseSlot, SetChangeSlot,
  TextEntry
}
 

Private Slots

void changeTurboText (int value)
 
void updateTurboIntervalValue (int value)
 
void checkTurboSetting (bool state)
 
void updateSlotsScrollArea (int value)
 
void deleteSlot (bool showWarning=true)
 
void insertSlot ()
 
void joinSlot ()
 
void splitSlot ()
 
void insertCycleSlot (QListWidgetItem *item)
 
void insertTextEntrySlot (QListWidgetItem *item)
 
void insertExecuteSlot (QListWidgetItem *item, QStringList &prevExecAndArgs)
 
void updateActionTimeLabel ()
 
void updateSetSelection ()
 
void checkTurboIntervalValue (int value)
 
void performStatsWidgetRefresh (QListWidgetItem *item)
 
void checkSlotTimeUpdate ()
 
void checkSlotMouseModUpdate ()
 
void checkSlotDistanceUpdate ()
 
void checkSlotSetChangeUpdate ()
 
void checkCycleResetWidgetStatus (bool enabled)
 
void setButtonCycleResetInterval (double value)
 
void setButtonCycleReset (bool enabled)
 
void setButtonTurboMode (int value)
 
void showSelectProfileWindow ()
 
void showFindExecutableWindow (bool)
 
void changeSlotTypeDisplay (int index)
 
void changeSlotHelpText (int index)
 

Private Member Functions

AdvanceButtonDialogHelpergetHelperLocal ()
 
void insertKindOfSlot (QListWidgetItem *item, int slotProperty, JoyButtonSlot::JoySlotInputAction inputAction)
 

Private Attributes

Ui::AdvanceButtonDialog * ui
 
int oldRow
 
JoyButtonm_button
 
AdvanceButtonDialogHelper helper
 
QReadWriteLock joinLock
 

Member Enumeration Documentation

◆ SlotTypeComboIndex

Enumerator
KBMouseSlot 
CycleSlot 
DelaySlot 
DistanceSlot 
ExecuteSlot 
HoldSlot 
LoadSlot 
MouseModSlot 
PauseSlot 
PressTimeSlot 
ReleaseSlot 
SetChangeSlot 
TextEntry 

Constructor & Destructor Documentation

◆ AdvanceButtonDialog() [1/2]

AdvanceButtonDialog::AdvanceButtonDialog ( JoyButton button,
QWidget *  parent = 0 
)
explicit

◆ AdvanceButtonDialog() [2/2]

AdvanceButtonDialog::AdvanceButtonDialog ( QWidget *  parent = 0)

◆ ~AdvanceButtonDialog()

AdvanceButtonDialog::~AdvanceButtonDialog ( )

Member Function Documentation

◆ actionTimeConvert()

int AdvanceButtonDialog::actionTimeConvert ( )
protected
Here is the caller graph for this function:

◆ anySelectedNotKeybSlot()

bool AdvanceButtonDialog::anySelectedNotKeybSlot ( )
protected
Here is the caller graph for this function:

◆ appendBlankKeyGrabber()

void AdvanceButtonDialog::appendBlankKeyGrabber ( )
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ changeSlotHelpText

void AdvanceButtonDialog::changeSlotHelpText ( int  index)
privateslot
Here is the caller graph for this function:

◆ changeSlotTypeDisplay

void AdvanceButtonDialog::changeSlotTypeDisplay ( int  index)
privateslot
Here is the caller graph for this function:

◆ changeTurboForSequences()

void AdvanceButtonDialog::changeTurboForSequences ( )
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ changeTurboText

void AdvanceButtonDialog::changeTurboText ( int  value)
privateslot
Here is the caller graph for this function:

◆ checkCycleResetWidgetStatus

void AdvanceButtonDialog::checkCycleResetWidgetStatus ( bool  enabled)
privateslot
Here is the caller graph for this function:

◆ checkSlotDistanceUpdate

void AdvanceButtonDialog::checkSlotDistanceUpdate ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ checkSlotMouseModUpdate

void AdvanceButtonDialog::checkSlotMouseModUpdate ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ checkSlotSetChangeUpdate

void AdvanceButtonDialog::checkSlotSetChangeUpdate ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ checkSlotTimeUpdate

void AdvanceButtonDialog::checkSlotTimeUpdate ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ checkTurboIntervalValue

void AdvanceButtonDialog::checkTurboIntervalValue ( int  value)
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ checkTurboSetting

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

◆ clearAllSlots

void AdvanceButtonDialog::clearAllSlots ( )
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ connectButtonEvents()

void AdvanceButtonDialog::connectButtonEvents ( SimpleKeyGrabberButton button)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ connectTimeBoxesEvents()

void AdvanceButtonDialog::connectTimeBoxesEvents ( )
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ deleteSlot

void AdvanceButtonDialog::deleteSlot ( bool  showWarning = true)
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ disconnectTimeBoxesEvents()

void AdvanceButtonDialog::disconnectTimeBoxesEvents ( )
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ fillTimeComboBoxes()

void AdvanceButtonDialog::fillTimeComboBoxes ( )
protected
Here is the caller graph for this function:

◆ findTurboModeComboIndex()

void AdvanceButtonDialog::findTurboModeComboIndex ( )
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getButton()

JoyButton * AdvanceButtonDialog::getButton ( ) const

◆ getHelper()

const AdvanceButtonDialogHelper & AdvanceButtonDialog::getHelper ( )

◆ getHelperLocal()

AdvanceButtonDialogHelper & AdvanceButtonDialog::getHelperLocal ( )
private
Here is the caller graph for this function:

◆ getOldRow()

int AdvanceButtonDialog::getOldRow ( ) const

◆ insertCycleSlot

void AdvanceButtonDialog::insertCycleSlot ( QListWidgetItem *  item)
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ insertExecuteSlot

void AdvanceButtonDialog::insertExecuteSlot ( QListWidgetItem *  item,
QStringList &  prevExecAndArgs 
)
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ insertKindOfSlot()

void AdvanceButtonDialog::insertKindOfSlot ( QListWidgetItem *  item,
int  slotProperty,
JoyButtonSlot::JoySlotInputAction  inputAction 
)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ insertSlot

void AdvanceButtonDialog::insertSlot ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ insertTextEntrySlot

void AdvanceButtonDialog::insertTextEntrySlot ( QListWidgetItem *  item)
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ joinSlot

void AdvanceButtonDialog::joinSlot ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ performStatsWidgetRefresh

void AdvanceButtonDialog::performStatsWidgetRefresh ( QListWidgetItem *  item)
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ placeNewSlot

void AdvanceButtonDialog::placeNewSlot ( JoyButtonSlot slot)
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ populateAutoResetInterval()

void AdvanceButtonDialog::populateAutoResetInterval ( )
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ populateSetSelectionComboBox()

void AdvanceButtonDialog::populateSetSelectionComboBox ( )
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ populateSlotSetSelectionComboBox()

void AdvanceButtonDialog::populateSlotSetSelectionComboBox ( )
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ refreshTimeComboBoxes()

void AdvanceButtonDialog::refreshTimeComboBoxes ( JoyButtonSlot slot)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ resetTimeBoxes()

void AdvanceButtonDialog::resetTimeBoxes ( )
protected
Here is the call graph for this function:

◆ selectedNotMixSlot()

bool AdvanceButtonDialog::selectedNotMixSlot ( )
protected
Here is the caller graph for this function:

◆ setButtonCycleReset

void AdvanceButtonDialog::setButtonCycleReset ( bool  enabled)
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setButtonCycleResetInterval

void AdvanceButtonDialog::setButtonCycleResetInterval ( double  value)
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setButtonTurboMode

void AdvanceButtonDialog::setButtonTurboMode ( int  value)
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ showFindExecutableWindow

void AdvanceButtonDialog::showFindExecutableWindow ( bool  )
privateslot
Here is the caller graph for this function:

◆ showSelectProfileWind()

void AdvanceButtonDialog::showSelectProfileWind ( QListWidgetItem *  item,
QString &  firstChoiceProfile 
)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ showSelectProfileWindow

void AdvanceButtonDialog::showSelectProfileWindow ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ slotsChanged

void AdvanceButtonDialog::slotsChanged ( )
signal
Here is the caller graph for this function:

◆ splitSlot

void AdvanceButtonDialog::splitSlot ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ toggleChanged

void AdvanceButtonDialog::toggleChanged ( bool  state)
signal

◆ turboButtonEnabledChange

void AdvanceButtonDialog::turboButtonEnabledChange ( bool  state)
signal
Here is the caller graph for this function:

◆ turboChanged

void AdvanceButtonDialog::turboChanged ( bool  state)
signal
Here is the caller graph for this function:

◆ updateActionTimeLabel

void AdvanceButtonDialog::updateActionTimeLabel ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateSetSelection

void AdvanceButtonDialog::updateSetSelection ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateSlotsScrollArea

void AdvanceButtonDialog::updateSlotsScrollArea ( int  value)
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateTurboIntervalValue

void AdvanceButtonDialog::updateTurboIntervalValue ( int  value)
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateWindowTitleButtonName()

void AdvanceButtonDialog::updateWindowTitleButtonName ( )
protected
Here is the call graph for this function:
Here is the caller graph for this function:

Field Documentation

◆ helper

AdvanceButtonDialogHelper AdvanceButtonDialog::helper
private

◆ joinLock

QReadWriteLock AdvanceButtonDialog::joinLock
private

◆ m_button

JoyButton* AdvanceButtonDialog::m_button
private

◆ oldRow

int AdvanceButtonDialog::oldRow
private

◆ ui

Ui::AdvanceButtonDialog* AdvanceButtonDialog::ui
private

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