2018-08-12 16:45:39 +02:00
|
|
|
#ifndef CLICKLABEL_H
|
|
|
|
#define CLICKLABEL_H
|
|
|
|
#include <QLabel>
|
|
|
|
|
|
|
|
class ClickLabel : public QLabel
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
using QLabel::QLabel;
|
|
|
|
signals:
|
2019-04-30 12:40:28 +02:00
|
|
|
void leftClick();
|
2018-08-12 16:45:39 +02:00
|
|
|
|
|
|
|
protected:
|
|
|
|
void mousePressEvent(QMouseEvent *event);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // CLICKLABEL_H
|