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

#include <mousebuttonsettingsdialog.h>

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

Public Slots

void changeMouseMode (int index)
 
void changeMouseCurve (int index)
 
void updateConfigHorizontalSpeed (int value)
 
void updateConfigVerticalSpeed (int value)
 
void updateSpringWidth (int value)
 
void updateSpringHeight (int value)
 
void updateSensitivity (double value)
 
void updateAccelerationCurvePresetComboBox ()
 
- Public Slots inherited from MouseSettingsDialog
void changeSettingsWidgetStatus (int index)
 
void changeSpringSectionStatus (int index)
 
void changeMouseSpeedBoxStatus (int index)
 
void changeWheelSpeedBoxStatus (int index)
 
void updateHorizontalSpeedConvertLabel (int value)
 
void updateVerticalSpeedConvertLabel (int value)
 
void moveSpeedsTogether (int value)
 
void updateWheelVerticalSpeedLabel (int value)
 
void updateWheelHorizontalSpeedLabel (int value)
 
void changeSensitivityStatusForMouseMode (int index)
 
void updateMouseCursorStatusLabels (int mouseX, int mouseY, int elapsed)
 Update mouse status labels with cursor mouse information provided by an InputDevice. More...
 
void updateMouseSpringStatusLabels (int coordX, int coordY)
 Update mouse status labels with spring mouse information provided by an InputDevice. More...
 
virtual void changeMouseMode (int index)=0
 
virtual void changeMouseCurve (int index)=0
 

Public Member Functions

 MouseButtonSettingsDialog (JoyButton *button, QWidget *parent=nullptr)
 
JoyButtongetButton () const
 
SpringModeRegionPreviewgetSpringPreviewWidget () const
 
const MouseButtonSettingsDialogHelpergetHelper ()
 
- Public Member Functions inherited from MouseSettingsDialog
 MouseSettingsDialog (QWidget *parent=nullptr)
 
 ~MouseSettingsDialog ()
 

Protected Member Functions

void selectCurrentMouseModePreset ()
 
void calculateSpringPreset ()
 
void calculateMouseSpeedPreset ()
 
void updateWindowTitleButtonName ()
 
void calculateExtraAccelerationCurve ()
 
- Protected Member Functions inherited from MouseSettingsDialog
void updateAccelerationCurvePresetComboBox (JoyButton::JoyMouseCurve mouseCurve)
 
void updateExtraAccelerationCurvePresetComboBox (JoyButton::JoyExtraAccelerationCurve curve)
 
JoyButton::JoyMouseCurve getMouseCurveForIndex (int index)
 
JoyButton::JoyExtraAccelerationCurve getExtraAccelCurveForIndex (int index)
 

Private Slots

void updateExtraAccelerationCurve (int index)
 

Private Member Functions

MouseButtonSettingsDialogHelpergetHelperLocal ()
 

Private Attributes

JoyButtonbutton
 
SpringModeRegionPreviewspringPreviewWidget
 
MouseButtonSettingsDialogHelper helper
 

Additional Inherited Members

- Protected Attributes inherited from MouseSettingsDialog
Ui::MouseSettingsDialog * ui
 
QElapsedTimer lastMouseStatUpdate
 

Constructor & Destructor Documentation

◆ MouseButtonSettingsDialog()

MouseButtonSettingsDialog::MouseButtonSettingsDialog ( JoyButton button,
QWidget *  parent = nullptr 
)
explicit
Here is the call graph for this function:

Member Function Documentation

◆ calculateExtraAccelerationCurve()

void MouseButtonSettingsDialog::calculateExtraAccelerationCurve ( )
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ calculateMouseSpeedPreset()

void MouseButtonSettingsDialog::calculateMouseSpeedPreset ( )
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ calculateSpringPreset()

void MouseButtonSettingsDialog::calculateSpringPreset ( )
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ changeMouseCurve

void MouseButtonSettingsDialog::changeMouseCurve ( int  index)
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ changeMouseMode

void MouseButtonSettingsDialog::changeMouseMode ( int  index)
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getButton()

JoyButton * MouseButtonSettingsDialog::getButton ( ) const

◆ getHelper()

const MouseButtonSettingsDialogHelper & MouseButtonSettingsDialog::getHelper ( )

◆ getHelperLocal()

MouseButtonSettingsDialogHelper & MouseButtonSettingsDialog::getHelperLocal ( )
private
Here is the caller graph for this function:

◆ getSpringPreviewWidget()

SpringModeRegionPreview * MouseButtonSettingsDialog::getSpringPreviewWidget ( ) const

◆ selectCurrentMouseModePreset()

void MouseButtonSettingsDialog::selectCurrentMouseModePreset ( )
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateAccelerationCurvePresetComboBox

void MouseButtonSettingsDialog::updateAccelerationCurvePresetComboBox ( )
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateConfigHorizontalSpeed

void MouseButtonSettingsDialog::updateConfigHorizontalSpeed ( int  value)
slot
Here is the caller graph for this function:

◆ updateConfigVerticalSpeed

void MouseButtonSettingsDialog::updateConfigVerticalSpeed ( int  value)
slot
Here is the caller graph for this function:

◆ updateExtraAccelerationCurve

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

◆ updateSensitivity

void MouseButtonSettingsDialog::updateSensitivity ( double  value)
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateSpringHeight

void MouseButtonSettingsDialog::updateSpringHeight ( int  value)
slot
Here is the caller graph for this function:

◆ updateSpringWidth

void MouseButtonSettingsDialog::updateSpringWidth ( int  value)
slot
Here is the caller graph for this function:

◆ updateWindowTitleButtonName()

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

Field Documentation

◆ button

JoyButton* MouseButtonSettingsDialog::button
private

◆ helper

MouseButtonSettingsDialogHelper MouseButtonSettingsDialog::helper
private

◆ springPreviewWidget

SpringModeRegionPreview* MouseButtonSettingsDialog::springPreviewWidget
private

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