defuze.me
Client
|
00001 /************************************************************************** 00002 ** defuze.me Epitech Innovative Project 00003 ** 00004 ** Copyright 2010-2011 00005 ** Athena Calmettes - Jocelyn De La Rosa - Francois Gaillard 00006 ** Adrien Jarthon - Alexandre Moore - Luc Peres - Arnaud Sellier 00007 ** 00008 ** All rights reserved. 00009 **************************************************************************/ 00010 00011 #ifndef TABWIDGET_HPP 00012 #define TABWIDGET_HPP 00013 00014 #include <QtGui/QTabWidget> 00015 00016 namespace Gui 00017 { 00018 class CornerWidget; 00019 class MainWindow; 00020 class GuiCore; 00021 00026 class TabWidget : public QTabWidget 00027 { 00028 public: 00029 TabWidget(GuiCore *guiCore, MainWindow *parent = 0); 00030 void setDrawBase(bool enable); 00031 00032 protected: 00033 void paintEvent(QPaintEvent *); 00034 00035 private: 00036 CornerWidget *menuWidget; 00037 MainWindow *mainWindow; 00038 GuiCore *guiCore; 00039 }; 00040 } 00041 00042 #endif // TABWIDGET_HPP