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

Mouse settings dialog specialized for sensors. More...

#include <mousesensorsettingsdialog.h>

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

Public Slots

void updateConfigHorizontalSpeed (int value)
 Horizontal mouse speed change UI event handler Updates horizontal mouse speed on all buttons of the associated sensor. More...
 
void updateConfigVerticalSpeed (int value)
 Vertical mouse speed change UI event handler Updates vertical mouse speed on all buttons of the associated sensor. More...
 
void updateWheelSpeedHorizontalSpeed (int value)
 Horizontal mouse wheel speed change UI event handler Updates horizontal mouse wheel speed on all buttons of the associated sensor. More...
 
void updateWheelSpeedVerticalSpeed (int value)
 Vertical mouse wheel speed change UI event handler Updates vertical mouse wheel speed on all buttons of the associated sensor. More...
 
virtual void changeMouseMode (int index)
 Not used for sensors but necessary to implement because it is an abstract function in the parent class. More...
 
virtual void changeMouseCurve (int index)
 Not used for sensors but necessary to implement because it is an abstract function in the parent class. More...
 
- 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

 MouseSensorSettingsDialog (JoySensor *sensor, QWidget *parent=0)
 
JoySensorgetSensor () const
 Gets the underlying JoySensor object. More...
 
- Public Member Functions inherited from MouseSettingsDialog
 MouseSettingsDialog (QWidget *parent=nullptr)
 
 ~MouseSettingsDialog ()
 

Protected Member Functions

void calculateMouseSpeedPreset ()
 Get the maximum mouse speed used by the buttons of the associated sensor and set the UI values to it. More...
 
void calculateWheelSpeedPreset ()
 Get the maximum mouse wheel speed used by the buttons of the associated sensor and set the UI values to it. More...
 
void updateWindowTitleSensorName ()
 Shows the sensor name in dialog title. More...
 
- 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 Attributes

JoySensorm_sensor
 

Additional Inherited Members

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

Detailed Description

Mouse settings dialog specialized for sensors.

Constructor & Destructor Documentation

◆ MouseSensorSettingsDialog()

MouseSensorSettingsDialog::MouseSensorSettingsDialog ( JoySensor sensor,
QWidget *  parent = 0 
)
explicit
Here is the call graph for this function:

Member Function Documentation

◆ calculateMouseSpeedPreset()

void MouseSensorSettingsDialog::calculateMouseSpeedPreset ( )
protected

Get the maximum mouse speed used by the buttons of the associated sensor and set the UI values to it.

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

◆ calculateWheelSpeedPreset()

void MouseSensorSettingsDialog::calculateWheelSpeedPreset ( )
protected

Get the maximum mouse wheel speed used by the buttons of the associated sensor and set the UI values to it.

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

◆ changeMouseCurve

void MouseSensorSettingsDialog::changeMouseCurve ( int  index)
virtualslot

Not used for sensors but necessary to implement because it is an abstract function in the parent class.

◆ changeMouseMode

void MouseSensorSettingsDialog::changeMouseMode ( int  index)
virtualslot

Not used for sensors but necessary to implement because it is an abstract function in the parent class.

◆ getSensor()

JoySensor * MouseSensorSettingsDialog::getSensor ( ) const

Gets the underlying JoySensor object.

◆ updateConfigHorizontalSpeed

void MouseSensorSettingsDialog::updateConfigHorizontalSpeed ( int  value)
slot

Horizontal mouse speed change UI event handler Updates horizontal mouse speed on all buttons of the associated sensor.

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

◆ updateConfigVerticalSpeed

void MouseSensorSettingsDialog::updateConfigVerticalSpeed ( int  value)
slot

Vertical mouse speed change UI event handler Updates vertical mouse speed on all buttons of the associated sensor.

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

◆ updateWheelSpeedHorizontalSpeed

void MouseSensorSettingsDialog::updateWheelSpeedHorizontalSpeed ( int  value)
slot

Horizontal mouse wheel speed change UI event handler Updates horizontal mouse wheel speed on all buttons of the associated sensor.

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

◆ updateWheelSpeedVerticalSpeed

void MouseSensorSettingsDialog::updateWheelSpeedVerticalSpeed ( int  value)
slot

Vertical mouse wheel speed change UI event handler Updates vertical mouse wheel speed on all buttons of the associated sensor.

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

◆ updateWindowTitleSensorName()

void MouseSensorSettingsDialog::updateWindowTitleSensorName ( )
protected

Shows the sensor name in dialog title.

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

Field Documentation

◆ m_sensor

JoySensor* MouseSensorSettingsDialog::m_sensor
private

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