021d64e08040d365ffab816138dde506baffbb27
[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>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" 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="text" >
395                <string>When:</string>
396               </property>
397              </widget>
398             </item>
399             <item row="1" column="0" >
400              <widget class="QLabel" name="label_2" >
401               <property name="text" >
402                <string>Where:</string>
403               </property>
404              </widget>
405             </item>
406             <item row="0" column="1" >
407              <widget class="QLabel" name="conferenceWhen" >
408               <property name="text" >
409                <string>DATE (FROM - TO)</string>
410               </property>
411              </widget>
412             </item>
413             <item row="1" column="1" >
414              <widget class="QLabel" name="conferenceWhere" >
415               <property name="text" >
416                <string>CITY, CAMPUS</string>
417               </property>
418              </widget>
419             </item>
420             <item row="1" column="2" >
421              <widget class="QPushButton" name="showMapButton" >
422               <property name="text" >
423                <string>MAP</string>
424               </property>
425              </widget>
426             </item>
427             <item row="1" column="3" >
428              <spacer name="horizontalSpacer_3" >
429               <property name="orientation" >
430                <enum>Qt::Horizontal</enum>
431               </property>
432               <property name="sizeHint" stdset="0" >
433                <size>
434                 <width>40</width>
435                 <height>20</height>
436                </size>
437               </property>
438              </spacer>
439             </item>
440            </layout>
441           </item>
442           <item>
443            <spacer name="verticalSpacer" >
444             <property name="orientation" >
445              <enum>Qt::Vertical</enum>
446             </property>
447             <property name="sizeHint" stdset="0" >
448              <size>
449               <width>20</width>
450               <height>40</height>
451              </size>
452             </property>
453            </spacer>
454           </item>
455          </layout>
456         </item>
457        </layout>
458       </widget>
459       <widget class="QWidget" name="tab" >
460        <attribute name="title" >
461         <string>Now</string>
462        </attribute>
463        <layout class="QGridLayout" name="gridLayout_7" >
464         <item row="0" column="0" >
465          <widget class="TreeView" name="nowTreeView" />
466         </item>
467        </layout>
468       </widget>
469      </widget>
470     </item>
471    </layout>
472   </widget>
473   <widget class="QMenuBar" name="menubar" >
474    <property name="geometry" >
475     <rect>
476      <x>0</x>
477      <y>0</y>
478      <width>935</width>
479      <height>26</height>
480     </rect>
481    </property>
482    <widget class="QMenu" name="menuFile" >
483     <property name="title" >
484      <string>File</string>
485     </property>
486     <addaction name="actionImportSchedule" />
487     <addaction name="actionQuit" />
488    </widget>
489    <widget class="QMenu" name="menuAbout" >
490     <property name="title" >
491      <string>Help</string>
492     </property>
493     <addaction name="actionAboutQt" />
494     <addaction name="actionAboutApplication" />
495    </widget>
496    <addaction name="menuAbout" />
497    <addaction name="menuFile" />
498   </widget>
499   <widget class="QStatusBar" name="statusbar" />
500   <action name="actionImportSchedule" >
501    <property name="text" >
502     <string>Import Schedule</string>
503    </property>
504   </action>
505   <action name="actionAboutQt" >
506    <property name="text" >
507     <string>About Qt</string>
508    </property>
509   </action>
510   <action name="actionAboutApplication" >
511    <property name="text" >
512     <string>About application</string>
513    </property>
514   </action>
515   <action name="actionQuit" >
516    <property name="text" >
517     <string>Quit</string>
518    </property>
519   </action>
520  </widget>
521  <customwidgets>
522   <customwidget>
523    <class>DayNavigatorWidget</class>
524    <extends>QWidget</extends>
525    <header>daynavigatorwidget.h</header>
526    <container>1</container>
527   </customwidget>
528   <customwidget>
529    <class>TreeView</class>
530    <extends>QTreeView</extends>
531    <header>../mvc/treeview.h</header>
532   </customwidget>
533   <customwidget>
534    <class>TabWidget</class>
535    <extends>QTabWidget</extends>
536    <header>tabwidget.h</header>
537    <container>1</container>
538   </customwidget>
539  </customwidgets>
540  <resources/>
541  <connections>
542   <connection>
543    <sender>actionQuit</sender>
544    <signal>triggered()</signal>
545    <receiver>MainWindow</receiver>
546    <slot>close()</slot>
547    <hints>
548     <hint type="sourcelabel" >
549      <x>-1</x>
550      <y>-1</y>
551     </hint>
552     <hint type="destinationlabel" >
553      <x>266</x>
554      <y>187</y>
555     </hint>
556    </hints>
557   </connection>
558  </connections>
559 </ui>