begin work on qt gui - basic search & pdf preview
This commit is contained in:
17
gui/clicklabel.h
Normal file
17
gui/clicklabel.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#ifndef CLICKLABEL_H
|
||||
#define CLICKLABEL_H
|
||||
#include <QLabel>
|
||||
|
||||
class ClickLabel : public QLabel
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
using QLabel::QLabel;
|
||||
signals:
|
||||
void clicked();
|
||||
|
||||
protected:
|
||||
void mousePressEvent(QMouseEvent *event);
|
||||
};
|
||||
|
||||
#endif // CLICKLABEL_H
|
||||
Reference in New Issue
Block a user