#include <QtGui/qstyleoption.h> #ifndef QSTYLEOPTION_H class QStyleOptionViewItem: public QStyleOption{ /* Some contents are skipped to improve readability */ public: enum Position{ /* ... */ Bottom = 3, /* ... */ }; /* ... */ }; #endif // QSTYLEOPTION_H