#include <QtGui/qboxlayout.h> #ifndef QBOXLAYOUT_H class QBoxLayout: public QLayout{ /* Some contents are skipped to improve readability */ public: enum Direction{ LeftToRight = 0, RightToLeft = 1, TopToBottom = 2, BottomToTop = 3, Down = 2, Up = 3, }; /* ... */ }; #endif // QBOXLAYOUT_H