AntiMicroX
Public Slots | Public Member Functions | Protected Slots | Protected Member Functions | Properties | Private Attributes
FlashButtonWidget Class Referenceabstract

#include <flashbuttonwidget.h>

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

Public Slots

void refreshLabel ()
 
void toggleNameDisplay ()
 
virtual void disableFlashes ()=0
 
virtual void enableFlashes ()=0
 

Public Member Functions

 FlashButtonWidget (QWidget *parent=nullptr)
 
 FlashButtonWidget (bool displayNames, QWidget *parent=nullptr)
 
bool isButtonFlashing ()
 
void setDisplayNames (bool display)
 
bool isDisplayingNames ()
 

Protected Slots

void flash ()
 
void unflash ()
 

Protected Member Functions

virtual void paintEvent (QPaintEvent *event)
 
virtual QString generateLabel ()=0
 
virtual void retranslateUi ()
 
bool ifDisplayNames ()
 

Properties

bool isflashing
 

Private Attributes

bool m_displayNames
 
bool leftAlignText
 

Constructor & Destructor Documentation

◆ FlashButtonWidget() [1/2]

FlashButtonWidget::FlashButtonWidget ( QWidget *  parent = nullptr)
explicit

◆ FlashButtonWidget() [2/2]

FlashButtonWidget::FlashButtonWidget ( bool  displayNames,
QWidget *  parent = nullptr 
)
explicit

Member Function Documentation

◆ disableFlashes

virtual void FlashButtonWidget::disableFlashes ( )
pure virtualslot

◆ enableFlashes

virtual void FlashButtonWidget::enableFlashes ( )
pure virtualslot

◆ flash

void FlashButtonWidget::flash ( )
protectedslot
Here is the caller graph for this function:

◆ generateLabel()

virtual QString FlashButtonWidget::generateLabel ( )
protectedpure virtual

Implemented in JoyControlStickButtonPushButton, JoySensorButtonPushButton, DPadPushButton, JoyAxisWidget, JoyButtonWidget, JoyControlStickPushButton, JoySensorPushButton, and JoyDPadButtonWidget.

Here is the caller graph for this function:

◆ ifDisplayNames()

bool FlashButtonWidget::ifDisplayNames ( )
protected
Here is the caller graph for this function:

◆ isButtonFlashing()

bool FlashButtonWidget::isButtonFlashing ( )

◆ isDisplayingNames()

bool FlashButtonWidget::isDisplayingNames ( )

◆ paintEvent()

void FlashButtonWidget::paintEvent ( QPaintEvent *  event)
protectedvirtual

◆ refreshLabel

void FlashButtonWidget::refreshLabel ( )
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ retranslateUi()

void FlashButtonWidget::retranslateUi ( )
protectedvirtual
Here is the call graph for this function:

◆ setDisplayNames()

void FlashButtonWidget::setDisplayNames ( bool  display)

◆ toggleNameDisplay

void FlashButtonWidget::toggleNameDisplay ( )
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ unflash

void FlashButtonWidget::unflash ( )
protectedslot
Here is the caller graph for this function:

Field Documentation

◆ leftAlignText

bool FlashButtonWidget::leftAlignText
private

◆ m_displayNames

bool FlashButtonWidget::m_displayNames
private

Property Documentation

◆ isflashing

bool FlashButtonWidget::isflashing
read

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