@@ -0,0 +1,103 @@
2+* Copyright (C) 2017 Canonical, Ltd.
4+* This program is free software; you can redistribute it and/or modify
5+* it under the terms of the GNU General Public License as published by
6+* the Free Software Foundation; version 3.
8+* This program is distributed in the hope that it will be useful,
9+* but WITHOUT ANY WARRANTY; without even the implied warranty of
10+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11+* GNU General Public License for more details.
13+* You should have received a copy of the GNU General Public License
14+* along with this program. If not, see <http://www.gnu.org/licenses/>.
18+import Ubuntu.Components 1.3
20+import "../../qml/ApplicationMenus"
21+import "../../qml/Panel"
22+import "../../qml/Components/PanelState"
25+import Unity.Indicators 0.1 as Indicators
29+ height: units.gu(120)
33+ busName: contextBusName
34+ menuObjectPath: "/com/ubuntu/Menu/0"
35+ actions: { "unity": "/com/ubuntu/Menu/0" }
41+ height: parent.height
42+ width: parent.width / 2
43+ minimizedPanelHeight: units.gu(6)
54+ anchors.centerIn: parent
61+ onTriggered: parent.rotation = parent.rotation+1
67+ anchors.bottom: parent.bottom
68+ anchors.right: parent.right
71+ anchors.centerIn: parent
72+ text: "Click here to open touch menu manually"
74+ width: label.width + units.gu(2)
75+ height: label.height + units.gu(2)
78+ onClicked: panel.applicationMenus.show();
80+ visible: !panel.applicationMenus.shown
86+ height: parent.height
87+ width: parent.width / 2
94+ enableKeyFilter: true
95+ unityMenuModel: menuModel
99+ Component.onCompleted: {
100+ theme.name = "Ubuntu.Components.Themes.SuruDark";
101+ PanelState.title = "Drag here to open touch menu";