equal
deleted
inserted
replaced
26 #include <QVBoxLayout> |
26 #include <QVBoxLayout> |
27 #include <QLabel> |
27 #include <QLabel> |
28 |
28 |
29 class ToggleButtonWidget : public QPushButton |
29 class ToggleButtonWidget : public QPushButton |
30 { |
30 { |
31 Q_OBJECT |
31 Q_OBJECT |
32 public: |
32 public: |
33 ToggleButtonWidget(QWidget * parent, QString img); |
33 ToggleButtonWidget(QWidget * parent, QString img); |
34 ~ToggleButtonWidget(); |
34 ~ToggleButtonWidget(); |
35 private: |
35 private: |
36 QPixmap pmChecked; |
36 QPixmap pmChecked; |
37 QPixmap pmDisabled; |
37 QPixmap pmDisabled; |
38 private slots: |
38 private slots: |
39 void eventToggled(bool checked); |
39 void eventToggled(bool checked); |
40 }; |
40 }; |
41 |
41 |
42 #endif // TOGGLEBUTTONWIDGET_H |
42 #endif // TOGGLEBUTTONWIDGET_H |