Warning, /frameworks/kirigami/examples/staticcmake/src/main.qml is written in an unsupported language. File is not indexed.

0001 /*
0002  *  SPDX-FileCopyrightText: 2017 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 org.kde.kirigami as Kirigami
0010 
0011 Kirigami.ApplicationWindow {
0012     visible: true
0013     title: qsTr("Hello World")
0014 
0015     pageStack.initialPage: Page1 {}
0016 
0017     globalDrawer: Kirigami.GlobalDrawer {
0018         actions: [
0019             Kirigami.Action {
0020                 text: "View"
0021                 icon.name: "view-list-icons"
0022                 Kirigami.Action {
0023                     text: "action 1"
0024                 }
0025                 Kirigami.Action {
0026                     text: "action 2"
0027                 }
0028                 Kirigami.Action {
0029                     text: "action 3"
0030                 }
0031             },
0032             Kirigami.Action {
0033                 text: "action 3"
0034             },
0035             Kirigami.Action {
0036                 text: "action 4"
0037             }
0038         ]
0039     }
0040 }