#include <QtGui/qsizepolicy.h> #ifndef QSIZEPOLICY_H class QSizePolicy{ /* Some contents are skipped to improve readability */ public: enum Policy{ Fixed = 0, Minimum = 1, Maximum = 4, Preferred = 5, MinimumExpanding = 3, Expanding = 7, Ignored = 13, }; /* ... */ }; #endif // QSIZEPOLICY_H