UI tune: use buttonBox instead of single buttons to comply with platform conventions
[toast/confclerk.git] / src / gui / conferenceeditor.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>ConferenceEditor</class>
4  <widget class="QDialog" name="ConferenceEditor">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>548</width>
10     <height>300</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string>Edit Conferences</string>
15   </property>
16   <property name="windowIcon">
17    <iconset resource="../icons.qrc">
18     <normaloff>:/icons/brain-alone.png</normaloff>:/icons/brain-alone.png</iconset>
19   </property>
20   <layout class="QHBoxLayout" name="horizontalLayout">
21    <property name="spacing">
22     <number>0</number>
23    </property>
24    <property name="margin">
25     <number>0</number>
26    </property>
27    <item>
28     <widget class="QWidget" name="widget_2" native="true">
29      <layout class="QVBoxLayout" name="verticalLayout_2">
30       <item>
31        <widget class="QWidget" name="buttons" native="true">
32         <layout class="QHBoxLayout" name="horizontalLayout_2">
33          <property name="margin">
34           <number>0</number>
35          </property>
36          <item>
37           <widget class="QPushButton" name="addBtn">
38            <property name="sizePolicy">
39             <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
40              <horstretch>0</horstretch>
41              <verstretch>0</verstretch>
42             </sizepolicy>
43            </property>
44            <property name="text">
45             <string notr="true"/>
46            </property>
47            <property name="icon">
48             <iconset resource="../icons.qrc">
49              <normaloff>:/icons/add.png</normaloff>:/icons/add.png</iconset>
50            </property>
51           </widget>
52          </item>
53          <item>
54           <widget class="QPushButton" name="removeBtn">
55            <property name="sizePolicy">
56             <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
57              <horstretch>0</horstretch>
58              <verstretch>0</verstretch>
59             </sizepolicy>
60            </property>
61            <property name="text">
62             <string notr="true"/>
63            </property>
64            <property name="icon">
65             <iconset resource="../icons.qrc">
66              <normaloff>:/icons/remove.png</normaloff>:/icons/remove.png</iconset>
67            </property>
68           </widget>
69          </item>
70          <item>
71           <widget class="QProgressBar" name="progressBar">
72            <property name="sizePolicy">
73             <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
74              <horstretch>10</horstretch>
75              <verstretch>0</verstretch>
76             </sizepolicy>
77            </property>
78            <property name="value">
79             <number>0</number>
80            </property>
81            <property name="textVisible">
82             <bool>false</bool>
83            </property>
84           </widget>
85          </item>
86          <item>
87           <spacer name="buttonsSpacer">
88            <property name="orientation">
89             <enum>Qt::Horizontal</enum>
90            </property>
91            <property name="sizeHint" stdset="0">
92             <size>
93              <width>40</width>
94              <height>20</height>
95             </size>
96            </property>
97           </spacer>
98          </item>
99         </layout>
100        </widget>
101       </item>
102       <item>
103        <widget class="QListView" name="confView"/>
104       </item>
105      </layout>
106     </widget>
107    </item>
108    <item>
109     <widget class="QWidget" name="widget_3" native="true">
110      <property name="sizePolicy">
111       <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
112        <horstretch>0</horstretch>
113        <verstretch>0</verstretch>
114       </sizepolicy>
115      </property>
116      <layout class="QVBoxLayout" name="verticalLayout_3">
117       <property name="spacing">
118        <number>0</number>
119       </property>
120       <property name="margin">
121        <number>0</number>
122       </property>
123       <item>
124        <widget class="QStackedWidget" name="conferenceInfo">
125         <property name="sizePolicy">
126          <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
127           <horstretch>0</horstretch>
128           <verstretch>0</verstretch>
129          </sizepolicy>
130         </property>
131         <property name="currentIndex">
132          <number>0</number>
133         </property>
134         <widget class="QWidget" name="conferenceInfoContents">
135          <layout class="QVBoxLayout" name="verticalLayout_4">
136           <property name="spacing">
137            <number>0</number>
138           </property>
139           <property name="margin">
140            <number>0</number>
141           </property>
142           <item>
143            <widget class="QLabel" name="conferenceTitle">
144             <property name="font">
145              <font>
146               <weight>75</weight>
147               <bold>true</bold>
148              </font>
149             </property>
150             <property name="text">
151              <string>Conference Name</string>
152             </property>
153             <property name="alignment">
154              <set>Qt::AlignCenter</set>
155             </property>
156             <property name="wordWrap">
157              <bool>true</bool>
158             </property>
159            </widget>
160           </item>
161           <item>
162            <widget class="QLabel" name="conferenceSubtitle">
163             <property name="text">
164              <string>Conference Subtitle</string>
165             </property>
166             <property name="alignment">
167              <set>Qt::AlignCenter</set>
168             </property>
169             <property name="wordWrap">
170              <bool>true</bool>
171             </property>
172            </widget>
173           </item>
174           <item>
175            <layout class="QGridLayout" name="gridLayout_7">
176             <item row="0" column="0">
177              <widget class="QLabel" name="label_3">
178               <property name="font">
179                <font>
180                 <weight>75</weight>
181                 <italic>true</italic>
182                 <bold>true</bold>
183                </font>
184               </property>
185               <property name="text">
186                <string>When:</string>
187               </property>
188              </widget>
189             </item>
190             <item row="1" column="0">
191              <widget class="QLabel" name="label_4">
192               <property name="font">
193                <font>
194                 <weight>75</weight>
195                 <italic>true</italic>
196                 <bold>true</bold>
197                </font>
198               </property>
199               <property name="text">
200                <string>Where:</string>
201               </property>
202              </widget>
203             </item>
204             <item row="0" column="2">
205              <widget class="QLabel" name="conferenceWhen">
206               <property name="text">
207                <string>DATE (FROM - TO)</string>
208               </property>
209              </widget>
210             </item>
211             <item row="1" column="2">
212              <widget class="QLabel" name="conferenceWhere">
213               <property name="text">
214                <string>CITY, CAMPUS</string>
215               </property>
216              </widget>
217             </item>
218             <item row="1" column="3">
219              <widget class="QPushButton" name="showMapButton">
220               <property name="text">
221                <string>MAP</string>
222               </property>
223               <property name="icon">
224                <iconset resource="../icons.qrc">
225                 <normaloff>:/icons/compassBig.png</normaloff>:/icons/compassBig.png</iconset>
226               </property>
227               <property name="flat">
228                <bool>true</bool>
229               </property>
230              </widget>
231             </item>
232             <item row="1" column="4">
233              <spacer name="horizontalSpacer_4">
234               <property name="orientation">
235                <enum>Qt::Horizontal</enum>
236               </property>
237               <property name="sizeHint" stdset="0">
238                <size>
239                 <width>40</width>
240                 <height>20</height>
241                </size>
242               </property>
243              </spacer>
244             </item>
245             <item row="0" column="1">
246              <widget class="QLabel" name="spacer_2">
247               <property name="text">
248                <string/>
249               </property>
250              </widget>
251             </item>
252            </layout>
253           </item>
254           <item>
255            <widget class="QWidget" name="widget_5" native="true">
256             <property name="sizePolicy">
257              <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
258               <horstretch>0</horstretch>
259               <verstretch>0</verstretch>
260              </sizepolicy>
261             </property>
262             <layout class="QHBoxLayout" name="horizontalLayout_3">
263              <item>
264               <widget class="QPushButton" name="refreshBtn">
265                <property name="text">
266                 <string notr="true"/>
267                </property>
268                <property name="icon">
269                 <iconset resource="../icons.qrc">
270                  <normaloff>:/icons/reload.png</normaloff>:/icons/reload.png</iconset>
271                </property>
272               </widget>
273              </item>
274              <item>
275               <widget class="QPushButton" name="changeUrl">
276                <property name="text">
277                 <string>Change URL</string>
278                </property>
279               </widget>
280              </item>
281              <item>
282               <spacer name="horizontalSpacer_2">
283                <property name="orientation">
284                 <enum>Qt::Horizontal</enum>
285                </property>
286                <property name="sizeHint" stdset="0">
287                 <size>
288                  <width>40</width>
289                  <height>20</height>
290                 </size>
291                </property>
292               </spacer>
293              </item>
294              <item>
295               <widget class="QWidget" name="widget" native="true">
296                <layout class="QVBoxLayout" name="verticalLayout">
297                 <property name="spacing">
298                  <number>0</number>
299                 </property>
300                 <property name="margin">
301                  <number>0</number>
302                 </property>
303                 <item>
304                  <spacer name="verticalSpacer">
305                   <property name="orientation">
306                    <enum>Qt::Vertical</enum>
307                   </property>
308                   <property name="sizeHint" stdset="0">
309                    <size>
310                     <width>20</width>
311                     <height>40</height>
312                    </size>
313                   </property>
314                  </spacer>
315                 </item>
316                 <item>
317                  <widget class="QDialogButtonBox" name="buttonBox">
318                   <property name="standardButtons">
319                    <set>QDialogButtonBox::Close</set>
320                   </property>
321                   <property name="centerButtons">
322                    <bool>false</bool>
323                   </property>
324                  </widget>
325                 </item>
326                </layout>
327               </widget>
328              </item>
329             </layout>
330            </widget>
331           </item>
332          </layout>
333         </widget>
334         <widget class="QWidget" name="conferenceInfoEmpty"/>
335        </widget>
336       </item>
337      </layout>
338     </widget>
339    </item>
340   </layout>
341  </widget>
342  <resources>
343   <include location="../icons.qrc"/>
344  </resources>
345  <connections/>
346 </ui>