first working version of the search
[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>609</width>
9     <height>431</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="activitiesTab" >
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="formLayout">
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           <widget class="DayNavigatorWidget" name="searchDayNavigator" native="true">
154            <property name="maximumSize">
155             <size>
156              <width>16777215</width>
157              <height>16777215</height>
158             </size>
159            </property>
160           </widget>
161          </item>
162          <item>
163           <widget class="TreeView" name="searchTreeView">
164            <property name="maximumSize">
165             <size>
166              <width>16777215</width>
167              <height>16777215</height>
168             </size>
169            </property>
170           </widget>
171          </item>
172         </layout>
173       </widget>
174       <widget class="QWidget" name="mapTab" >
175        <attribute name="title" >
176         <string>Map</string>
177        </attribute>
178       </widget>
179      </widget>
180     </item>
181    </layout>
182   </widget>
183   <widget class="QMenuBar" name="menubar" >
184    <property name="geometry" >
185     <rect>
186      <x>0</x>
187      <y>0</y>
188      <width>609</width>
189      <height>22</height>
190     </rect>
191    </property>
192    <widget class="QMenu" name="menuFile" >
193     <property name="title" >
194      <string>File</string>
195     </property>
196     <addaction name="actionImportSchedule" />
197     <addaction name="actionQuit" />
198    </widget>
199    <widget class="QMenu" name="menuAbout" >
200     <property name="title" >
201      <string>Help</string>
202     </property>
203     <addaction name="actionAboutQt" />
204     <addaction name="actionAboutApplication" />
205    </widget>
206    <addaction name="menuAbout" />
207    <addaction name="menuFile" />
208   </widget>
209   <widget class="QStatusBar" name="statusbar" />
210   <action name="actionImportSchedule" >
211    <property name="text" >
212     <string>Import Schedule</string>
213    </property>
214   </action>
215   <action name="actionAboutQt" >
216    <property name="text" >
217     <string>About Qt</string>
218    </property>
219   </action>
220   <action name="actionAboutApplication" >
221    <property name="text" >
222     <string>About application</string>
223    </property>
224   </action>
225   <action name="actionQuit" >
226    <property name="text" >
227     <string>Quit</string>
228    </property>
229   </action>
230  </widget>
231  <customwidgets>
232   <customwidget>
233    <class>DayNavigatorWidget</class>
234    <extends>QWidget</extends>
235    <header>daynavigatorwidget.h</header>
236    <container>1</container>
237   </customwidget>
238   <customwidget>
239    <class>TreeView</class>
240    <extends>QTreeView</extends>
241    <header>../mvc/treeview.h</header>
242   </customwidget>
243  </customwidgets>
244  <resources/>
245  <connections>
246   <connection>
247    <sender>actionQuit</sender>
248    <signal>triggered()</signal>
249    <receiver>MainWindow</receiver>
250    <slot>close()</slot>
251    <hints>
252     <hint type="sourcelabel" >
253      <x>-1</x>
254      <y>-1</y>
255     </hint>
256     <hint type="destinationlabel" >
257      <x>266</x>
258      <y>187</y>
259     </hint>
260    </hints>
261   </connection>
262  </connections>
263 </ui>