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