Mercurial > trustbridge
comparison ui/certificateitemwidget.h @ 1234:ad4fc3649ffb
(issue146) Always draw certificate item buttons as unchecked
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Wed, 24 Sep 2014 16:25:27 +0200 |
parents | 6594e8e63a25 |
children | 2a1aa9df8f11 |
comparison
equal
deleted
inserted
replaced
1233:7da9ec20eae4 | 1234:ad4fc3649ffb |
---|---|
12 * @brief Item delegate drawing custom certificate items in list views. | 12 * @brief Item delegate drawing custom certificate items in list views. |
13 * | 13 * |
14 */ | 14 */ |
15 #include <QWidget> | 15 #include <QWidget> |
16 #include <QLabel> | 16 #include <QLabel> |
17 #include <QToolButton> | |
17 | 18 |
18 #include "certificate.h" | 19 #include "certificate.h" |
19 | 20 |
20 class QToolButton; | 21 class CheckLessToolBtn : public QToolButton |
22 { | |
23 void paintEvent(QPaintEvent * pe); | |
24 }; | |
21 | 25 |
22 class CertificateItemWidget : public QWidget | 26 class CertificateItemWidget : public QWidget |
23 { | 27 { |
24 Q_OBJECT | 28 Q_OBJECT |
25 public: | 29 public: |