]> ToastFreeware Gitweb - toast/confclerk.git/blob - src/gui/mainwindow.ui
0089627754dc82b0e77e966b0e5d0f517ce75ffe
[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            <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="QVBoxLayout" name="verticalLayout_3" >
126         <item>
127          <layout class="QFormLayout" name="searchHeadLayout" >
128           <property name="fieldGrowthPolicy" >
129            <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
130           </property>
131           <item row="0" column="0" >
132            <widget class="QCheckBox" name="searchTitle" >
133             <property name="text" >
134              <string>Title</string>
135             </property>
136            </widget>
137           </item>
138           <item row="0" column="1" >
139            <layout class="QHBoxLayout" name="horizontalLayout" >
140             <item>
141              <widget class="QLineEdit" name="searchEdit" >
142               <property name="enabled" >
143                <bool>true</bool>
144               </property>
145               <property name="toolTip" >
146                <string>type a keyword to search</string>
147               </property>
148              </widget>
149             </item>
150             <item>
151              <widget class="QPushButton" name="searchButton" >
152               <property name="text" >
153                <string>Search</string>
154               </property>
155               <property name="checkable" >
156                <bool>false</bool>
157               </property>
158               <property name="autoDefault" >
159                <bool>false</bool>
160               </property>
161               <property name="default" >
162                <bool>true</bool>
163               </property>
164               <property name="flat" >
165                <bool>false</bool>
166               </property>
167              </widget>
168             </item>
169            </layout>
170           </item>
171           <item row="1" column="0" >
172            <widget class="QCheckBox" name="searchAbstract" >
173             <property name="text" >
174              <string>Abstract</string>
175             </property>
176            </widget>
177           </item>
178          </layout>
179         </item>
180         <item>
181          <layout class="QHBoxLayout" name="searchDayNavigatorHorizontalLayout" >
182           <item>
183            <spacer name="horizontalSpacer_2" >
184             <property name="orientation" >
185              <enum>Qt::Horizontal</enum>
186             </property>
187             <property name="sizeHint" stdset="0" >
188              <size>
189               <width>40</width>
190               <height>20</height>
191              </size>
192             </property>
193            </spacer>
194           </item>
195           <item>
196            <widget class="DayNavigatorWidget" native="1" name="searchDayNavigator" >
197             <property name="maximumSize" >
198              <size>
199               <width>16777215</width>
200               <height>16777215</height>
201              </size>
202             </property>
203            </widget>
204           </item>
205           <item>
206            <spacer name="horizontalSpacer" >
207             <property name="orientation" >
208              <enum>Qt::Horizontal</enum>
209             </property>
210             <property name="sizeHint" stdset="0" >
211              <size>
212               <width>40</width>
213               <height>20</height>
214              </size>
215             </property>
216            </spacer>
217           </item>
218          </layout>
219         </item>
220         <item>
221          <widget class="TreeView" name="searchTreeView" >
222           <property name="maximumSize" >
223            <size>
224             <width>16777215</width>
225             <height>16777215</height>
226            </size>
227           </property>
228          </widget>
229         </item>
230        </layout>
231       </widget>
232       <widget class="QWidget" name="mapTab" >
233        <attribute name="title" >
234         <string>Map</string>
235        </attribute>
236       </widget>
237       <widget class="QWidget" name="conferenceTab" >
238        <attribute name="title" >
239         <string>Conference</string>
240        </attribute>
241        <layout class="QGridLayout" name="gridLayout_5" >
242         <item row="0" column="0" >
243          <layout class="QVBoxLayout" name="verticalLayout_4" >
244           <item>
245            <widget class="QLabel" name="conferenceTitle" >
246             <property name="font" >
247              <font>
248               <weight>75</weight>
249               <bold>true</bold>
250              </font>
251             </property>
252             <property name="text" >
253              <string>Conference Name</string>
254             </property>
255             <property name="alignment" >
256              <set>Qt::AlignCenter</set>
257             </property>
258             <property name="wordWrap" >
259              <bool>true</bool>
260             </property>
261            </widget>
262           </item>
263           <item>
264            <widget class="QLabel" name="conferenceSubtitle" >
265             <property name="text" >
266              <string>Conference Subtitle</string>
267             </property>
268             <property name="alignment" >
269              <set>Qt::AlignCenter</set>
270             </property>
271             <property name="wordWrap" >
272              <bool>true</bool>
273             </property>
274            </widget>
275           </item>
276           <item>
277            <widget class="Line" name="line" >
278             <property name="orientation" >
279              <enum>Qt::Horizontal</enum>
280             </property>
281            </widget>
282           </item>
283           <item>
284            <layout class="QGridLayout" name="gridLayout_6" >
285             <item row="0" column="0" >
286              <widget class="QLabel" name="label" >
287               <property name="text" >
288                <string>When:</string>
289               </property>
290              </widget>
291             </item>
292             <item row="1" column="0" >
293              <widget class="QLabel" name="label_2" >
294               <property name="text" >
295                <string>Where:</string>
296               </property>
297              </widget>
298             </item>
299             <item row="0" column="1" >
300              <widget class="QLabel" name="conferenceWhen" >
301               <property name="text" >
302                <string>DATE (FROM - TO)</string>
303               </property>
304              </widget>
305             </item>
306             <item row="1" column="1" >
307              <widget class="QLabel" name="conferenceWhere" >
308               <property name="text" >
309                <string>CITY, CAMPUS</string>
310               </property>
311              </widget>
312             </item>
313             <item row="1" column="2" >
314              <widget class="QPushButton" name="showMapButton" >
315               <property name="text" >
316                <string>MAP</string>
317               </property>
318              </widget>
319             </item>
320             <item row="1" column="3" >
321              <spacer name="horizontalSpacer_3" >
322               <property name="orientation" >
323                <enum>Qt::Horizontal</enum>
324               </property>
325               <property name="sizeHint" stdset="0" >
326                <size>
327                 <width>40</width>
328                 <height>20</height>
329                </size>
330               </property>
331              </spacer>
332             </item>
333            </layout>
334           </item>
335           <item>
336            <spacer name="verticalSpacer" >
337             <property name="orientation" >
338              <enum>Qt::Vertical</enum>
339             </property>
340             <property name="sizeHint" stdset="0" >
341              <size>
342               <width>20</width>
343               <height>40</height>
344              </size>
345             </property>
346            </spacer>
347           </item>
348          </layout>
349         </item>
350        </layout>
351       </widget>
352       <widget class="QWidget" name="tab" >
353        <attribute name="title" >
354         <string>Now</string>
355        </attribute>
356        <layout class="QGridLayout" name="gridLayout_7" >
357         <item row="0" column="0" >
358          <widget class="TreeView" name="nowTreeView" />
359         </item>
360        </layout>
361       </widget>
362      </widget>
363     </item>
364    </layout>
365   </widget>
366   <widget class="QMenuBar" name="menubar" >
367    <property name="geometry" >
368     <rect>
369      <x>0</x>
370      <y>0</y>
371      <width>654</width>
372      <height>26</height>
373     </rect>
374    </property>
375    <widget class="QMenu" name="menuFile" >
376     <property name="title" >
377      <string>File</string>
378     </property>
379     <addaction name="actionImportSchedule" />
380     <addaction name="actionQuit" />
381    </widget>
382    <widget class="QMenu" name="menuAbout" >
383     <property name="title" >
384      <string>Help</string>
385     </property>
386     <addaction name="actionAboutQt" />
387     <addaction name="actionAboutApplication" />
388    </widget>
389    <addaction name="menuAbout" />
390    <addaction name="menuFile" />
391   </widget>
392   <widget class="QStatusBar" name="statusbar" />
393   <action name="actionImportSchedule" >
394    <property name="text" >
395     <string>Import Schedule</string>
396    </property>
397   </action>
398   <action name="actionAboutQt" >
399    <property name="text" >
400     <string>About Qt</string>
401    </property>
402   </action>
403   <action name="actionAboutApplication" >
404    <property name="text" >
405     <string>About application</string>
406    </property>
407   </action>
408   <action name="actionQuit" >
409    <property name="text" >
410     <string>Quit</string>
411    </property>
412   </action>
413  </widget>
414  <customwidgets>
415   <customwidget>
416    <class>DayNavigatorWidget</class>
417    <extends>QWidget</extends>
418    <header>daynavigatorwidget.h</header>
419    <container>1</container>
420   </customwidget>
421   <customwidget>
422    <class>TreeView</class>
423    <extends>QTreeView</extends>
424    <header>../mvc/treeview.h</header>
425   </customwidget>
426  </customwidgets>
427  <resources/>
428  <connections>
429   <connection>
430    <sender>actionQuit</sender>
431    <signal>triggered()</signal>
432    <receiver>MainWindow</receiver>
433    <slot>close()</slot>
434    <hints>
435     <hint type="sourcelabel" >
436      <x>-1</x>
437      <y>-1</y>
438     </hint>
439     <hint type="destinationlabel" >
440      <x>266</x>
441      <y>187</y>
442     </hint>
443    </hints>
444   </connection>
445  </connections>
446 </ui>