18 lines
304 B
C
18 lines
304 B
C
|
#ifndef LABELWITHMENU_H
|
||
|
#define LABELWITHMENU_H
|
||
|
|
||
|
#include <QLabel>
|
||
|
|
||
|
class LabelWithMenu : public QLabel
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
explicit LabelWithMenu(QWidget* parent = nullptr);
|
||
|
|
||
|
// QWidget interface
|
||
|
protected:
|
||
|
void mousePressEvent(QMouseEvent *event) override;
|
||
|
};
|
||
|
|
||
|
#endif // LABELWITHMENU_H
|