ClickableStateLabel Class Reference

Public Member Functions

 ClickableStateLabel (QWidget *parent, const QString &name, const QString &altName)
 
bool getState ()
 
void setDisplayState (bool state)
 
void setAlternateTransparency (QPalette::ColorRole colorRole, int alpha, bool state)
 
- Public Member Functions inherited from ClickableLabel
 ClickableLabel (QWidget *parent=nullptr, const QString &name="")
 
void passThroughMousePressEvent (bool enable)
 

Protected Member Functions

void paintEvent (QPaintEvent *event) override
 
- Protected Member Functions inherited from ClickableLabel
void mousePressEvent (QMouseEvent *event) override
 
void mouseReleaseEvent (QMouseEvent *event) override
 

Additional Inherited Members

- Signals inherited from ClickableLabel
void clicked ()
 

Constructor & Destructor Documentation

◆ ClickableStateLabel()

ClickableStateLabel::ClickableStateLabel ( QWidget *  parent,
const QString &  name,
const QString &  altName 
)
inline

Member Function Documentation

◆ getState()

bool ClickableStateLabel::getState ( )
inline

◆ paintEvent()

void ClickableStateLabel::paintEvent ( QPaintEvent *  event)
inlineoverrideprotected

◆ setAlternateTransparency()

void ClickableStateLabel::setAlternateTransparency ( QPalette::ColorRole  colorRole,
int  alpha,
bool  state 
)
inline

◆ setDisplayState()

void ClickableStateLabel::setDisplayState ( bool  state)
inline

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