hwkey: add Back key to wearable-general skin for Qt GUI
authorGiWoong Kim <giwoong.kim@samsung.com>
Thu, 14 Jan 2016 07:40:15 +0000 (16:40 +0900)
committerSeokYeon Hwang <syeon.hwang@samsung.com>
Thu, 14 Jan 2016 12:05:57 +0000 (21:05 +0900)
Change-Id: If6a0986521ac51049889f3692f9be491bc11f4be
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
tizen/src/ui/resource/skins/wearable/wearable-general-1btn/controller/key-window/layout.xml [deleted file]
tizen/src/ui/resource/skins/wearable/wearable-general-1btn/info.ini [deleted file]
tizen/src/ui/resource/skins/wearable/wearable-general-1btn/layout.xml [deleted file]
tizen/src/ui/resource/skins/wearable/wearable-general-2btn/controller/key-window/layout.xml [new file with mode: 0644]
tizen/src/ui/resource/skins/wearable/wearable-general-2btn/info.ini [new file with mode: 0644]
tizen/src/ui/resource/skins/wearable/wearable-general-2btn/layout.xml [new file with mode: 0644]

diff --git a/tizen/src/ui/resource/skins/wearable/wearable-general-1btn/controller/key-window/layout.xml b/tizen/src/ui/resource/skins/wearable/wearable-general-1btn/controller/key-window/layout.xml
deleted file mode 100644 (file)
index 03372da..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ControllerUI xmlns="http://www.tizen.org/emulator/ui/layout">
-    <layoutVersion>2.4</layoutVersion>
-    <form name="Key Window">
-        <keyList>
-            <key name="Power">
-                <keycode>116</keycode>
-                <tooltip>Power</tooltip>
-                <!-- shortcut: on MacOSX, "Ctrl" means not Command key but Control key -->
-                <shortcut>Ctrl+Shift+F7</shortcut>
-            </key>
-        </keyList>
-    </form>
-</ControllerUI>
diff --git a/tizen/src/ui/resource/skins/wearable/wearable-general-1btn/info.ini b/tizen/src/ui/resource/skins/wearable/wearable-general-1btn/info.ini
deleted file mode 100644 (file)
index 96ef1c0..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-skin.name=General purpose wearable
-resolution.width=all
-resolution.height=all
-manager.priority=2
diff --git a/tizen/src/ui/resource/skins/wearable/wearable-general-1btn/layout.xml b/tizen/src/ui/resource/skins/wearable/wearable-general-1btn/layout.xml
deleted file mode 100644 (file)
index 3604d31..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<EmulatorUI xmlns="http://www.tizen.org/emulator/ui/layout">
-    <layoutVersion>2.4</layoutVersion>
-    <formList>
-        <form name="Portrait">
-            <display>
-                <angle>0</angle>
-            </display>
-        </form>
-        <form name="Landscape">
-            <display>
-                <angle>270</angle>
-            </display>
-        </form>
-        <form name="Reverse Portrait">
-            <display>
-                <angle>180</angle>
-            </display>
-        </form>
-        <form name="Reverse Landscape">
-            <display>
-                <angle>90</angle>
-            </display>
-        </form>
-    </formList>
-
-    <menuList>
-        <infoItem>
-            <!-- shortcut: on MacOSX, "Ctrl" means not Command key but Control key -->
-            <shortcut>Ctrl+Shift+F1</shortcut>
-        </infoItem>
-        <separator/>
-        <onTopItem name="Always on Top">
-            <shortcut>Ctrl+Shift+T</shortcut>
-        </onTopItem>
-        <switchItem name="Rotate">
-            <shortcut property="prev">Ctrl+Shift+Left</shortcut>
-            <shortcut property="next">Ctrl+Shift+Right</shortcut>
-        </switchItem>
-        <separator/>
-        <advancedItem>
-            <menuList>
-                <controllerItem name="Controller">
-                    <shortcut>Ctrl+Shift+K</shortcut>
-                </controllerItem>
-                <screenShotItem name="Screen Shot">
-                    <shortcut>Ctrl+Shift+F12</shortcut>
-                </screenShotItem>
-                <separator/>
-                <aboutItem name="About"/>
-                <forceCloseItem name="Force Close">
-                </forceCloseItem>
-            </menuList>
-        </advancedItem>
-        <shellItem name="Shell">
-            <shortcut>Ctrl+Shift+S</shortcut>
-        </shellItem>
-        <controlPanelItem name="Control Panel">
-            <shortcut>Ctrl+Shift+P</shortcut>
-        </controlPanelItem>
-        <separator/>
-        <closeItem name="Close">
-            <shortcut>Ctrl+Shift+F4</shortcut>
-        </closeItem>
-    </menuList>
-
-</EmulatorUI>
diff --git a/tizen/src/ui/resource/skins/wearable/wearable-general-2btn/controller/key-window/layout.xml b/tizen/src/ui/resource/skins/wearable/wearable-general-2btn/controller/key-window/layout.xml
new file mode 100644 (file)
index 0000000..db603f0
--- /dev/null
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ControllerUI xmlns="http://www.tizen.org/emulator/ui/layout">
+    <layoutVersion>2.4</layoutVersion>
+    <form name="Key Window">
+        <keyList>
+            <key name="Back">
+                <keycode>158</keycode>
+                <tooltip>Back</tooltip>
+                <shortcut>Esc</shortcut>
+           </key>
+           <key name="Power">
+                <keycode>116</keycode>
+                <tooltip>Power</tooltip>
+                <!-- shortcut: on MacOSX, "Ctrl" means not Command key but Control key -->
+                <shortcut>Ctrl+Shift+F7</shortcut>
+            </key>
+        </keyList>
+    </form>
+</ControllerUI>
diff --git a/tizen/src/ui/resource/skins/wearable/wearable-general-2btn/info.ini b/tizen/src/ui/resource/skins/wearable/wearable-general-2btn/info.ini
new file mode 100644 (file)
index 0000000..96ef1c0
--- /dev/null
@@ -0,0 +1,4 @@
+skin.name=General purpose wearable
+resolution.width=all
+resolution.height=all
+manager.priority=2
diff --git a/tizen/src/ui/resource/skins/wearable/wearable-general-2btn/layout.xml b/tizen/src/ui/resource/skins/wearable/wearable-general-2btn/layout.xml
new file mode 100644 (file)
index 0000000..3604d31
--- /dev/null
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<EmulatorUI xmlns="http://www.tizen.org/emulator/ui/layout">
+    <layoutVersion>2.4</layoutVersion>
+    <formList>
+        <form name="Portrait">
+            <display>
+                <angle>0</angle>
+            </display>
+        </form>
+        <form name="Landscape">
+            <display>
+                <angle>270</angle>
+            </display>
+        </form>
+        <form name="Reverse Portrait">
+            <display>
+                <angle>180</angle>
+            </display>
+        </form>
+        <form name="Reverse Landscape">
+            <display>
+                <angle>90</angle>
+            </display>
+        </form>
+    </formList>
+
+    <menuList>
+        <infoItem>
+            <!-- shortcut: on MacOSX, "Ctrl" means not Command key but Control key -->
+            <shortcut>Ctrl+Shift+F1</shortcut>
+        </infoItem>
+        <separator/>
+        <onTopItem name="Always on Top">
+            <shortcut>Ctrl+Shift+T</shortcut>
+        </onTopItem>
+        <switchItem name="Rotate">
+            <shortcut property="prev">Ctrl+Shift+Left</shortcut>
+            <shortcut property="next">Ctrl+Shift+Right</shortcut>
+        </switchItem>
+        <separator/>
+        <advancedItem>
+            <menuList>
+                <controllerItem name="Controller">
+                    <shortcut>Ctrl+Shift+K</shortcut>
+                </controllerItem>
+                <screenShotItem name="Screen Shot">
+                    <shortcut>Ctrl+Shift+F12</shortcut>
+                </screenShotItem>
+                <separator/>
+                <aboutItem name="About"/>
+                <forceCloseItem name="Force Close">
+                </forceCloseItem>
+            </menuList>
+        </advancedItem>
+        <shellItem name="Shell">
+            <shortcut>Ctrl+Shift+S</shortcut>
+        </shellItem>
+        <controlPanelItem name="Control Panel">
+            <shortcut>Ctrl+Shift+P</shortcut>
+        </controlPanelItem>
+        <separator/>
+        <closeItem name="Close">
+            <shortcut>Ctrl+Shift+F4</shortcut>
+        </closeItem>
+    </menuList>
+
+</EmulatorUI>