blob: d56e9b4e729a8cf7c2eb9a43f6aa7c69638f0351 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/*
* Copyright (c) 2011 Remko Tronçon
* Licensed under the GNU General Public License v3.
* See Documentation/Licenses/GPLv3.txt for more information.
*/
#pragma once
#include <QLabel>
namespace Swift {
class QtClickableLabel : public QLabel {
Q_OBJECT
public:
QtClickableLabel(QWidget* parent);
void mousePressEvent(QMouseEvent* event);
signals:
void clicked();
};
}
|