|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Enum
com.trolltech.qt.gui.QMainWindow.DockOption
public static final class QMainWindow.DockOption
This enum contains flags that specify the docking behavior of QMainWindow
. These options only control how dock widgets may be dropped in a QMainWindow
. They do not re-arrange the dock widgets to conform with the specified options. For this reason they should be set before any dock widgets are added to the main window. Exceptions to this are the AnimatedDocks
and VerticalTabs
options, which may be set at any time.
Field Summary | |
---|---|
static QMainWindow.DockOption |
AllowNestedDocks
Identical to the dockNestingEnabled property. |
static QMainWindow.DockOption |
AllowTabbedDocks
The user can drop one dock widget "on top" of another. |
static QMainWindow.DockOption |
AnimatedDocks
Identical to the animated property. |
static QMainWindow.DockOption |
ForceTabbedDocks
Each dock area contains a single stack of tabbed dock widgets. |
static QMainWindow.DockOption |
VerticalTabs
The two vertical dock areas on the sides of the main window show their tabs vertically. |
Method Summary | |
---|---|
static QMainWindow.DockOptions |
createQFlags(QMainWindow.DockOption[] values)
|
static QMainWindow.DockOption |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QMainWindow.DockOption |
valueOf(java.lang.String name)
|
static QMainWindow.DockOption[] |
values()
|
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final QMainWindow.DockOption AnimatedDocks
animated
property.
public static final QMainWindow.DockOption AllowNestedDocks
dockNestingEnabled
property.
public static final QMainWindow.DockOption AllowTabbedDocks
public static final QMainWindow.DockOption ForceTabbedDocks
AllowNestedDocks
has no effect.
public static final QMainWindow.DockOption VerticalTabs
AllowTabbedDocks
.
Method Detail |
---|
public static QMainWindow.DockOption[] values()
public static QMainWindow.DockOption valueOf(java.lang.String name)
public int value()
value
in interface QtEnumerator
public static QMainWindow.DockOptions createQFlags(QMainWindow.DockOption[] values)
public static QMainWindow.DockOption resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |