![]() |
Qt 6.x
The Qt SDK
|
#include "qquickapplicationwindow_p.h"#include "qquickcontentitem_p.h"#include "qquickpopup_p_p.h"#include "qquickcontrol_p_p.h"#include "qquicktextarea_p.h"#include "qquicktextfield_p.h"#include "qquicktoolbar_p.h"#include "qquicktabbar_p.h"#include "qquickdialogbuttonbox_p.h"#include "qquickdeferredexecute_p_p.h"#include "qquickdeferredpointer_p_p.h"#include <QtCore/private/qobject_p.h>#include <QtCore/qscopedvaluerollback.h>#include <QtQuick/private/qquickitem_p.h>#include <QtQuick/private/qquickitemchangelistener_p.h>#include <QtQuick/private/qquickwindowmodule_p_p.h>#include "moc_qquickapplicationwindow_p.cpp"
Include dependency graph for qquickapplicationwindow.cpp:Go to the source code of this file.
Classes | |
| class | QQuickApplicationWindowPrivate |
| class | QQuickApplicationWindowAttachedPrivate |
Functions | |
| static void | layoutItem (QQuickItem *item, qreal y, qreal width) |
| static QQuickItem * | findActiveFocusControl (QQuickWindow *window) |
Variables | |
| static QT_BEGIN_NAMESPACE const QQuickItemPrivate::ChangeTypes | ItemChanges |
| Styled top-level window with support for a header and footer. | |
|
static |
Definition at line 249 of file qquickapplicationwindow.cpp.
References item, QGraphicsItem::parentItem(), and window().
Referenced by QQuickApplicationWindowPrivate::_q_updateActiveFocus(), and QQuickApplicationWindowAttachedPrivate::activeFocusChange().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 155 of file qquickapplicationwindow.cpp.
References QQuickItemPrivate::get(), item, and QGraphicsItem::setY().
Referenced by TreeWalker::acceptLayoutItem(), QGraphicsLayoutPrivate::addChildLayoutItem(), QGraphicsLayout::addChildLayoutItem(), QGridLayoutEngine::effectiveAlignment(), QGraphicsGridLayoutEngine::findLayoutItem(), QQuickGridLayoutEngine::findLayoutItem(), QLayout::indexOf(), QQuickGridLayout::insertLayoutItems(), QQuickLinearLayout::insertLayoutItems(), QGraphicsLayout::invalidate(), QQuickGridLayoutBase::invalidate(), QQuickGridLayoutBase::itemAt(), QQuickApplicationWindowPrivate::relayout(), QGraphicsGridLayout::removeAt(), QGraphicsLinearLayout::removeAt(), removeLayoutItemFromLayout(), QGraphicsGridLayoutEngine::setStretchFactor(), and QGraphicsGridLayoutEngine::stretchFactor().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Styled top-level window with support for a header and footer.
\qmltype ApplicationWindow \inherits Window
! \instantiates 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.
\qml import QtQuick.Controls 2.12
ApplicationWindow { visible: true
menuBar: MenuBar { ... }
header: ToolBar { ... }
footer: TabBar { ... }
StackView { anchors.fill: parent } } \endqml
Definition at line 87 of file qquickapplicationwindow.cpp.