source: src/gui/tabwidget.h @ 83020cd

qt5
Last change on this file since 83020cd was cb18bc7, checked in by pavelpa <pavelpa@…>, 13 years ago

new TabWidget? - contains "info" icon/button to show "AboutApplication?" dialog

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