CopyableLabel Class Reference

Public Member Functions

 CopyableLabel (const QString &text, const QColor &color, bool show=true)
 
void enterEvent (QEnterEvent *event) override
 
void leaveEvent (QEvent *event) override
 
void mousePressEvent (QMouseEvent *event) override
 

Constructor & Destructor Documentation

◆ CopyableLabel()

CopyableLabel::CopyableLabel ( const QString &  text,
const QColor &  color,
bool  show = true 
)

Member Function Documentation

◆ enterEvent()

void CopyableLabel::enterEvent ( QEnterEvent *  event)
override

◆ leaveEvent()

void CopyableLabel::leaveEvent ( QEvent *  event)
override

◆ mousePressEvent()

void CopyableLabel::mousePressEvent ( QMouseEvent *  event)
override