AntiMicroX
Public Slots | Public Member Functions | Protected Member Functions | Properties | Private Slots | Private Attributes
JoyControlStickButtonPushButton Class Reference

#include <joycontrolstickbuttonpushbutton.h>

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

Public Slots

void disableFlashes () override
 
void enableFlashes () override
 
- Public Slots inherited from FlashButtonWidget
void refreshLabel ()
 
void toggleNameDisplay ()
 
virtual void disableFlashes ()=0
 
virtual void enableFlashes ()=0
 

Public Member Functions

 JoyControlStickButtonPushButton (JoyControlStickButton *button, bool displayNames, QWidget *parent=nullptr)
 
JoyControlStickButtongetButton ()
 
void setButton (JoyControlStickButton *button)
 
void tryFlash ()
 
- 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. More...
 
- 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)
 

Private Attributes

JoyControlStickButtonbutton
 

Additional Inherited Members

- Protected Slots inherited from FlashButtonWidget
void flash ()
 
void unflash ()
 

Constructor & Destructor Documentation

◆ JoyControlStickButtonPushButton()

JoyControlStickButtonPushButton::JoyControlStickButtonPushButton ( JoyControlStickButton button,
bool  displayNames,
QWidget *  parent = nullptr 
)
explicit
Here is the call graph for this function:

Member Function Documentation

◆ disableFlashes

void JoyControlStickButtonPushButton::disableFlashes ( )
overrideslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ enableFlashes

void JoyControlStickButtonPushButton::enableFlashes ( )
overrideslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ generateLabel()

QString JoyControlStickButtonPushButton::generateLabel ( )
overrideprotectedvirtual

Generate the string that will be displayed on the button.

Returns
Display string

Implements FlashButtonWidget.

Here is the call graph for this function:

◆ getButton()

JoyControlStickButton * JoyControlStickButtonPushButton::getButton ( )
Here is the caller graph for this function:

◆ setButton()

void JoyControlStickButtonPushButton::setButton ( JoyControlStickButton button)
Here is the call graph for this function:

◆ showContextMenu

void JoyControlStickButtonPushButton::showContextMenu ( const QPoint &  point)
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ tryFlash()

void JoyControlStickButtonPushButton::tryFlash ( )
Here is the call graph for this function:
Here is the caller graph for this function:

Field Documentation

◆ button

JoyControlStickButton* JoyControlStickButtonPushButton::button
private

Property Documentation

◆ isflashing

bool JoyControlStickButtonPushButton::isflashing
read

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