qt5
Rev | Line | |
---|
[cb18bc7] | 1 | #ifndef TABWIDGET_H |
---|
| 2 | #define TABWIDGET_H |
---|
| 3 | |
---|
| 4 | #include <QTabWidget> |
---|
| 5 | |
---|
| 6 | class TabWidget : public QTabWidget |
---|
| 7 | { |
---|
| 8 | Q_OBJECT |
---|
| 9 | public: |
---|
| 10 | TabWidget(QWidget *aParent = NULL); |
---|
| 11 | ~TabWidget() {} |
---|
| 12 | protected: |
---|
| 13 | void paintEvent(QPaintEvent *event); |
---|
| 14 | void mousePressEvent(QMouseEvent *event); |
---|
| 15 | void mouseReleaseEvent(QMouseEvent *event); |
---|
| 16 | signals: |
---|
| 17 | void infoIconClicked(); |
---|
| 18 | private: |
---|
| 19 | QPoint mPressPoint; |
---|
| 20 | QImage mInfoImage; |
---|
| 21 | }; |
---|
| 22 | |
---|
| 23 | #endif /* TABWIDGET_H */ |
---|
| 24 | |
---|
Note: See
TracBrowser
for help on using the repository browser.