Enumerated types are implemented as a set of simple variables corresponding to the separate enumerated values.
When using an enumerated value the name of the class (or a sub-class) in which the enumerated type was defined in must be included. For example:
Qt.SolidPattern QWidget.TabFocus QFrame.TabFocus |