AntiMicroX
Public Slots | Public Member Functions | Protected Member Functions | Private Slots | Private Attributes
JoyButtonWidget Class Reference

#include <joybuttonwidget.h>

Inheritance diagram for JoyButtonWidget:
[legend]
Collaboration diagram for JoyButtonWidget:
[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

 JoyButtonWidget (JoyButton *button, bool displayNames, QWidget *parent=0)
 
JoyButtongetJoyButton () const
 
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
 
- Protected Member Functions inherited from FlashButtonWidget
virtual void paintEvent (QPaintEvent *event)
 
virtual void retranslateUi ()
 
bool ifDisplayNames ()
 

Private Slots

void showContextMenu (const QPoint &point)
 

Private Attributes

JoyButtonm_button
 

Additional Inherited Members

- Protected Slots inherited from FlashButtonWidget
void flash ()
 
void unflash ()
 
- Properties inherited from FlashButtonWidget
bool isflashing
 

Constructor & Destructor Documentation

◆ JoyButtonWidget()

JoyButtonWidget::JoyButtonWidget ( JoyButton button,
bool  displayNames,
QWidget *  parent = 0 
)
explicit
Here is the call graph for this function:

Member Function Documentation

◆ disableFlashes

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

◆ enableFlashes

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

◆ generateLabel()

QString JoyButtonWidget::generateLabel ( )
overrideprotectedvirtual

Implements FlashButtonWidget.

Reimplemented in JoyDPadButtonWidget.

Here is the call graph for this function:

◆ getJoyButton()

JoyButton * JoyButtonWidget::getJoyButton ( ) const
Here is the caller graph for this function:

◆ showContextMenu

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

◆ tryFlash()

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

Field Documentation

◆ m_button

JoyButton* JoyButtonWidget::m_button
private

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