Changeset View
Changeset View
Standalone View
Standalone View
examples/drives/ui/main.ui
- This file was added.
1 | <?xml version="1.0" encoding="UTF-8"?> | ||||
---|---|---|---|---|---|
2 | <ui version="4.0"> | ||||
3 | <class>MainWindow</class> | ||||
4 | <widget class="QMainWindow" name="MainWindow"> | ||||
5 | <property name="geometry"> | ||||
6 | <rect> | ||||
7 | <x>0</x> | ||||
8 | <y>0</y> | ||||
9 | <width>640</width> | ||||
10 | <height>486</height> | ||||
11 | </rect> | ||||
12 | </property> | ||||
13 | <property name="windowTitle"> | ||||
14 | <string>MainWindow</string> | ||||
15 | </property> | ||||
16 | <widget class="QWidget" name="centralwidget"> | ||||
17 | <layout class="QVBoxLayout" name="verticalLayout"> | ||||
18 | <item> | ||||
19 | <layout class="QHBoxLayout" name="authLayout"> | ||||
20 | <item> | ||||
21 | <widget class="QPushButton" name="authButton"> | ||||
22 | <property name="text"> | ||||
23 | <string>Authenticate</string> | ||||
24 | </property> | ||||
25 | </widget> | ||||
26 | </item> | ||||
27 | <item> | ||||
28 | <widget class="QLabel" name="authStatusLabel"> | ||||
29 | <property name="text"> | ||||
30 | <string>Not authenticated</string> | ||||
31 | </property> | ||||
32 | </widget> | ||||
33 | </item> | ||||
34 | </layout> | ||||
35 | </item> | ||||
36 | <item> | ||||
37 | <widget class="Line" name="line"> | ||||
38 | <property name="orientation"> | ||||
39 | <enum>Qt::Horizontal</enum> | ||||
40 | </property> | ||||
41 | </widget> | ||||
42 | </item> | ||||
43 | <item> | ||||
44 | <layout class="QHBoxLayout" name="horizontalLayout" stretch="3,1"> | ||||
45 | <item> | ||||
46 | <widget class="QPushButton" name="drivesListButton"> | ||||
47 | <property name="enabled"> | ||||
48 | <bool>false</bool> | ||||
49 | </property> | ||||
50 | <property name="text"> | ||||
51 | <string>Get Drive list</string> | ||||
52 | </property> | ||||
53 | </widget> | ||||
54 | </item> | ||||
55 | <item> | ||||
56 | <widget class="QCheckBox" name="showHiddenCheckBox"> | ||||
57 | <property name="sizePolicy"> | ||||
58 | <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> | ||||
59 | <horstretch>0</horstretch> | ||||
60 | <verstretch>0</verstretch> | ||||
61 | </sizepolicy> | ||||
62 | </property> | ||||
63 | <property name="text"> | ||||
64 | <string>Show hidden</string> | ||||
65 | </property> | ||||
66 | </widget> | ||||
67 | </item> | ||||
68 | </layout> | ||||
69 | </item> | ||||
70 | <item> | ||||
71 | <layout class="QHBoxLayout" name="newDrivesLayout"> | ||||
72 | <item> | ||||
73 | <widget class="QLineEdit" name="newDrivesEdit"> | ||||
74 | <property name="enabled"> | ||||
75 | <bool>false</bool> | ||||
76 | </property> | ||||
77 | </widget> | ||||
78 | </item> | ||||
79 | <item> | ||||
80 | <widget class="QPushButton" name="newDrivesButton"> | ||||
81 | <property name="enabled"> | ||||
82 | <bool>false</bool> | ||||
83 | </property> | ||||
84 | <property name="text"> | ||||
85 | <string>Create</string> | ||||
86 | </property> | ||||
87 | </widget> | ||||
88 | </item> | ||||
89 | </layout> | ||||
90 | </item> | ||||
91 | <item> | ||||
92 | <layout class="QHBoxLayout" name="renameDrivesLayout"> | ||||
93 | <item> | ||||
94 | <widget class="QLineEdit" name="renameDrivesEdit"> | ||||
95 | <property name="enabled"> | ||||
96 | <bool>false</bool> | ||||
97 | </property> | ||||
98 | </widget> | ||||
99 | </item> | ||||
100 | <item> | ||||
101 | <widget class="QPushButton" name="renameDrivesButton"> | ||||
102 | <property name="enabled"> | ||||
103 | <bool>false</bool> | ||||
104 | </property> | ||||
105 | <property name="text"> | ||||
106 | <string>Rename</string> | ||||
107 | </property> | ||||
108 | </widget> | ||||
109 | </item> | ||||
110 | <item> | ||||
111 | <widget class="QPushButton" name="hideDrivesButton"> | ||||
112 | <property name="enabled"> | ||||
113 | <bool>false</bool> | ||||
114 | </property> | ||||
115 | <property name="text"> | ||||
116 | <string>Hide</string> | ||||
117 | </property> | ||||
118 | </widget> | ||||
119 | </item> | ||||
120 | <item> | ||||
121 | <widget class="QPushButton" name="unhideDrivesButton"> | ||||
122 | <property name="enabled"> | ||||
123 | <bool>false</bool> | ||||
124 | </property> | ||||
125 | <property name="text"> | ||||
126 | <string>Unhide</string> | ||||
127 | </property> | ||||
128 | </widget> | ||||
129 | </item> | ||||
130 | <item> | ||||
131 | <widget class="QPushButton" name="drivesSelectedDeleteButton"> | ||||
132 | <property name="enabled"> | ||||
133 | <bool>false</bool> | ||||
134 | </property> | ||||
135 | <property name="text"> | ||||
136 | <string>Delete</string> | ||||
137 | </property> | ||||
138 | </widget> | ||||
139 | </item> | ||||
140 | </layout> | ||||
141 | </item> | ||||
142 | <item> | ||||
143 | <layout class="QHBoxLayout" name="drivesLayout"> | ||||
144 | <item> | ||||
145 | <layout class="QVBoxLayout" name="drivesListLayout"> | ||||
146 | <item> | ||||
147 | <widget class="QLabel" name="label_2"> | ||||
148 | <property name="font"> | ||||
149 | <font> | ||||
150 | <pointsize>12</pointsize> | ||||
151 | <weight>75</weight> | ||||
152 | <bold>true</bold> | ||||
153 | </font> | ||||
154 | </property> | ||||
155 | <property name="layoutDirection"> | ||||
156 | <enum>Qt::RightToLeft</enum> | ||||
157 | </property> | ||||
158 | <property name="text"> | ||||
159 | <string>Drive list</string> | ||||
160 | </property> | ||||
161 | <property name="alignment"> | ||||
162 | <set>Qt::AlignCenter</set> | ||||
163 | </property> | ||||
164 | </widget> | ||||
165 | </item> | ||||
166 | <item> | ||||
167 | <widget class="QListWidget" name="drivesList"/> | ||||
168 | </item> | ||||
169 | </layout> | ||||
170 | </item> | ||||
171 | <item> | ||||
172 | <layout class="QVBoxLayout" name="drivesPreviewLayout"> | ||||
173 | <item> | ||||
174 | <widget class="QLabel" name="label"> | ||||
175 | <property name="font"> | ||||
176 | <font> | ||||
177 | <pointsize>12</pointsize> | ||||
178 | <weight>75</weight> | ||||
179 | <bold>true</bold> | ||||
180 | </font> | ||||
181 | </property> | ||||
182 | <property name="layoutDirection"> | ||||
183 | <enum>Qt::RightToLeft</enum> | ||||
184 | </property> | ||||
185 | <property name="text"> | ||||
186 | <string>Drive folder preview</string> | ||||
187 | </property> | ||||
188 | <property name="alignment"> | ||||
189 | <set>Qt::AlignCenter</set> | ||||
190 | </property> | ||||
191 | </widget> | ||||
192 | </item> | ||||
193 | <item> | ||||
194 | <widget class="QListWidget" name="drivesPreviewList"/> | ||||
195 | </item> | ||||
196 | </layout> | ||||
197 | </item> | ||||
198 | </layout> | ||||
199 | </item> | ||||
200 | <item> | ||||
201 | <widget class="QLabel" name="errorLabel"> | ||||
202 | <property name="text"> | ||||
203 | <string/> | ||||
204 | </property> | ||||
205 | <property name="wordWrap"> | ||||
206 | <bool>true</bool> | ||||
207 | </property> | ||||
208 | </widget> | ||||
209 | </item> | ||||
210 | </layout> | ||||
211 | </widget> | ||||
212 | <widget class="QMenuBar" name="menubar"> | ||||
213 | <property name="geometry"> | ||||
214 | <rect> | ||||
215 | <x>0</x> | ||||
216 | <y>0</y> | ||||
217 | <width>640</width> | ||||
218 | <height>30</height> | ||||
219 | </rect> | ||||
220 | </property> | ||||
221 | <widget class="QMenu" name="menuFile"> | ||||
222 | <property name="title"> | ||||
223 | <string>File</string> | ||||
224 | </property> | ||||
225 | <addaction name="actionQuit"/> | ||||
226 | </widget> | ||||
227 | <addaction name="menuFile"/> | ||||
228 | </widget> | ||||
229 | <widget class="QStatusBar" name="statusbar"/> | ||||
230 | <action name="actionQuit"> | ||||
231 | <property name="text"> | ||||
232 | <string comment="Action that quits the application">Quit</string> | ||||
233 | </property> | ||||
234 | </action> | ||||
235 | </widget> | ||||
236 | <resources/> | ||||
237 | <connections> | ||||
238 | <connection> | ||||
239 | <sender>actionQuit</sender> | ||||
240 | <signal>activated()</signal> | ||||
241 | <receiver>MainWindow</receiver> | ||||
242 | <slot>close()</slot> | ||||
243 | <hints> | ||||
244 | <hint type="sourcelabel"> | ||||
245 | <x>-1</x> | ||||
246 | <y>-1</y> | ||||
247 | </hint> | ||||
248 | <hint type="destinationlabel"> | ||||
249 | <x>319</x> | ||||
250 | <y>206</y> | ||||
251 | </hint> | ||||
252 | </hints> | ||||
253 | </connection> | ||||
254 | </connections> | ||||
255 | </ui> |