implemented 'tab container' widget, which groups daynavigator with treeview
[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>903</width>
9     <height>498</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          <widget class="TabContainer" native="1" name="dayTabContainer" />
35         </item>
36        </layout>
37       </widget>
38       <widget class="QWidget" name="favouritesTab" >
39        <attribute name="title" >
40         <string>Favourites</string>
41        </attribute>
42        <layout class="QGridLayout" name="gridLayout_3" >
43         <item row="0" column="0" >
44          <widget class="TabContainer" native="1" name="favsTabContainer" />
45         </item>
46        </layout>
47       </widget>
48       <widget class="QWidget" name="tracksTab" >
49        <attribute name="title" >
50         <string>Tracks</string>
51        </attribute>
52        <layout class="QGridLayout" name="gridLayout_4" >
53         <item row="0" column="0" >
54          <widget class="TabContainer" native="1" name="tracksTabContainer" />
55         </item>
56        </layout>
57       </widget>
58       <widget class="QWidget" name="searchTab" >
59        <attribute name="title" >
60         <string>Search</string>
61        </attribute>
62        <layout class="QHBoxLayout" name="horizontalLayout_1" >
63         <item>
64          <widget class="QWidget" native="1" name="searchVerticalWidget" >
65           <property name="enabled" >
66            <bool>true</bool>
67           </property>
68           <property name="sizePolicy" >
69            <sizepolicy vsizetype="Expanding" hsizetype="Minimum" >
70             <horstretch>0</horstretch>
71             <verstretch>0</verstretch>
72            </sizepolicy>
73           </property>
74           <layout class="QVBoxLayout" name="searchDayNavigatorVerticalLayout" >
75            <property name="margin" >
76             <number>0</number>
77            </property>
78            <item>
79             <widget class="QToolButton" name="searchAgainButton" >
80              <property name="sizePolicy" >
81               <sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
82                <horstretch>0</horstretch>
83                <verstretch>0</verstretch>
84               </sizepolicy>
85              </property>
86              <property name="toolTip" >
87               <string>Search again</string>
88              </property>
89              <property name="text" >
90               <string>S</string>
91              </property>
92              <property name="icon" >
93               <iconset resource="../icons.qrc" >
94                <normaloff>:/icons/search.png</normaloff>:/icons/search.png</iconset>
95              </property>
96              <property name="iconSize" >
97               <size>
98                <width>24</width>
99                <height>24</height>
100               </size>
101              </property>
102              <property name="toolButtonStyle" >
103               <enum>Qt::ToolButtonIconOnly</enum>
104              </property>
105             </widget>
106            </item>
107            <item>
108             <widget class="DayNavigatorWidget" native="1" name="searchDayNavigator" >
109              <property name="sizePolicy" >
110               <sizepolicy vsizetype="Expanding" hsizetype="Minimum" >
111                <horstretch>0</horstretch>
112                <verstretch>0</verstretch>
113               </sizepolicy>
114              </property>
115              <property name="maximumSize" >
116               <size>
117                <width>16777215</width>
118                <height>16777215</height>
119               </size>
120              </property>
121             </widget>
122            </item>
123           </layout>
124          </widget>
125         </item>
126         <item>
127          <layout class="QVBoxLayout" name="verticalLayout_3" >
128           <item>
129            <widget class="QWidget" native="1" name="searchHead" >
130             <property name="sizePolicy" >
131              <sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
132               <horstretch>0</horstretch>
133               <verstretch>0</verstretch>
134              </sizepolicy>
135             </property>
136             <property name="maximumSize" >
137              <size>
138               <width>16777215</width>
139               <height>16777215</height>
140              </size>
141             </property>
142             <layout class="QGridLayout" name="searchHeadLayout" >
143              <property name="sizeConstraint" >
144               <enum>QLayout::SetDefaultConstraint</enum>
145              </property>
146              <item row="2" column="0" >
147               <layout class="QHBoxLayout" name="horizontalLayout" >
148                <item>
149                 <widget class="QLineEdit" name="searchEdit" >
150                  <property name="enabled" >
151                   <bool>true</bool>
152                  </property>
153                  <property name="toolTip" >
154                   <string>type a keyword to search</string>
155                  </property>
156                 </widget>
157                </item>
158                <item>
159                 <widget class="QPushButton" name="searchButton" >
160                  <property name="sizePolicy" >
161                   <sizepolicy vsizetype="Minimum" hsizetype="Minimum" >
162                    <horstretch>0</horstretch>
163                    <verstretch>0</verstretch>
164                   </sizepolicy>
165                  </property>
166                  <property name="text" >
167                   <string>Search</string>
168                  </property>
169                  <property name="icon" >
170                   <iconset resource="../icons.qrc" >
171                    <normaloff>:/icons/search.png</normaloff>:/icons/search.png</iconset>
172                  </property>
173                  <property name="checkable" >
174                   <bool>false</bool>
175                  </property>
176                  <property name="autoDefault" >
177                   <bool>true</bool>
178                  </property>
179                  <property name="default" >
180                   <bool>true</bool>
181                  </property>
182                  <property name="flat" >
183                   <bool>false</bool>
184                  </property>
185                 </widget>
186                </item>
187               </layout>
188              </item>
189              <item row="0" column="0" >
190               <layout class="QHBoxLayout" name="horizontalLayout_6" >
191                <item>
192                 <widget class="QCheckBox" name="searchTitle" >
193                  <property name="text" >
194                   <string>Title</string>
195                  </property>
196                  <property name="checked" >
197                   <bool>true</bool>
198                  </property>
199                 </widget>
200                </item>
201                <item>
202                 <widget class="QCheckBox" name="searchAbstract" >
203                  <property name="text" >
204                   <string>Abstract</string>
205                  </property>
206                 </widget>
207                </item>
208                <item>
209                 <widget class="QCheckBox" name="searchSpeaker" >
210                  <property name="text" >
211                   <string>Speaker</string>
212                  </property>
213                 </widget>
214                </item>
215                <item>
216                 <widget class="QCheckBox" name="searchTag" >
217                  <property name="text" >
218                   <string>Tag</string>
219                  </property>
220                 </widget>
221                </item>
222                <item>
223                 <widget class="QCheckBox" name="searchRoom" >
224                  <property name="text" >
225                   <string>Room</string>
226                  </property>
227                 </widget>
228                </item>
229                <item>
230                 <spacer name="horizontalSpacer" >
231                  <property name="orientation" >
232                   <enum>Qt::Horizontal</enum>
233                  </property>
234                  <property name="sizeHint" stdset="0" >
235                   <size>
236                    <width>40</width>
237                    <height>20</height>
238                   </size>
239                  </property>
240                 </spacer>
241                </item>
242               </layout>
243              </item>
244             </layout>
245            </widget>
246           </item>
247           <item>
248            <widget class="TreeView" name="searchTreeView" >
249             <property name="sizePolicy" >
250              <sizepolicy vsizetype="MinimumExpanding" hsizetype="Expanding" >
251               <horstretch>0</horstretch>
252               <verstretch>1</verstretch>
253              </sizepolicy>
254             </property>
255             <property name="minimumSize" >
256              <size>
257               <width>0</width>
258               <height>0</height>
259              </size>
260             </property>
261             <property name="maximumSize" >
262              <size>
263               <width>16777215</width>
264               <height>16777215</height>
265              </size>
266             </property>
267            </widget>
268           </item>
269           <item>
270            <spacer name="verticalSpacer_2" >
271             <property name="orientation" >
272              <enum>Qt::Vertical</enum>
273             </property>
274             <property name="sizeType" >
275              <enum>QSizePolicy::Expanding</enum>
276             </property>
277             <property name="sizeHint" stdset="0" >
278              <size>
279               <width>20</width>
280               <height>1</height>
281              </size>
282             </property>
283            </spacer>
284           </item>
285          </layout>
286         </item>
287        </layout>
288       </widget>
289       <widget class="QWidget" name="roomsTab" >
290        <attribute name="title" >
291         <string>Rooms</string>
292        </attribute>
293        <layout class="QGridLayout" name="gridLayout_8" >
294         <item row="0" column="0" >
295          <widget class="TabContainer" native="1" name="roomsTabContainer" />
296         </item>
297        </layout>
298       </widget>
299       <widget class="QWidget" name="conferenceTab" >
300        <attribute name="title" >
301         <string>Conference</string>
302        </attribute>
303        <layout class="QGridLayout" name="gridLayout_5" >
304         <item row="0" column="0" >
305          <layout class="QVBoxLayout" name="verticalLayout_4" >
306           <item>
307            <widget class="QLabel" name="conferenceTitle" >
308             <property name="font" >
309              <font>
310               <weight>75</weight>
311               <bold>true</bold>
312              </font>
313             </property>
314             <property name="text" >
315              <string>Conference Name</string>
316             </property>
317             <property name="alignment" >
318              <set>Qt::AlignCenter</set>
319             </property>
320             <property name="wordWrap" >
321              <bool>true</bool>
322             </property>
323            </widget>
324           </item>
325           <item>
326            <widget class="QLabel" name="conferenceSubtitle" >
327             <property name="text" >
328              <string>Conference Subtitle</string>
329             </property>
330             <property name="alignment" >
331              <set>Qt::AlignCenter</set>
332             </property>
333             <property name="wordWrap" >
334              <bool>true</bool>
335             </property>
336            </widget>
337           </item>
338           <item>
339            <widget class="Line" name="line" >
340             <property name="orientation" >
341              <enum>Qt::Horizontal</enum>
342             </property>
343            </widget>
344           </item>
345           <item>
346            <layout class="QGridLayout" name="gridLayout_6" >
347             <item row="0" column="0" >
348              <widget class="QLabel" name="label" >
349               <property name="font" >
350                <font>
351                 <weight>75</weight>
352                 <italic>true</italic>
353                 <bold>true</bold>
354                </font>
355               </property>
356               <property name="text" >
357                <string>When:</string>
358               </property>
359              </widget>
360             </item>
361             <item row="1" column="0" >
362              <widget class="QLabel" name="label_2" >
363               <property name="font" >
364                <font>
365                 <weight>75</weight>
366                 <italic>true</italic>
367                 <bold>true</bold>
368                </font>
369               </property>
370               <property name="text" >
371                <string>Where:</string>
372               </property>
373              </widget>
374             </item>
375             <item row="0" column="2" >
376              <widget class="QLabel" name="conferenceWhen" >
377               <property name="text" >
378                <string>DATE (FROM - TO)</string>
379               </property>
380              </widget>
381             </item>
382             <item row="1" column="2" >
383              <widget class="QLabel" name="conferenceWhere" >
384               <property name="text" >
385                <string>CITY, CAMPUS</string>
386               </property>
387              </widget>
388             </item>
389             <item row="1" column="3" >
390              <widget class="QPushButton" name="showMapButton" >
391               <property name="text" >
392                <string>MAP</string>
393               </property>
394               <property name="icon" >
395                <iconset resource="../icons.qrc" >
396                 <normaloff>:/icons/compassBig.png</normaloff>:/icons/compassBig.png</iconset>
397               </property>
398               <property name="flat" >
399                <bool>true</bool>
400               </property>
401              </widget>
402             </item>
403             <item row="1" column="4" >
404              <spacer name="horizontalSpacer_3" >
405               <property name="orientation" >
406                <enum>Qt::Horizontal</enum>
407               </property>
408               <property name="sizeHint" stdset="0" >
409                <size>
410                 <width>40</width>
411                 <height>20</height>
412                </size>
413               </property>
414              </spacer>
415             </item>
416             <item row="0" column="1" >
417              <widget class="QLabel" name="spacer" >
418               <property name="text" >
419                <string/>
420               </property>
421              </widget>
422             </item>
423            </layout>
424           </item>
425           <item>
426            <widget class="Line" name="line_2" >
427             <property name="orientation" >
428              <enum>Qt::Horizontal</enum>
429             </property>
430            </widget>
431           </item>
432           <item>
433            <widget class="ImportScheduleWidget" native="1" name="importScheduleWidget" >
434             <property name="sizePolicy" >
435              <sizepolicy vsizetype="MinimumExpanding" hsizetype="MinimumExpanding" >
436               <horstretch>0</horstretch>
437               <verstretch>0</verstretch>
438              </sizepolicy>
439             </property>
440            </widget>
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="nowTab" >
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="TabContainer" native="1" name="nowTabContainer" />
466         </item>
467        </layout>
468       </widget>
469      </widget>
470     </item>
471    </layout>
472   </widget>
473   <widget class="QStatusBar" name="statusbar" />
474  </widget>
475  <customwidgets>
476   <customwidget>
477    <class>DayNavigatorWidget</class>
478    <extends>QWidget</extends>
479    <header>daynavigatorwidget.h</header>
480    <container>1</container>
481   </customwidget>
482   <customwidget>
483    <class>TreeView</class>
484    <extends>QTreeView</extends>
485    <header>../mvc/treeview.h</header>
486   </customwidget>
487   <customwidget>
488    <class>TabWidget</class>
489    <extends>QTabWidget</extends>
490    <header>tabwidget.h</header>
491    <container>1</container>
492   </customwidget>
493   <customwidget>
494    <class>ImportScheduleWidget</class>
495    <extends>QWidget</extends>
496    <header>importschedulewidget.h</header>
497    <container>1</container>
498   </customwidget>
499   <customwidget>
500    <class>TabContainer</class>
501    <extends>QWidget</extends>
502    <header>tabcontainer.h</header>
503    <container>1</container>
504   </customwidget>
505  </customwidgets>
506  <resources>
507   <include location="../icons.qrc" />
508  </resources>
509  <connections/>
510 </ui>