d5c48ce0e3f952bb2f0e6ba59ec021db47ed339a
[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="QVBoxLayout" name="verticalLayout_3" >
126         <item>
127          <layout class="QFormLayout" name="searchHeadLayout" >
128           <property name="fieldGrowthPolicy" >
129            <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
130           </property>
131           <item row="0" column="0" >
132            <widget class="QCheckBox" name="searchTitle" >
133             <property name="text" >
134              <string>Title</string>
135             </property>
136            </widget>
137           </item>
138           <item row="0" column="1" >
139            <layout class="QHBoxLayout" name="horizontalLayout" >
140             <item>
141              <widget class="QLineEdit" name="searchEdit" >
142               <property name="enabled" >
143                <bool>true</bool>
144               </property>
145               <property name="toolTip" >
146                <string>type a keyword to search</string>
147               </property>
148              </widget>
149             </item>
150             <item>
151              <widget class="QPushButton" name="searchButton" >
152               <property name="text" >
153                <string>Search</string>
154               </property>
155               <property name="checkable" >
156                <bool>false</bool>
157               </property>
158               <property name="autoDefault" >
159                <bool>false</bool>
160               </property>
161               <property name="default" >
162                <bool>true</bool>
163               </property>
164               <property name="flat" >
165                <bool>false</bool>
166               </property>
167              </widget>
168             </item>
169            </layout>
170           </item>
171           <item row="1" column="0" >
172            <widget class="QCheckBox" name="searchAbstract" >
173             <property name="text" >
174              <string>Abstract</string>
175             </property>
176            </widget>
177           </item>
178          </layout>
179         </item>
180         <item>
181          <layout class="QHBoxLayout" name="searchDayNavigatorHorizontalLayout" >
182           <item>
183            <spacer name="horizontalSpacer_2" >
184             <property name="orientation" >
185              <enum>Qt::Horizontal</enum>
186             </property>
187             <property name="sizeHint" stdset="0" >
188              <size>
189               <width>40</width>
190               <height>20</height>
191              </size>
192             </property>
193            </spacer>
194           </item>
195           <item>
196            <widget class="DayNavigatorWidget" native="1" name="searchDayNavigator" >
197             <property name="maximumSize" >
198              <size>
199               <width>16777215</width>
200               <height>16777215</height>
201              </size>
202             </property>
203            </widget>
204           </item>
205           <item>
206            <spacer name="horizontalSpacer" >
207             <property name="orientation" >
208              <enum>Qt::Horizontal</enum>
209             </property>
210             <property name="sizeHint" stdset="0" >
211              <size>
212               <width>40</width>
213               <height>20</height>
214              </size>
215             </property>
216            </spacer>
217           </item>
218          </layout>
219         </item>
220         <item>
221          <widget class="TreeView" name="searchTreeView" >
222           <property name="maximumSize" >
223            <size>
224             <width>16777215</width>
225             <height>16777215</height>
226            </size>
227           </property>
228          </widget>
229         </item>
230        </layout>
231       </widget>
232       <widget class="QWidget" name="roomsTab" >
233        <attribute name="title" >
234         <string>Rooms</string>
235        </attribute>
236        <layout class="QGridLayout" name="gridLayout_8" >
237         <item row="0" column="0" >
238          <layout class="QHBoxLayout" name="horizontalLayout_5" >
239           <property name="sizeConstraint" >
240            <enum>QLayout::SetDefaultConstraint</enum>
241           </property>
242           <item>
243            <widget class="DayNavigatorWidget" native="1" name="roomDayNavigator" />
244           </item>
245           <item>
246            <widget class="TreeView" name="roomTreeView" >
247             <property name="maximumSize" >
248              <size>
249               <width>16777215</width>
250               <height>16777215</height>
251              </size>
252             </property>
253            </widget>
254           </item>
255          </layout>
256         </item>
257        </layout>
258       </widget>
259       <widget class="QWidget" name="conferenceTab" >
260        <attribute name="title" >
261         <string>Conference</string>
262        </attribute>
263        <layout class="QGridLayout" name="gridLayout_5" >
264         <item row="0" column="0" >
265          <layout class="QVBoxLayout" name="verticalLayout_4" >
266           <item>
267            <widget class="QLabel" name="conferenceTitle" >
268             <property name="font" >
269              <font>
270               <weight>75</weight>
271               <bold>true</bold>
272              </font>
273             </property>
274             <property name="text" >
275              <string>Conference Name</string>
276             </property>
277             <property name="alignment" >
278              <set>Qt::AlignCenter</set>
279             </property>
280             <property name="wordWrap" >
281              <bool>true</bool>
282             </property>
283            </widget>
284           </item>
285           <item>
286            <widget class="QLabel" name="conferenceSubtitle" >
287             <property name="text" >
288              <string>Conference Subtitle</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="Line" name="line" >
300             <property name="orientation" >
301              <enum>Qt::Horizontal</enum>
302             </property>
303            </widget>
304           </item>
305           <item>
306            <layout class="QGridLayout" name="gridLayout_6" >
307             <item row="0" column="0" >
308              <widget class="QLabel" name="label" >
309               <property name="text" >
310                <string>When:</string>
311               </property>
312              </widget>
313             </item>
314             <item row="1" column="0" >
315              <widget class="QLabel" name="label_2" >
316               <property name="text" >
317                <string>Where:</string>
318               </property>
319              </widget>
320             </item>
321             <item row="0" column="1" >
322              <widget class="QLabel" name="conferenceWhen" >
323               <property name="text" >
324                <string>DATE (FROM - TO)</string>
325               </property>
326              </widget>
327             </item>
328             <item row="1" column="1" >
329              <widget class="QLabel" name="conferenceWhere" >
330               <property name="text" >
331                <string>CITY, CAMPUS</string>
332               </property>
333              </widget>
334             </item>
335             <item row="1" column="2" >
336              <widget class="QPushButton" name="showMapButton" >
337               <property name="text" >
338                <string>MAP</string>
339               </property>
340              </widget>
341             </item>
342             <item row="1" column="3" >
343              <spacer name="horizontalSpacer_3" >
344               <property name="orientation" >
345                <enum>Qt::Horizontal</enum>
346               </property>
347               <property name="sizeHint" stdset="0" >
348                <size>
349                 <width>40</width>
350                 <height>20</height>
351                </size>
352               </property>
353              </spacer>
354             </item>
355            </layout>
356           </item>
357           <item>
358            <spacer name="verticalSpacer" >
359             <property name="orientation" >
360              <enum>Qt::Vertical</enum>
361             </property>
362             <property name="sizeHint" stdset="0" >
363              <size>
364               <width>20</width>
365               <height>40</height>
366              </size>
367             </property>
368            </spacer>
369           </item>
370          </layout>
371         </item>
372        </layout>
373       </widget>
374       <widget class="QWidget" name="tab" >
375        <attribute name="title" >
376         <string>Now</string>
377        </attribute>
378        <layout class="QGridLayout" name="gridLayout_7" >
379         <item row="0" column="0" >
380          <widget class="TreeView" name="nowTreeView" />
381         </item>
382        </layout>
383       </widget>
384      </widget>
385     </item>
386    </layout>
387   </widget>
388   <widget class="QMenuBar" name="menubar" >
389    <property name="geometry" >
390     <rect>
391      <x>0</x>
392      <y>0</y>
393      <width>935</width>
394      <height>26</height>
395     </rect>
396    </property>
397    <widget class="QMenu" name="menuFile" >
398     <property name="title" >
399      <string>File</string>
400     </property>
401     <addaction name="actionImportSchedule" />
402     <addaction name="actionQuit" />
403    </widget>
404    <widget class="QMenu" name="menuAbout" >
405     <property name="title" >
406      <string>Help</string>
407     </property>
408     <addaction name="actionAboutQt" />
409     <addaction name="actionAboutApplication" />
410    </widget>
411    <addaction name="menuAbout" />
412    <addaction name="menuFile" />
413   </widget>
414   <widget class="QStatusBar" name="statusbar" />
415   <action name="actionImportSchedule" >
416    <property name="text" >
417     <string>Import Schedule</string>
418    </property>
419   </action>
420   <action name="actionAboutQt" >
421    <property name="text" >
422     <string>About Qt</string>
423    </property>
424   </action>
425   <action name="actionAboutApplication" >
426    <property name="text" >
427     <string>About application</string>
428    </property>
429   </action>
430   <action name="actionQuit" >
431    <property name="text" >
432     <string>Quit</string>
433    </property>
434   </action>
435  </widget>
436  <customwidgets>
437   <customwidget>
438    <class>DayNavigatorWidget</class>
439    <extends>QWidget</extends>
440    <header>daynavigatorwidget.h</header>
441    <container>1</container>
442   </customwidget>
443   <customwidget>
444    <class>TreeView</class>
445    <extends>QTreeView</extends>
446    <header>../mvc/treeview.h</header>
447   </customwidget>
448  </customwidgets>
449  <resources/>
450  <connections>
451   <connection>
452    <sender>actionQuit</sender>
453    <signal>triggered()</signal>
454    <receiver>MainWindow</receiver>
455    <slot>close()</slot>
456    <hints>
457     <hint type="sourcelabel" >
458      <x>-1</x>
459      <y>-1</y>
460     </hint>
461     <hint type="destinationlabel" >
462      <x>266</x>
463      <y>187</y>
464     </hint>
465    </hints>
466   </connection>
467  </connections>
468 </ui>