HAL
label_button.cpp
Go to the documentation of this file.
2 
3 namespace hal
4 {
6  {
7  }
8 
9  LabelButton::LabelButton(const QString& text, QWidget* parent, Qt::WindowFlags f) : QLabel(text, parent, f)
10  {
11  }
12 
14  {
15  Q_UNUSED(event)
16 
17  Q_EMIT clicked();
18  }
19 }
void mousePressEvent(QMouseEvent *event) override
LabelButton(QWidget *parent=nullptr, Qt::WindowFlags f=Qt::WindowFlags())
Definition: label_button.cpp:5
virtual bool event(QEvent *e) override
Q_EMITQ_EMIT
typedef WindowFlags