Changeset 14389 for trunk/qt/tricontoolbutton.h
- Timestamp:
- Dec 18, 2014, 1:30:50 AM (8 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/qt/tricontoolbutton.h
r14388 r14389 8 8 */ 9 9 10 #ifndef QTR_I conPushButton_H11 #define QTR_I conPushButton_H10 #ifndef QTR_ICON_TOOL_BUTTON_H 11 #define QTR_ICON_TOOL_BUTTON_H 12 12 13 #include <Q PushButton>13 #include <QToolButton> 14 14 15 class QIcon; 16 17 class TrIconPushButton: public QPushButton 15 class TrIconToolButton: public QToolButton 18 16 { 19 17 Q_OBJECT 20 18 21 19 public: 22 TrIconPushButton (QWidget * parent = 0); 23 TrIconPushButton (const QIcon&, QWidget * parent = 0); 24 virtual ~TrIconPushButton () {} 25 QSize sizeHint () const; 20 TrIconToolButton (QWidget * parent = nullptr); 26 21 27 22 protected: 28 v oid paintEvent (QPaintEvent * event);23 virtual void paintEvent (QPaintEvent * event); 29 24 }; 30 25 31 #endif // QTR_I conPushButton_H26 #endif // QTR_ICON_TOOL_BUTTON_H
Note: See TracChangeset
for help on using the changeset viewer.