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

#include <axiseditdialog.h>

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

Public Member Functions

 AxisEditDialog (JoyAxis *axis, bool keypadUnlocked, QWidget *parent=0)
 
 AxisEditDialog (QWidget *parent=0)
 
 ~AxisEditDialog ()
 

Protected Member Functions

void selectAxisCurrentPreset ()
 
void selectTriggerPreset ()
 
void selectHapticTrigger ()
 Converts HapticTriggerMode from the current axis to combo box index and selects to element. More...
 
void buildTriggerPresetsMenu ()
 
void buildAxisPresetsMenu ()
 
void buildHapticTriggerMenu ()
 

Private Types

enum  HapticTriggerIndex {
  HAPTIC_TRIGGER_NONE_INDEX, HAPTIC_TRIGGER_CLICK_INDEX, HAPTIC_TRIGGER_RIGID_INDEX, HAPTIC_TRIGGER_RIGID_GRADIENT_INDEX,
  HAPTIC_TRIGGER_VIBRATION_INDEX
}
 Haptic trigger combo box indices. More...
 

Private Slots

void implementAxisPresets (int index)
 
void implementTriggerPresets (int index)
 
void implementPresets (int index)
 
void presetForThrottleChange (int index)
 
void implementHapticTrigger (int index)
 Converts the haptic trigger combo box index to a HapticTriggerMode and applies it to the current axis. More...
 
void updateDeadZoneBox (int value)
 
void updateMaxZoneBox (int value)
 
void updateThrottleUi (int index)
 
void updateJoyValue (int value)
 
void updateDeadZoneSlider (int value)
 
void updateMaxZoneSlider (int value)
 
void openAdvancedPDialog ()
 
void openAdvancedNDialog ()
 
void refreshPButtonLabel ()
 
void refreshNButtonLabel ()
 
void refreshPreset ()
 
void checkFinalSettings ()
 
void openMouseSettingsDialog ()
 
void enableMouseSettingButton ()
 
void updateWindowTitleAxisName ()
 

Private Attributes

Ui::AxisEditDialog * ui
 
JoyAxism_axis
 
bool keypadUnlocked
 
SetAxisThrottleDialogsetAxisThrottleConfirm
 
int initialThrottleState
 

Member Enumeration Documentation

◆ HapticTriggerIndex

Haptic trigger combo box indices.

Enumerator
HAPTIC_TRIGGER_NONE_INDEX 
HAPTIC_TRIGGER_CLICK_INDEX 
HAPTIC_TRIGGER_RIGID_INDEX 
HAPTIC_TRIGGER_RIGID_GRADIENT_INDEX 
HAPTIC_TRIGGER_VIBRATION_INDEX 

Constructor & Destructor Documentation

◆ AxisEditDialog() [1/2]

AxisEditDialog::AxisEditDialog ( JoyAxis axis,
bool  keypadUnlocked,
QWidget *  parent = 0 
)
explicit
Here is the call graph for this function:

◆ AxisEditDialog() [2/2]

AxisEditDialog::AxisEditDialog ( QWidget *  parent = 0)

◆ ~AxisEditDialog()

AxisEditDialog::~AxisEditDialog ( )

Member Function Documentation

◆ buildAxisPresetsMenu()

void AxisEditDialog::buildAxisPresetsMenu ( )
protected
Here is the caller graph for this function:

◆ buildHapticTriggerMenu()

void AxisEditDialog::buildHapticTriggerMenu ( )
protected
Here is the caller graph for this function:

◆ buildTriggerPresetsMenu()

void AxisEditDialog::buildTriggerPresetsMenu ( )
protected
Here is the caller graph for this function:

◆ checkFinalSettings

void AxisEditDialog::checkFinalSettings ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ enableMouseSettingButton

void AxisEditDialog::enableMouseSettingButton ( )
privateslot
Here is the caller graph for this function:

◆ implementAxisPresets

void AxisEditDialog::implementAxisPresets ( int  index)
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ implementHapticTrigger

void AxisEditDialog::implementHapticTrigger ( int  index)
privateslot

Converts the haptic trigger combo box index to a HapticTriggerMode and applies it to the current axis.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ implementPresets

void AxisEditDialog::implementPresets ( int  index)
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ implementTriggerPresets

void AxisEditDialog::implementTriggerPresets ( int  index)
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ openAdvancedNDialog

void AxisEditDialog::openAdvancedNDialog ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ openAdvancedPDialog

void AxisEditDialog::openAdvancedPDialog ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ openMouseSettingsDialog

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

◆ presetForThrottleChange

void AxisEditDialog::presetForThrottleChange ( int  index)
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ refreshNButtonLabel

void AxisEditDialog::refreshNButtonLabel ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ refreshPButtonLabel

void AxisEditDialog::refreshPButtonLabel ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ refreshPreset

void AxisEditDialog::refreshPreset ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ selectAxisCurrentPreset()

void AxisEditDialog::selectAxisCurrentPreset ( )
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ selectHapticTrigger()

void AxisEditDialog::selectHapticTrigger ( )
protected

Converts HapticTriggerMode from the current axis to combo box index and selects to element.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ selectTriggerPreset()

void AxisEditDialog::selectTriggerPreset ( )
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateDeadZoneBox

void AxisEditDialog::updateDeadZoneBox ( int  value)
privateslot
Here is the caller graph for this function:

◆ updateDeadZoneSlider

void AxisEditDialog::updateDeadZoneSlider ( int  value)
privateslot
Here is the caller graph for this function:

◆ updateJoyValue

void AxisEditDialog::updateJoyValue ( int  value)
privateslot
Here is the caller graph for this function:

◆ updateMaxZoneBox

void AxisEditDialog::updateMaxZoneBox ( int  value)
privateslot
Here is the caller graph for this function:

◆ updateMaxZoneSlider

void AxisEditDialog::updateMaxZoneSlider ( int  value)
privateslot
Here is the caller graph for this function:

◆ updateThrottleUi

void AxisEditDialog::updateThrottleUi ( int  index)
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateWindowTitleAxisName

void AxisEditDialog::updateWindowTitleAxisName ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

Field Documentation

◆ initialThrottleState

int AxisEditDialog::initialThrottleState
private

◆ keypadUnlocked

bool AxisEditDialog::keypadUnlocked
private

◆ m_axis

JoyAxis* AxisEditDialog::m_axis
private

◆ setAxisThrottleConfirm

SetAxisThrottleDialog* AxisEditDialog::setAxisThrottleConfirm
private

◆ ui

Ui::AxisEditDialog* AxisEditDialog::ui
private

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