QStyleOptionToolBoxV2 Class Reference |
Constant | Value | Description |
---|---|---|
QStyleOptionToolBoxV2.NotAdjacent | 0 | The tab is not adjacent to a selected tab (or is the selected tab). |
QStyleOptionToolBoxV2.NextIsSelected | 1 | The next tab (typically the tab on the right) is selected. |
QStyleOptionToolBoxV2.PreviousIsSelected | 2 | The previous tab (typically the tab on the left) is selected. |
See also selectedPosition.
This enum holds the version of this style option
Constant | Value | Description |
---|---|---|
QStyleOptionToolBoxV2.Version | 2 | 2 |
This enum describes tab positions relative to other tabs.
Constant | Value | Description |
---|---|---|
QStyleOptionToolBoxV2.Beginning | 0 | The tab is the first (i.e., top-most) tab in the toolbox. |
QStyleOptionToolBoxV2.Middle | 1 | The tab is placed in the middle of the toolbox. |
QStyleOptionToolBoxV2.End | 2 | The tab is placed at the bottom of the toolbox. |
QStyleOptionToolBoxV2.OnlyOneTab | 3 | There is only one tab in the toolbox. |
Contsructs a QStyleOptionToolBoxV2 object.
Constructs a QStyleOptionToolBoxV2 copy of the other style option.
Constructs a QStyleOptionToolBoxV2 copy of the other style option which can be either of the QStyleOptionToolBoxV2 or QStyleOptionToolBox types.
If the other style option's version is 1, the new style option's position value is set to QStyleOptionToolBoxV2.Beginning and selectedPosition is set to QStyleOptionToolBoxV2.NotAdjacent. If its version is 2, the position selectedPosition values are simply copied to the new style option.
See also version.
This variable holds the position of the selected tab in relation to this tab.
The default value is NotAdjacent, i.e. the tab is not adjacent to a selected tab nor is it the selected tab.
PyQt 4.4.4 for Windows | Copyright © Riverbank Computing Ltd and Trolltech AS 2008 | Qt 4.4.2 |