00001 #ifndef _QGridBox_h_
00002 #define _QGridBox_h_
00003
00004 #include <qlayout.h>
00005 #include <qwidget.h>
00006
00007 class QGridBoxLayout : public QGridLayout {
00008 public:
00009 QGridBoxLayout(QWidget * parent , Orientation, int size,
00010 const char * name = 0 );
00011 virtual void addItem ( QLayoutItem * item );
00012 virtual QLayoutIterator iterator ();
00013 private:
00015 const int size_;
00017 int nbElements_;
00019 const Orientation orientation_;
00020 };
00021
00022 class QGridBox : public QWidget {
00023 Q_OBJECT;
00024 public:
00025 QGridBox(QWidget * parent , Orientation, int size,
00026 const char * name = 0 );
00027
00028 QGridBoxLayout layout_;
00029 };
00030
00031 #endif