76ef13c5bce21fe1fec239800a2a6aefce4e3dfd
[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="TabWidget" name="tabWidget" >
25       <property name="currentIndex" >
26        <number>5</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" native="1" name="searchVerticalWidget" >
128           <property name="enabled" >
129            <bool>true</bool>
130           </property>
131           <property name="sizePolicy" >
132            <sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
133             <horstretch>0</horstretch>
134             <verstretch>0</verstretch>
135            </sizepolicy>
136           </property>
137           <layout class="QVBoxLayout" name="searchDayNavigatorVerticalLayout" >
138            <item>
139             <widget class="QToolButton" name="searchAgainButton" >
140              <property name="toolTip" >
141               <string>Search again</string>
142              </property>
143              <property name="text" >
144               <string>S</string>
145              </property>
146              <property name="toolButtonStyle" >
147               <enum>Qt::ToolButtonTextOnly</enum>
148              </property>
149             </widget>
150            </item>
151            <item>
152             <widget class="DayNavigatorWidget" native="1" name="searchDayNavigator" >
153              <property name="maximumSize" >
154               <size>
155                <width>16777215</width>
156                <height>16777215</height>
157               </size>
158              </property>
159             </widget>
160            </item>
161           </layout>
162          </widget>
163         </item>
164         <item>
165          <layout class="QVBoxLayout" name="verticalLayout_3" >
166           <item>
167            <widget class="QWidget" native="1" name="searchHead" >
168             <property name="sizePolicy" >
169              <sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
170               <horstretch>0</horstretch>
171               <verstretch>0</verstretch>
172              </sizepolicy>
173             </property>
174             <property name="maximumSize" >
175              <size>
176               <width>16777215</width>
177               <height>16777215</height>
178              </size>
179             </property>
180             <layout class="QGridLayout" name="searchHeadLayout" >
181              <property name="sizeConstraint" >
182               <enum>QLayout::SetDefaultConstraint</enum>
183              </property>
184              <item row="2" column="0" >
185               <layout class="QHBoxLayout" name="horizontalLayout" >
186                <item>
187                 <widget class="QLineEdit" name="searchEdit" >
188                  <property name="enabled" >
189                   <bool>true</bool>
190                  </property>
191                  <property name="toolTip" >
192                   <string>type a keyword to search</string>
193                  </property>
194                 </widget>
195                </item>
196                <item>
197                 <widget class="QPushButton" name="searchButton" >
198                  <property name="text" >
199                   <string>Search</string>
200                  </property>
201                  <property name="checkable" >
202                   <bool>false</bool>
203                  </property>
204                  <property name="autoDefault" >
205                   <bool>true</bool>
206                  </property>
207                  <property name="default" >
208                   <bool>true</bool>
209                  </property>
210                  <property name="flat" >
211                   <bool>false</bool>
212                  </property>
213                 </widget>
214                </item>
215               </layout>
216              </item>
217              <item row="0" column="0" >
218               <layout class="QHBoxLayout" name="horizontalLayout_6" >
219                <item>
220                 <widget class="QCheckBox" name="searchTitle" >
221                  <property name="text" >
222                   <string>Title</string>
223                  </property>
224                  <property name="checked" >
225                   <bool>true</bool>
226                  </property>
227                 </widget>
228                </item>
229                <item>
230                 <widget class="QCheckBox" name="searchAbstract" >
231                  <property name="text" >
232                   <string>Abstract</string>
233                  </property>
234                 </widget>
235                </item>
236                <item>
237                 <widget class="QCheckBox" name="searchSpeaker" >
238                  <property name="text" >
239                   <string>Speaker</string>
240                  </property>
241                 </widget>
242                </item>
243                <item>
244                 <widget class="QCheckBox" name="searchTag" >
245                  <property name="text" >
246                   <string>Tag</string>
247                  </property>
248                 </widget>
249                </item>
250                <item>
251                 <widget class="QCheckBox" name="searchRoom" >
252                  <property name="text" >
253                   <string>Room</string>
254                  </property>
255                 </widget>
256                </item>
257                <item>
258                 <spacer name="horizontalSpacer" >
259                  <property name="orientation" >
260                   <enum>Qt::Horizontal</enum>
261                  </property>
262                  <property name="sizeHint" stdset="0" >
263                   <size>
264                    <width>40</width>
265                    <height>20</height>
266                   </size>
267                  </property>
268                 </spacer>
269                </item>
270               </layout>
271              </item>
272             </layout>
273            </widget>
274           </item>
275           <item>
276            <widget class="TreeView" name="searchTreeView" >
277             <property name="sizePolicy" >
278              <sizepolicy vsizetype="MinimumExpanding" hsizetype="Expanding" >
279               <horstretch>0</horstretch>
280               <verstretch>1</verstretch>
281              </sizepolicy>
282             </property>
283             <property name="minimumSize" >
284              <size>
285               <width>0</width>
286               <height>0</height>
287              </size>
288             </property>
289             <property name="maximumSize" >
290              <size>
291               <width>16777215</width>
292               <height>16777215</height>
293              </size>
294             </property>
295            </widget>
296           </item>
297           <item>
298            <spacer name="verticalSpacer_2" >
299             <property name="orientation" >
300              <enum>Qt::Vertical</enum>
301             </property>
302             <property name="sizeType" >
303              <enum>QSizePolicy::Expanding</enum>
304             </property>
305             <property name="sizeHint" stdset="0" >
306              <size>
307               <width>20</width>
308               <height>1</height>
309              </size>
310             </property>
311            </spacer>
312           </item>
313          </layout>
314         </item>
315        </layout>
316       </widget>
317       <widget class="QWidget" name="roomsTab" >
318        <attribute name="title" >
319         <string>Rooms</string>
320        </attribute>
321        <layout class="QGridLayout" name="gridLayout_8" >
322         <item row="0" column="0" >
323          <layout class="QHBoxLayout" name="horizontalLayout_5" >
324           <property name="sizeConstraint" >
325            <enum>QLayout::SetDefaultConstraint</enum>
326           </property>
327           <item>
328            <widget class="DayNavigatorWidget" native="1" name="roomDayNavigator" />
329           </item>
330           <item>
331            <widget class="TreeView" name="roomTreeView" >
332             <property name="maximumSize" >
333              <size>
334               <width>16777215</width>
335               <height>16777215</height>
336              </size>
337             </property>
338            </widget>
339           </item>
340          </layout>
341         </item>
342        </layout>
343       </widget>
344       <widget class="QWidget" name="conferenceTab" >
345        <attribute name="title" >
346         <string>Conference</string>
347        </attribute>
348        <layout class="QGridLayout" name="gridLayout_5" >
349         <item row="0" column="0" >
350          <layout class="QVBoxLayout" name="verticalLayout_4" >
351           <item>
352            <widget class="QLabel" name="conferenceTitle" >
353             <property name="font" >
354              <font>
355               <weight>75</weight>
356               <bold>true</bold>
357              </font>
358             </property>
359             <property name="text" >
360              <string>Conference Name</string>
361             </property>
362             <property name="alignment" >
363              <set>Qt::AlignCenter</set>
364             </property>
365             <property name="wordWrap" >
366              <bool>true</bool>
367             </property>
368            </widget>
369           </item>
370           <item>
371            <widget class="QLabel" name="conferenceSubtitle" >
372             <property name="text" >
373              <string>Conference Subtitle</string>
374             </property>
375             <property name="alignment" >
376              <set>Qt::AlignCenter</set>
377             </property>
378             <property name="wordWrap" >
379              <bool>true</bool>
380             </property>
381            </widget>
382           </item>
383           <item>
384            <widget class="Line" name="line" >
385             <property name="orientation" >
386              <enum>Qt::Horizontal</enum>
387             </property>
388            </widget>
389           </item>
390           <item>
391            <layout class="QGridLayout" name="gridLayout_6" >
392             <item row="0" column="0" >
393              <widget class="QLabel" name="label" >
394               <property name="font" >
395                <font>
396                 <weight>75</weight>
397                 <italic>true</italic>
398                 <bold>true</bold>
399                </font>
400               </property>
401               <property name="text" >
402                <string>When:</string>
403               </property>
404              </widget>
405             </item>
406             <item row="1" column="0" >
407              <widget class="QLabel" name="label_2" >
408               <property name="font" >
409                <font>
410                 <weight>75</weight>
411                 <italic>true</italic>
412                 <bold>true</bold>
413                </font>
414               </property>
415               <property name="text" >
416                <string>Where:</string>
417               </property>
418              </widget>
419             </item>
420             <item row="0" column="2" >
421              <widget class="QLabel" name="conferenceWhen" >
422               <property name="text" >
423                <string>DATE (FROM - TO)</string>
424               </property>
425              </widget>
426             </item>
427             <item row="1" column="2" >
428              <widget class="QLabel" name="conferenceWhere" >
429               <property name="text" >
430                <string>CITY, CAMPUS</string>
431               </property>
432              </widget>
433             </item>
434             <item row="1" column="3" >
435              <widget class="QPushButton" name="showMapButton" >
436               <property name="text" >
437                <string>MAP</string>
438               </property>
439               <property name="icon" >
440                <iconset resource="../icons.qrc" >
441                 <normaloff>:/icons/compassBig.png</normaloff>:/icons/compassBig.png</iconset>
442               </property>
443               <property name="flat" >
444                <bool>true</bool>
445               </property>
446              </widget>
447             </item>
448             <item row="1" column="4" >
449              <spacer name="horizontalSpacer_3" >
450               <property name="orientation" >
451                <enum>Qt::Horizontal</enum>
452               </property>
453               <property name="sizeHint" stdset="0" >
454                <size>
455                 <width>40</width>
456                 <height>20</height>
457                </size>
458               </property>
459              </spacer>
460             </item>
461             <item row="0" column="1" >
462              <widget class="QLabel" name="spacer" >
463               <property name="text" >
464                <string>   </string>
465               </property>
466              </widget>
467             </item>
468            </layout>
469           </item>
470           <item>
471            <widget class="Line" name="line_2" >
472             <property name="orientation" >
473              <enum>Qt::Horizontal</enum>
474             </property>
475            </widget>
476           </item>
477           <item>
478            <spacer name="verticalSpacer" >
479             <property name="orientation" >
480              <enum>Qt::Vertical</enum>
481             </property>
482             <property name="sizeHint" stdset="0" >
483              <size>
484               <width>20</width>
485               <height>40</height>
486              </size>
487             </property>
488            </spacer>
489           </item>
490          </layout>
491         </item>
492        </layout>
493       </widget>
494       <widget class="QWidget" name="tab" >
495        <attribute name="title" >
496         <string>Now</string>
497        </attribute>
498        <layout class="QGridLayout" name="gridLayout_7" >
499         <item row="0" column="0" >
500          <widget class="TreeView" name="nowTreeView" />
501         </item>
502        </layout>
503       </widget>
504      </widget>
505     </item>
506    </layout>
507   </widget>
508   <widget class="QMenuBar" name="menubar" >
509    <property name="geometry" >
510     <rect>
511      <x>0</x>
512      <y>0</y>
513      <width>935</width>
514      <height>26</height>
515     </rect>
516    </property>
517    <widget class="QMenu" name="menuFile" >
518     <property name="title" >
519      <string>File</string>
520     </property>
521     <addaction name="actionImportSchedule" />
522     <addaction name="actionQuit" />
523    </widget>
524    <widget class="QMenu" name="menuAbout" >
525     <property name="title" >
526      <string>Help</string>
527     </property>
528     <addaction name="actionAboutQt" />
529     <addaction name="actionAboutApplication" />
530    </widget>
531    <addaction name="menuAbout" />
532    <addaction name="menuFile" />
533   </widget>
534   <widget class="QStatusBar" name="statusbar" />
535   <action name="actionImportSchedule" >
536    <property name="text" >
537     <string>Import Schedule</string>
538    </property>
539   </action>
540   <action name="actionAboutQt" >
541    <property name="text" >
542     <string>About Qt</string>
543    </property>
544   </action>
545   <action name="actionAboutApplication" >
546    <property name="text" >
547     <string>About application</string>
548    </property>
549   </action>
550   <action name="actionQuit" >
551    <property name="text" >
552     <string>Quit</string>
553    </property>
554   </action>
555  </widget>
556  <customwidgets>
557   <customwidget>
558    <class>DayNavigatorWidget</class>
559    <extends>QWidget</extends>
560    <header>daynavigatorwidget.h</header>
561    <container>1</container>
562   </customwidget>
563   <customwidget>
564    <class>TreeView</class>
565    <extends>QTreeView</extends>
566    <header>../mvc/treeview.h</header>
567   </customwidget>
568   <customwidget>
569    <class>TabWidget</class>
570    <extends>QTabWidget</extends>
571    <header>tabwidget.h</header>
572    <container>1</container>
573   </customwidget>
574  </customwidgets>
575  <resources>
576   <include location="../icons.qrc" />
577  </resources>
578  <connections>
579   <connection>
580    <sender>actionQuit</sender>
581    <signal>triggered()</signal>
582    <receiver>MainWindow</receiver>
583    <slot>close()</slot>
584    <hints>
585     <hint type="sourcelabel" >
586      <x>-1</x>
587      <y>-1</y>
588     </hint>
589     <hint type="destinationlabel" >
590      <x>266</x>
591      <y>187</y>
592     </hint>
593    </hints>
594   </connection>
595  </connections>
596 </ui>