|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Enum
com.trolltech.qt.core.Qt.WindowType
public static final class Qt.WindowType
This enum type is used to specify various window-system properties for the widget. They are fairly unusual but necessary in a few cases. Some of these flags depend on whether the underlying window manager supports them. The main types are There are also a number of flags which you can use to customize the appearance of top-level windows. These have no effect on other windows: The CustomizeWindowHint flag is used to enable customization of the window controls. This flag must be set to allow the WindowTitleHint, WindowSystemMenuHint, WindowMinimizeButtonHint and WindowMaximizeButtonHint flags to be changed. Obsolete flags:
QWidget::windowFlags
, and Window Flags Example.
Field Summary | |
---|---|
static Qt.WindowType |
CustomizeWindowHint
Turns off the default window title hints. |
static Qt.WindowType |
Desktop
Indicates that this widget is the desktop. |
static Qt.WindowType |
Dialog
Indicates that the widget is a window that should be decorated as a dialog (i.e., typically no maximize or minimize buttons in the title bar). |
static Qt.WindowType |
Drawer
Indicates that the widget is a Macintosh drawer. |
static Qt.WindowType |
FramelessWindowHint
Produces a borderless window. |
static Qt.WindowType |
MSWindowsFixedSizeDialogHint
Gives the window a thin dialog border on Windows. |
static Qt.WindowType |
MSWindowsOwnDC
Gives the window its own display context on Windows. |
static Qt.WindowType |
Popup
Indicates that the widget is a pop-up top-level window, i.e. |
static Qt.WindowType |
Sheet
Indicates that the widget is a Macintosh sheet. |
static Qt.WindowType |
SplashScreen
Indicates that the window is a splash screen. |
static Qt.WindowType |
SubWindow
Indicates that this widget is a sub-window, such as a QMdiSubWindow widget. |
static Qt.WindowType |
Tool
Indicates that the widget is a tool window. |
static Qt.WindowType |
ToolTip
Indicates that the widget is a tooltip. |
static Qt.WindowType |
Widget
This is the default type for QWidget . |
static Qt.WindowType |
Window
|
static Qt.WindowType |
WindowCancelButtonHint
Adds a Cancel button to the window decoration of a dialog. |
static Qt.WindowType |
WindowContextHelpButtonHint
Adds a context help button to dialogs. |
static Qt.WindowType |
WindowMaximizeButtonHint
Adds a maximize button. |
static Qt.WindowType |
WindowMinimizeButtonHint
Adds a minimize button. |
static Qt.WindowType |
WindowMinMaxButtonsHint
Adds a minimize and a maximize button. |
static Qt.WindowType |
WindowOkButtonHint
Adds an OK button to the window decoration of a dialog. |
static Qt.WindowType |
WindowShadeButtonHint
Value: WindowShadeButtonHint |
static Qt.WindowType |
WindowStaysOnTopHint
Informs the window system that the window should stay on top of all other windows. |
static Qt.WindowType |
WindowSystemMenuHint
Adds a window system menu, and possibly a close button. |
static Qt.WindowType |
WindowTitleHint
Gives the window a title bar. |
static Qt.WindowType |
WindowType_Mask
A mask for extracting the window type part of the window flags. |
static Qt.WindowType |
X11BypassWindowManagerHint
Bypass the window manager completely. |
Method Summary | |
---|---|
static Qt.WindowFlags |
createQFlags(Qt.WindowType[] values)
|
static Qt.WindowType |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static Qt.WindowType |
valueOf(java.lang.String name)
|
static Qt.WindowType[] |
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 Qt.WindowType Widget
QWidget
. Widgets of this type are child widgets if they have a parent, and independent windows if they have no parent. See also Qt::Window
and Qt::SubWindow
.
public static final Qt.WindowType Window
public static final Qt.WindowType Dialog
QDialog
. If you want to use it as a modal dialog, it should be launched from another window, or have a parent and used with the QWidget::windowModality
property. If you make it modal, the dialog will prevent other top-level windows in the application from getting any input. We refer to a top-level window that has a parent as a secondary window.
public static final Qt.WindowType Sheet
public static final Qt.WindowType Drawer
public static final Qt.WindowType Popup
public static final Qt.WindowType Tool
Qt::WindowStaysOnTopHint
as well. If the window system supports it, a tool window can be decorated with a somewhat lighter frame. It can also be combined with Qt::FramelessWindowHint
.
public static final Qt.WindowType ToolTip
tooltips
.
public static final Qt.WindowType SplashScreen
QSplashScreen
.
public static final Qt.WindowType Desktop
QDesktopWidget
.
public static final Qt.WindowType SubWindow
QMdiSubWindow
widget.
public static final Qt.WindowType WindowType_Mask
public static final Qt.WindowType MSWindowsFixedSizeDialogHint
public static final Qt.WindowType MSWindowsOwnDC
public static final Qt.WindowType X11BypassWindowManagerHint
QWidget::activateWindow()
manually).
public static final Qt.WindowType FramelessWindowHint
public static final Qt.WindowType WindowTitleHint
public static final Qt.WindowType WindowSystemMenuHint
public static final Qt.WindowType WindowMinimizeButtonHint
Qt::WindowSystemMenuHint
for it to work.
public static final Qt.WindowType WindowMaximizeButtonHint
Qt::WindowSystemMenuHint
for it to work.
public static final Qt.WindowType WindowMinMaxButtonsHint
Qt::WindowSystemMenuHint
for it to work.
public static final Qt.WindowType WindowContextHelpButtonHint
Qt::WindowSystemMenuHint
for it to work.
public static final Qt.WindowType WindowShadeButtonHint
public static final Qt.WindowType WindowStaysOnTopHint
Qt::X11BypassWindowManagerHint
for this flag to work correctly.
public static final Qt.WindowType WindowOkButtonHint
public static final Qt.WindowType WindowCancelButtonHint
public static final Qt.WindowType CustomizeWindowHint
Method Detail |
---|
public static Qt.WindowType[] values()
public static Qt.WindowType valueOf(java.lang.String name)
public int value()
value
in interface QtEnumerator
public static Qt.WindowFlags createQFlags(Qt.WindowType[] values)
public static Qt.WindowType resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |