![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Public Types | |
| enum | Flags { ForceChild = 0x1 , ForceTopLevel = 0x2 , ForceChild = 0x1 , ForceTopLevel = 0x2 } |
| enum | Flags { ForceChild = 0x1 , ForceTopLevel = 0x2 , ForceChild = 0x1 , ForceTopLevel = 0x2 } |
| using | WindowData = QWindowsWindowData |
| using | WindowData = QWindowsWindowData |
Public Member Functions | |
| void | fromWindow (const QWindow *w, const Qt::WindowFlags flags, unsigned creationFlags=0) |
| WindowData | create (const QWindow *w, const WindowData &data, QString title) const |
| void | applyWindowFlags (HWND hwnd) const |
| void | initialize (const QWindow *w, HWND h, bool frameChange, qreal opacityLevel) const |
| void | fromWindow (const QWindow *w, const Qt::WindowFlags flags, unsigned creationFlags=0) |
| WindowData | create (const QWindow *w, const WindowData &data, QString title) const |
| void | applyWindowFlags (HWND hwnd) const |
| void | initialize (const QWindow *w, HWND h, bool frameChange, qreal opacityLevel) const |
Public Attributes | |
| Qt::WindowFlags | flags |
| HWND | parentHandle = nullptr |
| Qt::WindowType | type = Qt::Widget |
| unsigned | style = 0 |
| unsigned | exStyle = 0 |
| bool | topLevel = false |
| bool | popup = false |
| bool | dialog = false |
| bool | tool = false |
| bool | embedded = false |
| bool | hasAlpha = false |
Window creation code.
This struct gathers all information required to create a window. Window creation is split in 3 steps:
\list
The reason for this split is to also enable changing the QWindowFlags by calling:
\list
Contains the window creation code formerly in qwidget_win.cpp.
Definition at line 587 of file qwindowswindow.cpp.
Definition at line 589 of file qwindowswindow.cpp.
Definition at line 589 of file qwindowswindow.cpp.
| Enumerator | |
|---|---|
| ForceChild | |
| ForceTopLevel | |
| ForceChild | |
| ForceTopLevel | |
Definition at line 590 of file qwindowswindow.cpp.
| Enumerator | |
|---|---|
| ForceChild | |
| ForceTopLevel | |
| ForceChild | |
| ForceTopLevel | |
Definition at line 590 of file qwindowswindow.cpp.
|
inline |
Definition at line 978 of file qwindowswindow.cpp.
References exStyle.
|
inline |
|
inline |
Definition at line 880 of file qwindowswindow.cpp.
References QWindowsWindowData::embedded, embedded, exStyle, QWindowsWindowData::hasFrame, QWindowsContext::instance(), style, and topLevel.
|
inline |
| void WindowCreationData::fromWindow | ( | const QWindow * | w, |
| const Qt::WindowFlags | flags, | ||
| unsigned | creationFlags = 0 ) |
Definition at line 725 of file qwindowswindow.cpp.
References dialog, embedded, ForceChild, ForceTopLevel, popup, style, tool, and topLevel.
| void WindowCreationData::fromWindow | ( | const QWindow * | w, |
| const Qt::WindowFlags | flags, | ||
| unsigned | creationFlags = 0 ) |
| void WindowCreationData::initialize | ( | const QWindow * | w, |
| HWND | h, | ||
| bool | frameChange, | ||
| qreal | opacityLevel ) const |
Definition at line 997 of file qwindowswindow.cpp.
References topLevel, and windowIsAccelerated().
| void WindowCreationData::initialize | ( | const QWindow * | w, |
| HWND | h, | ||
| bool | frameChange, | ||
| qreal | opacityLevel ) const |
| bool WindowCreationData::dialog = false |
Definition at line 604 of file qwindowswindow.cpp.
Referenced by fromWindow().
| bool WindowCreationData::embedded = false |
Definition at line 606 of file qwindowswindow.cpp.
Referenced by create(), and fromWindow().
| unsigned WindowCreationData::exStyle = 0 |
Definition at line 601 of file qwindowswindow.cpp.
Referenced by applyWindowFlags(), and create().
| Qt::WindowFlags WindowCreationData::flags |
Definition at line 597 of file qwindowswindow.cpp.
| bool WindowCreationData::hasAlpha = false |
Definition at line 607 of file qwindowswindow.cpp.
| HWND WindowCreationData::parentHandle = nullptr |
Definition at line 598 of file qwindowswindow.cpp.
| bool WindowCreationData::popup = false |
Definition at line 603 of file qwindowswindow.cpp.
Referenced by fromWindow().
| unsigned WindowCreationData::style = 0 |
Definition at line 600 of file qwindowswindow.cpp.
Referenced by create(), and fromWindow().
| bool WindowCreationData::tool = false |
Definition at line 605 of file qwindowswindow.cpp.
Referenced by fromWindow().
| bool WindowCreationData::topLevel = false |
Definition at line 602 of file qwindowswindow.cpp.
Referenced by create(), fromWindow(), initialize(), and operator<<().
| Qt::WindowType WindowCreationData::type = Qt::Widget |
Definition at line 599 of file qwindowswindow.cpp.