![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include "qquickapplicationwindow_p.h"#include "qquickapplicationwindow_p_p.h"#include "qquickpopup_p_p.h"#include "qquickcontrol_p_p.h"#include "qquicktemplatesutils_p.h"#include "qquicktoolbar_p.h"#include <private/qtquicktemplates2-config_p.h>#include "qquickdeferredexecute_p_p.h"#include "qquickdeferredpointer_p_p.h"#include <QtCore/private/qobject_p.h>#include <QtCore/qscopedvaluerollback.h>#include <QtQml/private/qqmlpropertytopropertybinding_p.h>#include <QtQuick/private/qquickitem_p.h>#include <QtQuick/private/qquicksafearea_p.h>#include <QtQuick/private/qquickitemchangelistener_p.h>#include <QtQuick/private/qquickwindowmodule_p_p.h>#include "moc_qquickapplicationwindow_p.cpp"Go to the source code of this file.
Classes | |
| class | QQuickApplicationWindowAttachedPrivate |
Functions | |
| static void | layoutItem (QQuickItem *item, qreal y, qreal width) |
| static QQuickItem * | findActiveFocusControl (QQuickWindow *window) |
Variables | |
| static const QQuickItemPrivate::ChangeTypes | ItemChanges |
| Styled top-level window with support for a header and footer. | |
|
static |
Definition at line 235 of file qquickapplicationwindow.cpp.
References QQuickTemplatesUtils::isInteractiveControlType().
|
static |
Definition at line 118 of file qquickapplicationwindow.cpp.
|
static |
Styled top-level window with support for a header and footer.
\qmltype ApplicationWindow \inherits Window
! \nativetype QQuickApplicationWindow \inqmlmodule QtQuick.Controls
ApplicationWindow is a \l Window which makes it convenient to add a \l {menuBar}{menu bar}, \l header and \l footer item to the window.
You can declare ApplicationWindow as the root item of your application, and run it by using \l QQmlApplicationEngine. In this way you can control the window's properties, appearance and layout from QML.
{Window layout showing menu bar, header, content area, and footer}
\qml import QtQuick.Controls
ApplicationWindow { visible: true
menuBar: MenuBar { ... }
header: ToolBar { ... }
footer: TabBar { ... }
StackView { anchors.fill: parent } } \endqml
Definition at line 115 of file qquickapplicationwindow.cpp.