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

#include <dpadpushbutton.h>

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

 DPadPushButton (JoyDPad *dpad, bool displayNames, QWidget *parent=nullptr)
 
JoyDPadgetDPad () 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

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

JoyDPaddpad
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ DPadPushButton()

DPadPushButton::DPadPushButton ( JoyDPad dpad,
bool  displayNames,
QWidget *  parent = nullptr 
)
explicit
Here is the call graph for this function:

Member Function Documentation

◆ disableFlashes

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

◆ enableFlashes

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

◆ generateLabel()

QString DPadPushButton::generateLabel ( )
overrideprotectedvirtual

Implements FlashButtonWidget.

Here is the call graph for this function:

◆ getDPad()

JoyDPad * DPadPushButton::getDPad ( ) const

◆ showContextMenu

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

◆ tryFlash()

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

Field Documentation

◆ dpad

JoyDPad* DPadPushButton::dpad
private

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