![]() |
AntiMicroX
|
A direction button in the SensorPushButtonGroup. More...
#include <joysensorbuttonpushbutton.h>
Public Slots | |
| void | disableFlashes () override |
| Disables highlight when the sensor axis is moved. | |
| void | enableFlashes () override |
| Enables highlight when the sensor axis is moved. | |
Public Slots inherited from FlashButtonWidget | |
| void | refreshLabel () |
| void | toggleNameDisplay () |
| virtual void | disableFlashes ()=0 |
| virtual void | enableFlashes ()=0 |
Public Member Functions | |
| JoySensorButtonPushButton (JoySensorButton *button, bool displayNames, QWidget *parent=nullptr) | |
| JoySensorButton * | getButton () |
| Get the JoySensorButton for this mapping. | |
| void | tryFlash () |
| Highlights the button when mapped button is active. | |
Public Member Functions inherited from FlashButtonWidget | |
| FlashButtonWidget (QWidget *parent=nullptr) | |
| FlashButtonWidget (bool displayNames, QWidget *parent=nullptr) | |
| bool | isButtonFlashing () |
| void | setDisplayNames (bool display) |
| bool | isDisplayingNames () |
Protected Member Functions | |
| virtual QString | generateLabel () override |
| Generate the string that will be displayed on the button. | |
Protected Member Functions inherited from FlashButtonWidget | |
| virtual void | paintEvent (QPaintEvent *event) |
| virtual void | retranslateUi () |
| bool | ifDisplayNames () |
Properties | |
| bool | isflashing |
Properties inherited from FlashButtonWidget | |
| bool | isflashing |
Private Slots | |
| void | showContextMenu (const QPoint &point) |
| Shows sensor context menu. | |
Private Attributes | |
| JoySensorButton * | m_button |
Additional Inherited Members | |
Protected Slots inherited from FlashButtonWidget | |
| void | flash () |
| void | unflash () |
A direction button in the SensorPushButtonGroup.
|
explicit |
|
overrideslot |
Disables highlight when the sensor axis is moved.
|
overrideslot |
Enables highlight when the sensor axis is moved.
|
overrideprotectedvirtual |
Generate the string that will be displayed on the button.
Implements FlashButtonWidget.
| JoySensorButton * JoySensorButtonPushButton::getButton | ( | ) |
Get the JoySensorButton for this mapping.
Shows sensor context menu.
| void JoySensorButtonPushButton::tryFlash | ( | ) |
Highlights the button when mapped button is active.
|
private |
|
read |