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 2.15 0008 import QtQuick.Layouts 1.15 0009 import QtQuick.Controls 2.15 as QQC2 0010 import org.kde.kirigami 2.20 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 title: "Hello App" 0025 titleIcon: "applications-graphics" 0026 0027 actions: [ 0028 Kirigami.Action { 0029 text: "View" 0030 icon.name: "view-list-icons" 0031 Kirigami.Action { 0032 text: "action 1" 0033 } 0034 Kirigami.Action { 0035 text: "action 2" 0036 } 0037 Kirigami.Action { 0038 text: "action 3" 0039 } 0040 }, 0041 Kirigami.Action { 0042 text: "action 3" 0043 }, 0044 Kirigami.Action { 0045 text: "action 4" 0046 } 0047 ] 0048 } 0049 contextDrawer: Kirigami.ContextDrawer { 0050 id: contextDrawer 0051 } 0052 0053 pageStack.initialPage: mainPageComponent 0054 0055 Component { 0056 id: mainPageComponent 0057 Kirigami.ScrollablePage { 0058 title: "Hello" 0059 Rectangle { 0060 anchors.fill: parent 0061 } 0062 } 0063 } 0064 0065 0066 }