implemented NOW tab
[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>654</width>
9     <height>444</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            <widget class="DayNavigatorWidget" native="1" name="dayNavigator" />
37           </item>
38           <item>
39            <widget class="TreeView" name="dayTreeView" >
40             <property name="maximumSize" >
41              <size>
42               <width>16777215</width>
43               <height>16777215</height>
44              </size>
45             </property>
46            </widget>
47           </item>
48          </layout>
49         </item>
50        </layout>
51       </widget>
52       <widget class="QWidget" name="favouritesTab" >
53        <attribute name="title" >
54         <string>Favourites</string>
55        </attribute>
56        <layout class="QGridLayout" name="gridLayout_3" >
57         <item row="0" column="0" >
58          <layout class="QVBoxLayout" name="verticalLayout_2" >
59           <item>
60            <widget class="DayNavigatorWidget" native="1" name="favouriteDayNavigator" />
61           </item>
62           <item>
63            <widget class="TreeView" name="favTreeView" />
64           </item>
65          </layout>
66         </item>
67        </layout>
68       </widget>
69       <widget class="QWidget" name="tracksTab" >
70        <attribute name="title" >
71         <string>Tracks</string>
72        </attribute>
73        <layout class="QGridLayout" name="gridLayout_4" >
74         <item row="0" column="0" >
75          <layout class="QVBoxLayout" name="activitiesVerticalLayout" >
76           <item>
77            <widget class="DayNavigatorWidget" native="1" name="trackDayNavigator" />
78           </item>
79           <item>
80            <widget class="TreeView" name="trackTreeView" >
81             <property name="maximumSize" >
82              <size>
83               <width>16777215</width>
84               <height>16777215</height>
85              </size>
86             </property>
87            </widget>
88           </item>
89          </layout>
90         </item>
91        </layout>
92       </widget>
93       <widget class="QWidget" name="searchTab" >
94        <attribute name="title" >
95         <string>Search</string>
96        </attribute>
97        <layout class="QVBoxLayout" name="verticalLayout_3" >
98         <item>
99          <layout class="QFormLayout" name="searchHeadLayout" >
100           <property name="fieldGrowthPolicy" >
101            <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
102           </property>
103           <item row="0" column="0" >
104            <widget class="QCheckBox" name="searchTitle" >
105             <property name="text" >
106              <string>Title</string>
107             </property>
108            </widget>
109           </item>
110           <item row="0" column="1" >
111            <layout class="QHBoxLayout" name="horizontalLayout" >
112             <item>
113              <widget class="QLineEdit" name="searchEdit" >
114               <property name="enabled" >
115                <bool>true</bool>
116               </property>
117               <property name="toolTip" >
118                <string>type a keyword to search</string>
119               </property>
120              </widget>
121             </item>
122             <item>
123              <widget class="QPushButton" name="searchButton" >
124               <property name="text" >
125                <string>Search</string>
126               </property>
127               <property name="checkable" >
128                <bool>false</bool>
129               </property>
130               <property name="autoDefault" >
131                <bool>false</bool>
132               </property>
133               <property name="default" >
134                <bool>true</bool>
135               </property>
136               <property name="flat" >
137                <bool>false</bool>
138               </property>
139              </widget>
140             </item>
141            </layout>
142           </item>
143           <item row="1" column="0" >
144            <widget class="QCheckBox" name="searchAbstract" >
145             <property name="text" >
146              <string>Abstract</string>
147             </property>
148            </widget>
149           </item>
150          </layout>
151         </item>
152         <item>
153          <layout class="QHBoxLayout" name="searchDayNavigatorHorizontalLayout" >
154           <item>
155            <spacer name="horizontalSpacer_2" >
156             <property name="orientation" >
157              <enum>Qt::Horizontal</enum>
158             </property>
159             <property name="sizeHint" stdset="0" >
160              <size>
161               <width>40</width>
162               <height>20</height>
163              </size>
164             </property>
165            </spacer>
166           </item>
167           <item>
168            <widget class="DayNavigatorWidget" native="1" name="searchDayNavigator" >
169             <property name="maximumSize" >
170              <size>
171               <width>16777215</width>
172               <height>16777215</height>
173              </size>
174             </property>
175            </widget>
176           </item>
177           <item>
178            <spacer name="horizontalSpacer" >
179             <property name="orientation" >
180              <enum>Qt::Horizontal</enum>
181             </property>
182             <property name="sizeHint" stdset="0" >
183              <size>
184               <width>40</width>
185               <height>20</height>
186              </size>
187             </property>
188            </spacer>
189           </item>
190          </layout>
191         </item>
192         <item>
193          <widget class="TreeView" name="searchTreeView" >
194           <property name="maximumSize" >
195            <size>
196             <width>16777215</width>
197             <height>16777215</height>
198            </size>
199           </property>
200          </widget>
201         </item>
202        </layout>
203       </widget>
204       <widget class="QWidget" name="mapTab" >
205        <attribute name="title" >
206         <string>Map</string>
207        </attribute>
208       </widget>
209       <widget class="QWidget" name="conferenceTab" >
210        <attribute name="title" >
211         <string>Conference</string>
212        </attribute>
213        <layout class="QGridLayout" name="gridLayout_5" >
214         <item row="0" column="0" >
215          <layout class="QVBoxLayout" name="verticalLayout_4" >
216           <item>
217            <widget class="QLabel" name="conferenceTitle" >
218             <property name="font" >
219              <font>
220               <weight>75</weight>
221               <bold>true</bold>
222              </font>
223             </property>
224             <property name="text" >
225              <string>Conference Name</string>
226             </property>
227             <property name="alignment" >
228              <set>Qt::AlignCenter</set>
229             </property>
230             <property name="wordWrap" >
231              <bool>true</bool>
232             </property>
233            </widget>
234           </item>
235           <item>
236            <widget class="QLabel" name="conferenceSubtitle" >
237             <property name="text" >
238              <string>Conference Subtitle</string>
239             </property>
240             <property name="alignment" >
241              <set>Qt::AlignCenter</set>
242             </property>
243             <property name="wordWrap" >
244              <bool>true</bool>
245             </property>
246            </widget>
247           </item>
248           <item>
249            <widget class="Line" name="line" >
250             <property name="orientation" >
251              <enum>Qt::Horizontal</enum>
252             </property>
253            </widget>
254           </item>
255           <item>
256            <layout class="QGridLayout" name="gridLayout_6" >
257             <item row="0" column="0" >
258              <widget class="QLabel" name="label" >
259               <property name="text" >
260                <string>When:</string>
261               </property>
262              </widget>
263             </item>
264             <item row="1" column="0" >
265              <widget class="QLabel" name="label_2" >
266               <property name="text" >
267                <string>Where:</string>
268               </property>
269              </widget>
270             </item>
271             <item row="0" column="1" >
272              <widget class="QLabel" name="conferenceWhen" >
273               <property name="text" >
274                <string>DATE (FROM - TO)</string>
275               </property>
276              </widget>
277             </item>
278             <item row="1" column="1" >
279              <widget class="QLabel" name="conferenceWhere" >
280               <property name="text" >
281                <string>CITY, CAMPUS</string>
282               </property>
283              </widget>
284             </item>
285             <item row="1" column="2" >
286              <widget class="QPushButton" name="showMapButton" >
287               <property name="text" >
288                <string>MAP</string>
289               </property>
290              </widget>
291             </item>
292             <item row="1" column="3" >
293              <spacer name="horizontalSpacer_3" >
294               <property name="orientation" >
295                <enum>Qt::Horizontal</enum>
296               </property>
297               <property name="sizeHint" stdset="0" >
298                <size>
299                 <width>40</width>
300                 <height>20</height>
301                </size>
302               </property>
303              </spacer>
304             </item>
305            </layout>
306           </item>
307           <item>
308            <spacer name="verticalSpacer" >
309             <property name="orientation" >
310              <enum>Qt::Vertical</enum>
311             </property>
312             <property name="sizeHint" stdset="0" >
313              <size>
314               <width>20</width>
315               <height>40</height>
316              </size>
317             </property>
318            </spacer>
319           </item>
320          </layout>
321         </item>
322        </layout>
323       </widget>
324       <widget class="QWidget" name="tab" >
325        <attribute name="title" >
326         <string>Now</string>
327        </attribute>
328        <layout class="QGridLayout" name="gridLayout_7" >
329         <item row="0" column="0" >
330          <widget class="TreeView" name="nowTreeView" />
331         </item>
332        </layout>
333       </widget>
334      </widget>
335     </item>
336    </layout>
337   </widget>
338   <widget class="QMenuBar" name="menubar" >
339    <property name="geometry" >
340     <rect>
341      <x>0</x>
342      <y>0</y>
343      <width>654</width>
344      <height>22</height>
345     </rect>
346    </property>
347    <widget class="QMenu" name="menuFile" >
348     <property name="title" >
349      <string>File</string>
350     </property>
351     <addaction name="actionImportSchedule" />
352     <addaction name="actionQuit" />
353    </widget>
354    <widget class="QMenu" name="menuAbout" >
355     <property name="title" >
356      <string>Help</string>
357     </property>
358     <addaction name="actionAboutQt" />
359     <addaction name="actionAboutApplication" />
360    </widget>
361    <addaction name="menuAbout" />
362    <addaction name="menuFile" />
363   </widget>
364   <widget class="QStatusBar" name="statusbar" />
365   <action name="actionImportSchedule" >
366    <property name="text" >
367     <string>Import Schedule</string>
368    </property>
369   </action>
370   <action name="actionAboutQt" >
371    <property name="text" >
372     <string>About Qt</string>
373    </property>
374   </action>
375   <action name="actionAboutApplication" >
376    <property name="text" >
377     <string>About application</string>
378    </property>
379   </action>
380   <action name="actionQuit" >
381    <property name="text" >
382     <string>Quit</string>
383    </property>
384   </action>
385  </widget>
386  <customwidgets>
387   <customwidget>
388    <class>DayNavigatorWidget</class>
389    <extends>QWidget</extends>
390    <header>daynavigatorwidget.h</header>
391    <container>1</container>
392   </customwidget>
393   <customwidget>
394    <class>TreeView</class>
395    <extends>QTreeView</extends>
396    <header>../mvc/treeview.h</header>
397   </customwidget>
398  </customwidgets>
399  <resources/>
400  <connections>
401   <connection>
402    <sender>actionQuit</sender>
403    <signal>triggered()</signal>
404    <receiver>MainWindow</receiver>
405    <slot>close()</slot>
406    <hints>
407     <hint type="sourcelabel" >
408      <x>-1</x>
409      <y>-1</y>
410     </hint>
411     <hint type="destinationlabel" >
412      <x>266</x>
413      <y>187</y>
414     </hint>
415    </hints>
416   </connection>
417  </connections>
418 </ui>