The configuration dialog for a JoySensor itself.
More...
#include <joysensoreditdialog.h>
The configuration dialog for a JoySensor itself.
◆ JoySensorEditDialog()
JoySensorEditDialog::JoySensorEditDialog |
( |
JoySensor * |
sensor, |
|
|
QWidget * |
parent = nullptr |
|
) |
| |
|
explicit |
◆ ~JoySensorEditDialog()
JoySensorEditDialog::~JoySensorEditDialog |
( |
| ) |
|
◆ enableMouseSettingButton
void JoySensorEditDialog::enableMouseSettingButton |
( |
| ) |
|
|
privateslot |
◆ implementPresets
void JoySensorEditDialog::implementPresets |
( |
int |
index | ) |
|
|
privateslot |
Preset combo box event handler. Applies selected preset to underlying sensor.
◆ openMouseSettingsDialog
void JoySensorEditDialog::openMouseSettingsDialog |
( |
| ) |
|
|
privateslot |
Opens sensor mouse settings dialog.
◆ setSensorDelay
void JoySensorEditDialog::setSensorDelay |
( |
double |
value | ) |
|
|
privateslot |
Sensor delay change event handler Converts the double value from the SpinBox to int and pass it to JoySensor.
◆ updateSensorDelaySlider
void JoySensorEditDialog::updateSensorDelaySlider |
( |
double |
value | ) |
|
|
privateslot |
Update QSlider value based on value from QDoubleSpinBox.
- Parameters
-
Value | from QDoubleSpinBox. |
◆ updateSensorDelaySpinBox
void JoySensorEditDialog::updateSensorDelaySpinBox |
( |
int |
value | ) |
|
|
privateslot |
Update QDoubleSpinBox value based on updated sensor delay value.
- Parameters
-
◆ updateSensorStats
void JoySensorEditDialog::updateSensorStats |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z |
|
) |
| |
|
privateslot |
Updates the numerical sensor values on the screen.
◆ updateWindowTitleSensorName
void JoySensorEditDialog::updateWindowTitleSensorName |
( |
| ) |
|
|
privateslot |
Shows the sensor name in dialog title.
◆ m_keypad_unlocked
bool JoySensorEditDialog::m_keypad_unlocked |
|
private |
◆ m_preset
◆ m_sensor
◆ m_ui
Ui::JoySensorEditDialog* JoySensorEditDialog::m_ui |
|
private |
The documentation for this class was generated from the following files: