summaryrefslogtreecommitdiff
path: root/rbutil/rbutilqt/rbutilqtfrm.ui
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2012-09-08 20:34:36 +0200
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2012-09-08 20:34:36 +0200
commit328ff6d979c028ecba9c57d12c1e75637be20396 (patch)
tree1373b766c7a1b0a6551816f105ee7447c0f602ae /rbutil/rbutilqt/rbutilqtfrm.ui
parent4f99dd4264f9aaaccbf3da6bba37d5b2c7eb6f32 (diff)
downloadrockbox-328ff6d979c028ecba9c57d12c1e75637be20396.tar.gz
rockbox-328ff6d979c028ecba9c57d12c1e75637be20396.zip
Add "Eject" button to main window.
Since especially Windows puts the eject functionality behind an icon in the systray which is usually hidden and doesn't complain if a USB drive is unplugged without ejecting it first ejecting such a device might not be obvious to everyone. Add a button to the main window allowing to eject the selected player. Currently only implemented for Windows. Change-Id: I785ac1482cda03a1379cf6d0fd0d9a0ff8130092
Diffstat (limited to 'rbutil/rbutilqt/rbutilqtfrm.ui')
-rw-r--r--rbutil/rbutilqt/rbutilqtfrm.ui77
1 files changed, 50 insertions, 27 deletions
diff --git a/rbutil/rbutilqt/rbutilqtfrm.ui b/rbutil/rbutilqt/rbutilqtfrm.ui
index 85da42ed01..65348dabfb 100644
--- a/rbutil/rbutilqt/rbutilqtfrm.ui
+++ b/rbutil/rbutilqt/rbutilqtfrm.ui
@@ -7,7 +7,7 @@
7 <x>0</x> 7 <x>0</x>
8 <y>0</y> 8 <y>0</y>
9 <width>650</width> 9 <width>650</width>
10 <height>550</height> 10 <height>399</height>
11 </rect> 11 </rect>
12 </property> 12 </property>
13 <property name="windowTitle"> 13 <property name="windowTitle">
@@ -31,24 +31,25 @@
31 <string>Device</string> 31 <string>Device</string>
32 </property> 32 </property>
33 <layout class="QGridLayout" name="gridLayout"> 33 <layout class="QGridLayout" name="gridLayout">
34 <item row="1" column="2"> 34 <item row="0" column="0" rowspan="3">
35 <widget class="QLabel" name="labelMountpoint"> 35 <widget class="QLabel" name="labelPlayerPic">
36 <property name="text"> 36 <property name="lineWidth">
37 <string>mountpoint unknown or invalid</string> 37 <number>1</number>
38 </property> 38 </property>
39 </widget>
40 </item>
41 <item row="1" column="1">
42 <widget class="QLabel" name="labelMountpointTitle">
43 <property name="text"> 39 <property name="text">
44 <string>Mountpoint:</string> 40 <string/>
45 </property> 41 </property>
46 </widget> 42 <property name="pixmap">
47 </item> 43 <pixmap resource="rbutilqt.qrc">:/icons/rockbox-32.png</pixmap>
48 <item row="0" column="2"> 44 </property>
49 <widget class="QLabel" name="labelDevice"> 45 <property name="scaledContents">
50 <property name="text"> 46 <bool>false</bool>
51 <string>device unknown or invalid</string> 47 </property>
48 <property name="alignment">
49 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
50 </property>
51 <property name="margin">
52 <number>3</number>
52 </property> 53 </property>
53 </widget> 54 </widget>
54 </item> 55 </item>
@@ -65,6 +66,13 @@
65 </property> 66 </property>
66 </widget> 67 </widget>
67 </item> 68 </item>
69 <item row="0" column="2">
70 <widget class="QLabel" name="labelDevice">
71 <property name="text">
72 <string>device unknown or invalid</string>
73 </property>
74 </widget>
75 </item>
68 <item row="0" column="3"> 76 <item row="0" column="3">
69 <spacer name="horizontalSpacer"> 77 <spacer name="horizontalSpacer">
70 <property name="orientation"> 78 <property name="orientation">
@@ -78,24 +86,39 @@
78 </property> 86 </property>
79 </spacer> 87 </spacer>
80 </item> 88 </item>
81 <item row="0" column="0" rowspan="2"> 89 <item row="0" column="4">
82 <widget class="QLabel" name="labelPlayerPic"> 90 <widget class="QPushButton" name="buttonChangeDevice">
83 <property name="text"> 91 <property name="text">
84 <string/> 92 <string>&amp;Change</string>
85 </property> 93 </property>
86 <property name="scaledContents"> 94 <property name="icon">
87 <bool>true</bool> 95 <iconset resource="rbutilqt.qrc">
96 <normaloff>:/icons/edit-find.png</normaloff>:/icons/edit-find.png</iconset>
88 </property> 97 </property>
89 </widget> 98 </widget>
90 </item> 99 </item>
91 <item row="0" column="4" rowspan="2"> 100 <item row="1" column="4" rowspan="2">
92 <widget class="QPushButton" name="buttonChangeDevice"> 101 <widget class="QPushButton" name="buttonEject">
93 <property name="text"> 102 <property name="text">
94 <string>&amp;Change</string> 103 <string>&amp;Eject</string>
95 </property> 104 </property>
96 <property name="icon"> 105 <property name="icon">
97 <iconset resource="rbutilqt.qrc"> 106 <iconset resource="rbutilqt.qrc">
98 <normaloff>:/icons/edit-find.png</normaloff>:/icons/edit-find.png</iconset> 107 <normaloff>:/icons/media-eject.png</normaloff>:/icons/media-eject.png</iconset>
108 </property>
109 </widget>
110 </item>
111 <item row="1" column="1">
112 <widget class="QLabel" name="labelMountpointTitle">
113 <property name="text">
114 <string>Mountpoint:</string>
115 </property>
116 </widget>
117 </item>
118 <item row="1" column="2">
119 <widget class="QLabel" name="labelMountpoint">
120 <property name="text">
121 <string>mountpoint unknown or invalid</string>
99 </property> 122 </property>
100 </widget> 123 </widget>
101 </item> 124 </item>
@@ -130,7 +153,7 @@
130 <item row="1" column="0" colspan="2"> 153 <item row="1" column="0" colspan="2">
131 <widget class="QTabWidget" name="tabWidget"> 154 <widget class="QTabWidget" name="tabWidget">
132 <property name="currentIndex"> 155 <property name="currentIndex">
133 <number>7</number> 156 <number>0</number>
134 </property> 157 </property>
135 <widget class="QWidget" name="selective"> 158 <widget class="QWidget" name="selective">
136 <attribute name="title"> 159 <attribute name="title">
@@ -388,7 +411,7 @@
388 <x>0</x> 411 <x>0</x>
389 <y>0</y> 412 <y>0</y>
390 <width>650</width> 413 <width>650</width>
391 <height>23</height> 414 <height>21</height>
392 </rect> 415 </rect>
393 </property> 416 </property>
394 <widget class="QMenu" name="menu_File"> 417 <widget class="QMenu" name="menu_File">