Signals | Public Member Functions | List of all members
pqLabel Class Reference

pqLabel is a subclass of QLabel that emits a clicked() signal when the label text is clicked. More...

#include <pqLabel.h>

Inherits QLabel.

Signals

void clicked ()
 

Public Member Functions

 pqLabel (const QString &text, QWidget *parent=nullptr, Qt::WindowFlags f=Qt::WindowFlags{})
 
 ~pqLabel () override
 
void mousePressEvent (QMouseEvent *event) override
 

Detailed Description

pqLabel is a subclass of QLabel that emits a clicked() signal when the label text is clicked.

Definition at line 43 of file pqLabel.h.

Constructor & Destructor Documentation

◆ pqLabel()

pqLabel::pqLabel ( const QString &  text,
QWidget *  parent = nullptr,
Qt::WindowFlags  f = Qt::WindowFlags{} 
)

◆ ~pqLabel()

pqLabel::~pqLabel ( )
override

Member Function Documentation

◆ mousePressEvent()

void pqLabel::mousePressEvent ( QMouseEvent *  event)
override

◆ clicked

void pqLabel::clicked ( )
signal

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