a01b8effbccea223cb05a59d8304c71ea9f3918a
[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           <property name="enabled">
129            <bool>true</bool>
130           </property>
131           <property name="sizePolicy">
132            <sizepolicy hsizetype="Preferred" vsizetype="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" name="searchDayNavigator" native="true">
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" name="searchHead" native="true">
168             <property name="sizePolicy">
169              <sizepolicy hsizetype="Preferred" vsizetype="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 hsizetype="Expanding" vsizetype="MinimumExpanding">
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             <attribute name="headerDefaultSectionSize">
296              <number>100</number>
297             </attribute>
298            </widget>
299           </item>
300           <item>
301            <spacer name="verticalSpacer_2">
302             <property name="orientation">
303              <enum>Qt::Vertical</enum>
304             </property>
305             <property name="sizeType">
306              <enum>QSizePolicy::Expanding</enum>
307             </property>
308             <property name="sizeHint" stdset="0">
309              <size>
310               <width>20</width>
311               <height>1</height>
312              </size>
313             </property>
314            </spacer>
315           </item>
316          </layout>
317         </item>
318        </layout>
319       </widget>
320       <widget class="QWidget" name="roomsTab" >
321        <attribute name="title" >
322         <string>Rooms</string>
323        </attribute>
324        <layout class="QGridLayout" name="gridLayout_8" >
325         <item row="0" column="0" >
326          <layout class="QHBoxLayout" name="horizontalLayout_5" >
327           <property name="sizeConstraint" >
328            <enum>QLayout::SetDefaultConstraint</enum>
329           </property>
330           <item>
331            <widget class="DayNavigatorWidget" native="1" name="roomDayNavigator" />
332           </item>
333           <item>
334            <widget class="TreeView" name="roomTreeView" >
335             <property name="maximumSize" >
336              <size>
337               <width>16777215</width>
338               <height>16777215</height>
339              </size>
340             </property>
341            </widget>
342           </item>
343          </layout>
344         </item>
345        </layout>
346       </widget>
347       <widget class="QWidget" name="conferenceTab" >
348        <attribute name="title" >
349         <string>Conference</string>
350        </attribute>
351        <layout class="QGridLayout" name="gridLayout_5" >
352         <item row="0" column="0" >
353          <layout class="QVBoxLayout" name="verticalLayout_4" >
354           <item>
355            <widget class="QLabel" name="conferenceTitle" >
356             <property name="font" >
357              <font>
358               <weight>75</weight>
359               <bold>true</bold>
360              </font>
361             </property>
362             <property name="text" >
363              <string>Conference Name</string>
364             </property>
365             <property name="alignment" >
366              <set>Qt::AlignCenter</set>
367             </property>
368             <property name="wordWrap" >
369              <bool>true</bool>
370             </property>
371            </widget>
372           </item>
373           <item>
374            <widget class="QLabel" name="conferenceSubtitle" >
375             <property name="text" >
376              <string>Conference Subtitle</string>
377             </property>
378             <property name="alignment" >
379              <set>Qt::AlignCenter</set>
380             </property>
381             <property name="wordWrap" >
382              <bool>true</bool>
383             </property>
384            </widget>
385           </item>
386           <item>
387            <widget class="Line" name="line" >
388             <property name="orientation" >
389              <enum>Qt::Horizontal</enum>
390             </property>
391            </widget>
392           </item>
393           <item>
394            <layout class="QGridLayout" name="gridLayout_6" >
395             <item row="0" column="0" >
396              <widget class="QLabel" name="label" >
397               <property name="text" >
398                <string>When:</string>
399               </property>
400              </widget>
401             </item>
402             <item row="1" column="0" >
403              <widget class="QLabel" name="label_2" >
404               <property name="text" >
405                <string>Where:</string>
406               </property>
407              </widget>
408             </item>
409             <item row="0" column="1" >
410              <widget class="QLabel" name="conferenceWhen" >
411               <property name="text" >
412                <string>DATE (FROM - TO)</string>
413               </property>
414              </widget>
415             </item>
416             <item row="1" column="1" >
417              <widget class="QLabel" name="conferenceWhere" >
418               <property name="text" >
419                <string>CITY, CAMPUS</string>
420               </property>
421              </widget>
422             </item>
423             <item row="1" column="2" >
424              <widget class="QPushButton" name="showMapButton" >
425               <property name="text" >
426                <string>MAP</string>
427               </property>
428              </widget>
429             </item>
430             <item row="1" column="3" >
431              <spacer name="horizontalSpacer_3" >
432               <property name="orientation" >
433                <enum>Qt::Horizontal</enum>
434               </property>
435               <property name="sizeHint" stdset="0" >
436                <size>
437                 <width>40</width>
438                 <height>20</height>
439                </size>
440               </property>
441              </spacer>
442             </item>
443            </layout>
444           </item>
445           <item>
446            <spacer name="verticalSpacer" >
447             <property name="orientation" >
448              <enum>Qt::Vertical</enum>
449             </property>
450             <property name="sizeHint" stdset="0" >
451              <size>
452               <width>20</width>
453               <height>40</height>
454              </size>
455             </property>
456            </spacer>
457           </item>
458          </layout>
459         </item>
460        </layout>
461       </widget>
462       <widget class="QWidget" name="tab" >
463        <attribute name="title" >
464         <string>Now</string>
465        </attribute>
466        <layout class="QGridLayout" name="gridLayout_7" >
467         <item row="0" column="0" >
468          <widget class="TreeView" name="nowTreeView" />
469         </item>
470        </layout>
471       </widget>
472      </widget>
473     </item>
474    </layout>
475   </widget>
476   <widget class="QMenuBar" name="menubar" >
477    <property name="geometry" >
478     <rect>
479      <x>0</x>
480      <y>0</y>
481      <width>935</width>
482      <height>26</height>
483     </rect>
484    </property>
485    <widget class="QMenu" name="menuFile" >
486     <property name="title" >
487      <string>File</string>
488     </property>
489     <addaction name="actionImportSchedule" />
490     <addaction name="actionQuit" />
491    </widget>
492    <widget class="QMenu" name="menuAbout" >
493     <property name="title" >
494      <string>Help</string>
495     </property>
496     <addaction name="actionAboutQt" />
497     <addaction name="actionAboutApplication" />
498    </widget>
499    <addaction name="menuAbout" />
500    <addaction name="menuFile" />
501   </widget>
502   <widget class="QStatusBar" name="statusbar" />
503   <action name="actionImportSchedule" >
504    <property name="text" >
505     <string>Import Schedule</string>
506    </property>
507   </action>
508   <action name="actionAboutQt" >
509    <property name="text" >
510     <string>About Qt</string>
511    </property>
512   </action>
513   <action name="actionAboutApplication" >
514    <property name="text" >
515     <string>About application</string>
516    </property>
517   </action>
518   <action name="actionQuit" >
519    <property name="text" >
520     <string>Quit</string>
521    </property>
522   </action>
523  </widget>
524  <customwidgets>
525   <customwidget>
526    <class>DayNavigatorWidget</class>
527    <extends>QWidget</extends>
528    <header>daynavigatorwidget.h</header>
529    <container>1</container>
530   </customwidget>
531   <customwidget>
532    <class>TreeView</class>
533    <extends>QTreeView</extends>
534    <header>../mvc/treeview.h</header>
535   </customwidget>
536  </customwidgets>
537  <resources/>
538  <connections>
539   <connection>
540    <sender>actionQuit</sender>
541    <signal>triggered()</signal>
542    <receiver>MainWindow</receiver>
543    <slot>close()</slot>
544    <hints>
545     <hint type="sourcelabel" >
546      <x>-1</x>
547      <y>-1</y>
548     </hint>
549     <hint type="destinationlabel" >
550      <x>266</x>
551      <y>187</y>
552     </hint>
553    </hints>
554   </connection>
555  </connections>
556 </ui>