A direction button in the SensorPushButtonGroup.
More...
#include <joysensorbuttonpushbutton.h>
A direction button in the SensorPushButtonGroup.
◆ JoySensorButtonPushButton()
JoySensorButtonPushButton::JoySensorButtonPushButton |
( |
JoySensorButton * |
button, |
|
|
bool |
displayNames, |
|
|
QWidget * |
parent = nullptr |
|
) |
| |
|
explicit |
◆ disableFlashes
void JoySensorButtonPushButton::disableFlashes |
( |
| ) |
|
|
overrideslot |
Disables highlight when the sensor axis is moved.
◆ enableFlashes
void JoySensorButtonPushButton::enableFlashes |
( |
| ) |
|
|
overrideslot |
Enables highlight when the sensor axis is moved.
◆ generateLabel()
QString JoySensorButtonPushButton::generateLabel |
( |
| ) |
|
|
overrideprotectedvirtual |
Generate the string that will be displayed on the button.
- Returns
- Display string
Implements FlashButtonWidget.
◆ getButton()
◆ showContextMenu
void JoySensorButtonPushButton::showContextMenu |
( |
const QPoint & |
point | ) |
|
|
privateslot |
Shows sensor context menu.
◆ tryFlash()
void JoySensorButtonPushButton::tryFlash |
( |
| ) |
|
Highlights the button when mapped button is active.
◆ m_button
◆ isflashing
bool JoySensorButtonPushButton::isflashing |
|
read |
The documentation for this class was generated from the following files: