Warning, /frameworks/kirigami/examples/simpleexamples/footer.qml is written in an unsupported language. File is not indexed.
0001 /*
0002 * SPDX-FileCopyrightText: 2016 Marco Martin <mart@kde.org>
0003 *
0004 * SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006
0007 import QtQuick
0008 import QtQuick.Layouts
0009 import QtQuick.Controls as QQC2
0010 import org.kde.kirigami as Kirigami
0011
0012 Kirigami.ApplicationWindow {
0013 id: root
0014
0015 footer: QQC2.ToolBar {
0016 //height: Kirigami.Units.gridUnit * 3
0017 RowLayout {
0018 QQC2.ToolButton {
0019 text: "text"
0020 }
0021 }
0022 }
0023 globalDrawer: Kirigami.GlobalDrawer {
0024 actions: [
0025 Kirigami.Action {
0026 text: "View"
0027 icon.name: "view-list-icons"
0028 Kirigami.Action {
0029 text: "action 1"
0030 }
0031 Kirigami.Action {
0032 text: "action 2"
0033 }
0034 Kirigami.Action {
0035 text: "action 3"
0036 }
0037 },
0038 Kirigami.Action {
0039 text: "action 3"
0040 },
0041 Kirigami.Action {
0042 text: "action 4"
0043 }
0044 ]
0045 }
0046 contextDrawer: Kirigami.ContextDrawer {
0047 id: contextDrawer
0048 }
0049
0050 pageStack.initialPage: mainPageComponent
0051
0052 Component {
0053 id: mainPageComponent
0054 Kirigami.ScrollablePage {
0055 title: "Hello"
0056 Rectangle {
0057 anchors.fill: parent
0058 }
0059 }
0060 }
0061
0062
0063 }