7c35a740ad42d1f0629f3a4983fe9f240ce708f3
[toast/confclerk.git] / src / gui / mainwindow.ui
1 <ui version="4.0" >
2  <class>MainWindow</class>
3  <widget class="QMainWindow" name="MainWindow" >
4   <property name="geometry" >
5    <rect>
6     <x>0</x>
7     <y>0</y>
8     <width>935</width>
9     <height>530</height>
10    </rect>
11   </property>
12   <property name="minimumSize" >
13    <size>
14     <width>400</width>
15     <height>300</height>
16    </size>
17   </property>
18   <property name="windowTitle" >
19    <string>MainWindow</string>
20   </property>
21   <widget class="QWidget" name="centralwidget" >
22    <layout class="QGridLayout" name="gridLayout" >
23     <item row="0" column="0" >
24      <widget class="QTabWidget" name="tabWidget" >
25       <property name="currentIndex" >
26        <number>0</number>
27       </property>
28       <widget class="QWidget" name="dayViewTab" >
29        <attribute name="title" >
30         <string>Day View</string>
31        </attribute>
32        <layout class="QGridLayout" name="gridLayout_2" >
33         <item row="0" column="0" >
34          <layout class="QVBoxLayout" name="verticalLayout" >
35           <item>
36            <layout class="QHBoxLayout" name="horizontalLayout_2" >
37             <item>
38              <layout class="QVBoxLayout" name="verticalLayout_5" >
39               <item>
40                <widget class="QToolButton" name="toolButton" >
41                 <property name="autoFillBackground" >
42                  <bool>true</bool>
43                 </property>
44                 <property name="text" >
45                  <string>H</string>
46                 </property>
47                 <property name="autoRaise" >
48                  <bool>true</bool>
49                 </property>
50                </widget>
51               </item>
52               <item>
53                <widget class="DayNavigatorWidget" native="1" name="dayNavigator" >
54                 <property name="sizePolicy" >
55                  <sizepolicy vsizetype="Expanding" hsizetype="Minimum" >
56                   <horstretch>0</horstretch>
57                   <verstretch>0</verstretch>
58                  </sizepolicy>
59                 </property>
60                </widget>
61               </item>
62              </layout>
63             </item>
64             <item>
65              <widget class="TreeView" name="dayTreeView" >
66               <property name="maximumSize" >
67                <size>
68                 <width>16777215</width>
69                 <height>16777215</height>
70                </size>
71               </property>
72              </widget>
73             </item>
74            </layout>
75           </item>
76          </layout>
77         </item>
78        </layout>
79       </widget>
80       <widget class="QWidget" name="favouritesTab" >
81        <attribute name="title" >
82         <string>Favourites</string>
83        </attribute>
84        <layout class="QGridLayout" name="gridLayout_3" >
85         <item row="1" column="0" >
86          <layout class="QHBoxLayout" name="horizontalLayout_4" >
87           <item>
88            <widget class="DayNavigatorWidget" native="1" name="favouriteDayNavigator" />
89           </item>
90           <item>
91            <widget class="TreeView" name="favTreeView" />
92           </item>
93          </layout>
94         </item>
95        </layout>
96       </widget>
97       <widget class="QWidget" name="tracksTab" >
98        <attribute name="title" >
99         <string>Tracks</string>
100        </attribute>
101        <layout class="QGridLayout" name="gridLayout_4" >
102         <item row="0" column="0" >
103          <layout class="QHBoxLayout" name="horizontalLayout_3" >
104           <item>
105            <widget class="DayNavigatorWidget" native="1" name="trackDayNavigator" />
106           </item>
107           <item>
108            <widget class="TreeView" name="trackTreeView" >
109             <property name="maximumSize" >
110              <size>
111               <width>16777215</width>
112               <height>16777215</height>
113              </size>
114             </property>
115            </widget>
116           </item>
117          </layout>
118         </item>
119        </layout>
120       </widget>
121       <widget class="QWidget" name="searchTab">
122        <attribute name="title">
123         <string>Search</string>
124        </attribute>
125        <layout class="QHBoxLayout" name="horizontalLayout_1">
126         <item>
127          <widget class="QWidget" name="searchVerticalWidget" native="true">
128           <layout class="QVBoxLayout" name="searchDayNavigatorVerticalLayout">
129            <item>
130             <widget class="QToolButton" name="searchAgainButton">
131              <property name="text">
132               <string>Search again</string>
133              </property>
134              <property name="toolButtonStyle">
135               <enum>Qt::ToolButtonTextOnly</enum>
136              </property>
137             </widget>
138            </item>
139            <item>
140             <widget class="DayNavigatorWidget" name="searchDayNavigator" native="true">
141              <property name="maximumSize">
142               <size>
143                <width>16777215</width>
144                <height>16777215</height>
145               </size>
146              </property>
147             </widget>
148            </item>
149           </layout>
150          </widget>
151         </item>
152         <item>
153          <layout class="QVBoxLayout" name="verticalLayout_3">
154           <item>
155            <widget class="QWidget" name="searchHead" native="true">
156             <layout class="QFormLayout" name="searchHeadLayout">
157              <property name="fieldGrowthPolicy">
158               <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
159              </property>
160              <item row="0" column="0">
161               <widget class="QCheckBox" name="searchTitle">
162                <property name="text">
163                 <string>Title</string>
164                </property>
165               </widget>
166              </item>
167              <item row="1" column="0">
168               <widget class="QCheckBox" name="searchAbstract">
169                <property name="text">
170                 <string>Abstract</string>
171                </property>
172               </widget>
173              </item>
174              <item row="2" column="0">
175               <widget class="QCheckBox" name="searchSpeaker">
176                <property name="text">
177                 <string>Speaker</string>
178                </property>
179               </widget>
180              </item>
181              <item row="0" column="1">
182               <widget class="QCheckBox" name="searchTag">
183                <property name="text">
184                 <string>Tag</string>
185                </property>
186               </widget>
187              </item>
188              <item row="1" column="1">
189               <widget class="QCheckBox" name="searchRoom">
190                <property name="text">
191                 <string>Room</string>
192                </property>
193               </widget>
194              </item>
195              <item row="2" column="1">
196               <layout class="QHBoxLayout" name="horizontalLayout">
197                <item>
198                 <widget class="QLineEdit" name="searchEdit">
199                  <property name="enabled">
200                   <bool>true</bool>
201                  </property>
202                  <property name="toolTip">
203                   <string>type a keyword to search</string>
204                  </property>
205                 </widget>
206                </item>
207                <item>
208                 <widget class="QPushButton" name="searchButton">
209                  <property name="text">
210                   <string>Search</string>
211                  </property>
212                  <property name="checkable">
213                   <bool>false</bool>
214                  </property>
215                  <property name="autoDefault">
216                   <bool>true</bool>
217                  </property>
218                  <property name="default">
219                   <bool>true</bool>
220                  </property>
221                  <property name="flat">
222                   <bool>false</bool>
223                  </property>
224                 </widget>
225                </item>
226               </layout>
227              </item>
228             </layout>
229            </widget>
230           </item>
231           <item>
232            <widget class="TreeView" name="searchTreeView">
233             <property name="maximumSize">
234              <size>
235               <width>16777215</width>
236               <height>16777215</height>
237              </size>
238             </property>
239            </widget>
240           </item>
241          </layout>
242         </item>
243        </layout>
244       </widget>
245       <widget class="QWidget" name="roomsTab" >
246        <attribute name="title" >
247         <string>Rooms</string>
248        </attribute>
249        <layout class="QGridLayout" name="gridLayout_8" >
250         <item row="0" column="0" >
251          <layout class="QHBoxLayout" name="horizontalLayout_5" >
252           <property name="sizeConstraint" >
253            <enum>QLayout::SetDefaultConstraint</enum>
254           </property>
255           <item>
256            <widget class="DayNavigatorWidget" native="1" name="roomDayNavigator" />
257           </item>
258           <item>
259            <widget class="TreeView" name="roomTreeView" >
260             <property name="maximumSize" >
261              <size>
262               <width>16777215</width>
263               <height>16777215</height>
264              </size>
265             </property>
266            </widget>
267           </item>
268          </layout>
269         </item>
270        </layout>
271       </widget>
272       <widget class="QWidget" name="conferenceTab" >
273        <attribute name="title" >
274         <string>Conference</string>
275        </attribute>
276        <layout class="QGridLayout" name="gridLayout_5" >
277         <item row="0" column="0" >
278          <layout class="QVBoxLayout" name="verticalLayout_4" >
279           <item>
280            <widget class="QLabel" name="conferenceTitle" >
281             <property name="font" >
282              <font>
283               <weight>75</weight>
284               <bold>true</bold>
285              </font>
286             </property>
287             <property name="text" >
288              <string>Conference Name</string>
289             </property>
290             <property name="alignment" >
291              <set>Qt::AlignCenter</set>
292             </property>
293             <property name="wordWrap" >
294              <bool>true</bool>
295             </property>
296            </widget>
297           </item>
298           <item>
299            <widget class="QLabel" name="conferenceSubtitle" >
300             <property name="text" >
301              <string>Conference Subtitle</string>
302             </property>
303             <property name="alignment" >
304              <set>Qt::AlignCenter</set>
305             </property>
306             <property name="wordWrap" >
307              <bool>true</bool>
308             </property>
309            </widget>
310           </item>
311           <item>
312            <widget class="Line" name="line" >
313             <property name="orientation" >
314              <enum>Qt::Horizontal</enum>
315             </property>
316            </widget>
317           </item>
318           <item>
319            <layout class="QGridLayout" name="gridLayout_6" >
320             <item row="0" column="0" >
321              <widget class="QLabel" name="label" >
322               <property name="text" >
323                <string>When:</string>
324               </property>
325              </widget>
326             </item>
327             <item row="1" column="0" >
328              <widget class="QLabel" name="label_2" >
329               <property name="text" >
330                <string>Where:</string>
331               </property>
332              </widget>
333             </item>
334             <item row="0" column="1" >
335              <widget class="QLabel" name="conferenceWhen" >
336               <property name="text" >
337                <string>DATE (FROM - TO)</string>
338               </property>
339              </widget>
340             </item>
341             <item row="1" column="1" >
342              <widget class="QLabel" name="conferenceWhere" >
343               <property name="text" >
344                <string>CITY, CAMPUS</string>
345               </property>
346              </widget>
347             </item>
348             <item row="1" column="2" >
349              <widget class="QPushButton" name="showMapButton" >
350               <property name="text" >
351                <string>MAP</string>
352               </property>
353              </widget>
354             </item>
355             <item row="1" column="3" >
356              <spacer name="horizontalSpacer_3" >
357               <property name="orientation" >
358                <enum>Qt::Horizontal</enum>
359               </property>
360               <property name="sizeHint" stdset="0" >
361                <size>
362                 <width>40</width>
363                 <height>20</height>
364                </size>
365               </property>
366              </spacer>
367             </item>
368            </layout>
369           </item>
370           <item>
371            <spacer name="verticalSpacer" >
372             <property name="orientation" >
373              <enum>Qt::Vertical</enum>
374             </property>
375             <property name="sizeHint" stdset="0" >
376              <size>
377               <width>20</width>
378               <height>40</height>
379              </size>
380             </property>
381            </spacer>
382           </item>
383          </layout>
384         </item>
385        </layout>
386       </widget>
387       <widget class="QWidget" name="tab" >
388        <attribute name="title" >
389         <string>Now</string>
390        </attribute>
391        <layout class="QGridLayout" name="gridLayout_7" >
392         <item row="0" column="0" >
393          <widget class="TreeView" name="nowTreeView" />
394         </item>
395        </layout>
396       </widget>
397      </widget>
398     </item>
399    </layout>
400   </widget>
401   <widget class="QMenuBar" name="menubar" >
402    <property name="geometry" >
403     <rect>
404      <x>0</x>
405      <y>0</y>
406      <width>935</width>
407      <height>26</height>
408     </rect>
409    </property>
410    <widget class="QMenu" name="menuFile" >
411     <property name="title" >
412      <string>File</string>
413     </property>
414     <addaction name="actionImportSchedule" />
415     <addaction name="actionQuit" />
416    </widget>
417    <widget class="QMenu" name="menuAbout" >
418     <property name="title" >
419      <string>Help</string>
420     </property>
421     <addaction name="actionAboutQt" />
422     <addaction name="actionAboutApplication" />
423    </widget>
424    <addaction name="menuAbout" />
425    <addaction name="menuFile" />
426   </widget>
427   <widget class="QStatusBar" name="statusbar" />
428   <action name="actionImportSchedule" >
429    <property name="text" >
430     <string>Import Schedule</string>
431    </property>
432   </action>
433   <action name="actionAboutQt" >
434    <property name="text" >
435     <string>About Qt</string>
436    </property>
437   </action>
438   <action name="actionAboutApplication" >
439    <property name="text" >
440     <string>About application</string>
441    </property>
442   </action>
443   <action name="actionQuit" >
444    <property name="text" >
445     <string>Quit</string>
446    </property>
447   </action>
448  </widget>
449  <customwidgets>
450   <customwidget>
451    <class>DayNavigatorWidget</class>
452    <extends>QWidget</extends>
453    <header>daynavigatorwidget.h</header>
454    <container>1</container>
455   </customwidget>
456   <customwidget>
457    <class>TreeView</class>
458    <extends>QTreeView</extends>
459    <header>../mvc/treeview.h</header>
460   </customwidget>
461  </customwidgets>
462  <resources/>
463  <connections>
464   <connection>
465    <sender>actionQuit</sender>
466    <signal>triggered()</signal>
467    <receiver>MainWindow</receiver>
468    <slot>close()</slot>
469    <hints>
470     <hint type="sourcelabel" >
471      <x>-1</x>
472      <y>-1</y>
473     </hint>
474     <hint type="destinationlabel" >
475      <x>266</x>
476      <y>187</y>
477     </hint>
478    </hints>
479   </connection>
480  </connections>
481 </ui>