Warning, /webapps/qmlonline/qml/examples/kirigami-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.1 0008 import QtQuick.Layouts 1.2 0009 import QtQuick.Controls 2.0 as Controls 0010 import org.kde.kirigami 2.4 as Kirigami 0011 0012 Kirigami.ApplicationWindow { 0013 id: root 0014 0015 footer: Controls.ToolBar { 0016 //height: Kirigami.Units.gridUnit * 3 0017 RowLayout { 0018 Controls.ToolButton { 0019 text: "text" 0020 } 0021 } 0022 } 0023 globalDrawer: Kirigami.GlobalDrawer { 0024 title: "Hello App" 0025 titleIcon: "applications-graphics" 0026 clip: true 0027 0028 actions: [ 0029 Kirigami.Action { 0030 text: "View" 0031 iconName: "view-list-icons" 0032 Kirigami.Action { 0033 text: "action 1" 0034 } 0035 Kirigami.Action { 0036 text: "action 2" 0037 } 0038 Kirigami.Action { 0039 text: "action 3" 0040 } 0041 }, 0042 Kirigami.Action { 0043 text: "action 3" 0044 }, 0045 Kirigami.Action { 0046 text: "action 4" 0047 } 0048 ] 0049 } 0050 contextDrawer: Kirigami.ContextDrawer { 0051 id: contextDrawer 0052 } 0053 0054 pageStack.initialPage: mainPageComponent 0055 0056 Component { 0057 id: mainPageComponent 0058 Kirigami.ScrollablePage { 0059 title: "Hello" 0060 Rectangle { 0061 anchors.fill: parent 0062 } 0063 } 0064 } 0065 }