Warning, /plasma/libplasma/examples/applets/widgetgallery/contents/ui/main.qml is written in an unsupported language. File is not indexed.

0001 /*
0002     SPDX-FileCopyrightText: 2011 Daker Fernandes Pinheiro <dakerfp@gmail.com>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 import QtQuick
0008 import org.kde.plasma.plasmoid
0009 import QtQuick.Layouts
0010 import org.kde.plasma.components
0011 
0012 Item {
0013     Plasmoid.switchWidth: 300
0014     Plasmoid.switchHeight: 400
0015 
0016     Plasmoid.fullRepresentation: Item {
0017         Layout.minimumWidth: 300
0018         Layout.minimumHeight: 400
0019 
0020         ToolBar {
0021             id: toolBar
0022             z: 10
0023             anchors {
0024                 top: parent.top
0025                 left: parent.left
0026                 right: parent.right
0027             }
0028         }
0029 
0030         PageStack {
0031             id: pageStack
0032             toolBar: toolBar
0033             clip: true
0034             anchors {
0035                 top: toolBar.bottom
0036                 left: parent.left
0037                 right: parent.right
0038                 bottom: parent.bottom
0039             }
0040             initialPage: Qt.createComponent("Menu.qml")
0041         }
0042     }
0043 }