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 GRIDWIDGET_HPP 00012 #define GRIDWIDGET_HPP 00013 00014 #include "ui_gridwidget.h" 00015 00016 namespace Gui 00017 { 00018 class Tab; 00019 00024 class GridWidget : public QWidget, private Ui::GridWidget 00025 { 00026 Q_OBJECT 00027 public: 00028 explicit GridWidget(Tab *tab, QWidget *parent = 0); 00029 QHBoxLayout *getColumnsLayout(); 00030 QVBoxLayout *getColumn(int column); 00031 Tab* getTab() const; 00032 00033 protected: 00034 void changeEvent(QEvent *e); 00035 Tab *tab; 00036 }; 00037 } 00038 00039 #endif // GRIDWIDGET_HPP