]> ToastFreeware Gitweb - toast/confclerk.git/blob - src/gui/mainwindow.ui
a5e7d6a8f605be2ecf0bd63664194292d88d0c80
[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="conferenceTab" >
233       <attribute name="title" >
234         <string>Conference</string>
235        </attribute>
236        <layout class="QGridLayout" name="gridLayout_5" >
237         <item row="0" column="0" >
238          <layout class="QVBoxLayout" name="verticalLayout_4" >
239           <item>
240            <widget class="QLabel" name="conferenceTitle" >
241             <property name="font" >
242              <font>
243               <weight>75</weight>
244               <bold>true</bold>
245              </font>
246             </property>
247             <property name="text" >
248              <string>Conference Name</string>
249             </property>
250             <property name="alignment" >
251              <set>Qt::AlignCenter</set>
252             </property>
253             <property name="wordWrap" >
254              <bool>true</bool>
255             </property>
256            </widget>
257           </item>
258           <item>
259            <widget class="QLabel" name="conferenceSubtitle" >
260             <property name="text" >
261              <string>Conference Subtitle</string>
262             </property>
263             <property name="alignment" >
264              <set>Qt::AlignCenter</set>
265             </property>
266             <property name="wordWrap" >
267              <bool>true</bool>
268             </property>
269            </widget>
270           </item>
271           <item>
272            <widget class="Line" name="line" >
273             <property name="orientation" >
274              <enum>Qt::Horizontal</enum>
275             </property>
276            </widget>
277           </item>
278           <item>
279            <layout class="QGridLayout" name="gridLayout_6" >
280             <item row="0" column="0" >
281              <widget class="QLabel" name="label" >
282               <property name="text" >
283                <string>When:</string>
284               </property>
285              </widget>
286             </item>
287             <item row="1" column="0" >
288              <widget class="QLabel" name="label_2" >
289               <property name="text" >
290                <string>Where:</string>
291               </property>
292              </widget>
293             </item>
294             <item row="0" column="1" >
295              <widget class="QLabel" name="conferenceWhen" >
296               <property name="text" >
297                <string>DATE (FROM - TO)</string>
298               </property>
299              </widget>
300             </item>
301             <item row="1" column="1" >
302              <widget class="QLabel" name="conferenceWhere" >
303               <property name="text" >
304                <string>CITY, CAMPUS</string>
305               </property>
306              </widget>
307             </item>
308             <item row="1" column="2" >
309              <widget class="QPushButton" name="showMapButton" >
310               <property name="text" >
311                <string>MAP</string>
312               </property>
313              </widget>
314             </item>
315             <item row="1" column="3" >
316              <spacer name="horizontalSpacer_3" >
317               <property name="orientation" >
318                <enum>Qt::Horizontal</enum>
319               </property>
320               <property name="sizeHint" stdset="0" >
321                <size>
322                 <width>40</width>
323                 <height>20</height>
324                </size>
325               </property>
326              </spacer>
327             </item>
328            </layout>
329           </item>
330           <item>
331            <spacer name="verticalSpacer" >
332             <property name="orientation" >
333              <enum>Qt::Vertical</enum>
334             </property>
335             <property name="sizeHint" stdset="0" >
336              <size>
337               <width>20</width>
338               <height>40</height>
339              </size>
340             </property>
341            </spacer>
342           </item>
343          </layout>
344         </item>
345        </layout>
346       </widget>
347       <widget class="QWidget" name="tab" >
348        <attribute name="title" >
349         <string>Now</string>
350        </attribute>
351        <layout class="QGridLayout" name="gridLayout_7" >
352         <item row="0" column="0" >
353          <widget class="TreeView" name="nowTreeView" />
354         </item>
355        </layout>
356       </widget>
357      </widget>
358     </item>
359    </layout>
360   </widget>
361   <widget class="QMenuBar" name="menubar" >
362    <property name="geometry" >
363     <rect>
364      <x>0</x>
365      <y>0</y>
366      <width>654</width>
367      <height>26</height>
368     </rect>
369    </property>
370    <widget class="QMenu" name="menuFile" >
371     <property name="title" >
372      <string>File</string>
373     </property>
374     <addaction name="actionImportSchedule" />
375     <addaction name="actionQuit" />
376    </widget>
377    <widget class="QMenu" name="menuAbout" >
378     <property name="title" >
379      <string>Help</string>
380     </property>
381     <addaction name="actionAboutQt" />
382     <addaction name="actionAboutApplication" />
383    </widget>
384    <addaction name="menuAbout" />
385    <addaction name="menuFile" />
386   </widget>
387   <widget class="QStatusBar" name="statusbar" />
388   <action name="actionImportSchedule" >
389    <property name="text" >
390     <string>Import Schedule</string>
391    </property>
392   </action>
393   <action name="actionAboutQt" >
394    <property name="text" >
395     <string>About Qt</string>
396    </property>
397   </action>
398   <action name="actionAboutApplication" >
399    <property name="text" >
400     <string>About application</string>
401    </property>
402   </action>
403   <action name="actionQuit" >
404    <property name="text" >
405     <string>Quit</string>
406    </property>
407   </action>
408  </widget>
409  <customwidgets>
410   <customwidget>
411    <class>DayNavigatorWidget</class>
412    <extends>QWidget</extends>
413    <header>daynavigatorwidget.h</header>
414    <container>1</container>
415   </customwidget>
416   <customwidget>
417    <class>TreeView</class>
418    <extends>QTreeView</extends>
419    <header>../mvc/treeview.h</header>
420   </customwidget>
421  </customwidgets>
422  <resources/>
423  <connections>
424   <connection>
425    <sender>actionQuit</sender>
426    <signal>triggered()</signal>
427    <receiver>MainWindow</receiver>
428    <slot>close()</slot>
429    <hints>
430     <hint type="sourcelabel" >
431      <x>-1</x>
432      <y>-1</y>
433     </hint>
434     <hint type="destinationlabel" >
435      <x>266</x>
436      <y>187</y>
437     </hint>
438    </hints>
439   </connection>
440  </connections>
441 </ui>