![]() |
Qt 6.x
The Qt SDK
|
#include "qquickpage_p.h"
#include "qquickpage_p_p.h"
#include "qquicktabbar_p.h"
#include "qquicktoolbar_p.h"
#include "qquickdialogbuttonbox_p.h"
#include "moc_qquickpage_p.cpp"
Go to the source code of this file.
Variables | |
static QT_BEGIN_NAMESPACE const QQuickItemPrivate::ChangeTypes | LayoutChanges |
Styled page control with support for a header and footer. | |
|
static |
Styled page control with support for a header and footer.
\qmltype Page \inherits Pane
! \instantiates QQuickPage \inqmlmodule QtQuick.Controls
Page is a container control which makes it convenient to add a \l header and \l footer item to a page.
Items declared as children of a Page are: \list
The following example snippet illustrates how to use a page-specific toolbar header and an application-wide tabbar footer.
\qml import QtQuick.Controls import QtQuick.Layouts
ApplicationWindow { visible: true
StackView { anchors.fill: parent
initialItem: Page { header: ToolBar { ... }
ColumnLayout { anchors.fill: parent ... } } }
footer: TabBar { ... } } \endqml
Definition at line 69 of file qquickpage.cpp.
Referenced by QQuickPage::~QQuickPage(), QQuickPage::setFooter(), and QQuickPage::setHeader().