@@ -0,0 +1,89 @@
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)
53+ anchors.bottom: parent.bottom
54+ anchors.right: parent.right
57+ anchors.centerIn: parent
58+ text: "Click here to open touch menu manually"
60+ width: label.width + units.gu(2)
61+ height: label.height + units.gu(2)
64+ onClicked: panel.applicationMenus.show();
66+ visible: !panel.applicationMenus.shown
72+ height: parent.height
73+ width: parent.width / 2
80+ enableKeyFilter: true
81+ unityMenuModel: menuModel
85+ Component.onCompleted: {
86+ theme.name = "Ubuntu.Components.Themes.SuruDark";
87+ PanelState.title = "Drag here to open touch menu";