6d73408605c27c5bafdf2a74e22fdad205cf54cd
[toast/confclerk.git] / src / gui / tabwidget.h
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