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