b388bc36b69c4703f0b81780b2048af247905cbd
[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>534</width>
9     <height>375</height>
10    </rect>
11   </property>
12   <property name="windowTitle" >
13    <string>MainWindow</string>
14   </property>
15   <widget class="QWidget" name="centralwidget" >
16    <layout class="QGridLayout" name="gridLayout" >
17     <item row="0" column="0" >
18      <widget class="QTabWidget" name="tabWidget" >
19       <property name="currentIndex" >
20        <number>0</number>
21       </property>
22       <widget class="QWidget" name="dayViewTab" >
23        <attribute name="title" >
24         <string>Day View</string>
25        </attribute>
26        <layout class="QGridLayout" name="gridLayout_2" >
27         <item row="0" column="0" >
28          <layout class="QVBoxLayout" name="verticalLayout" >
29           <item>
30            <widget class="DayNavigatorWidget" native="1" name="dayNavigator" />
31           </item>
32           <item>
33            <widget class="TreeView" name="dayTreeView" >
34             <property name="maximumSize" >
35              <size>
36               <width>16777215</width>
37               <height>16777215</height>
38              </size>
39             </property>
40            </widget>
41           </item>
42          </layout>
43         </item>
44        </layout>
45       </widget>
46       <widget class="QWidget" name="favouritesTab" >
47        <attribute name="title" >
48         <string>Favourites</string>
49        </attribute>
50        <layout class="QGridLayout" name="gridLayout_3" >
51         <item row="0" column="0" >
52          <widget class="TreeView" name="favTreeView" />
53         </item>
54        </layout>
55       </widget>
56       <widget class="QWidget" name="activitiesTab" >
57        <attribute name="title" >
58         <string>Activities</string>
59        </attribute>
60        <widget class="QWidget" name="verticalLayoutWidget" >
61         <property name="geometry" >
62          <rect>
63           <x>0</x>
64           <y>0</y>
65           <width>501</width>
66           <height>231</height>
67          </rect>
68         </property>
69         <layout class="QVBoxLayout" name="activitiesVerticalLayout" >
70          <item>
71           <widget class="DayNavigatorWidget" native="1" name="activityDayNavigator" />
72          </item>
73          <item>
74           <widget class="TreeView" name="activityDayTreeView" >
75            <property name="maximumSize" >
76             <size>
77              <width>16777215</width>
78              <height>16777215</height>
79             </size>
80            </property>
81           </widget>
82          </item>
83         </layout>
84        </widget>
85       </widget>
86       <widget class="QWidget" name="searchTab" >
87        <attribute name="title" >
88         <string>Search</string>
89        </attribute>
90       </widget>
91       <widget class="QWidget" name="mapTab" >
92        <attribute name="title" >
93         <string>Map</string>
94        </attribute>
95       </widget>
96      </widget>
97     </item>
98    </layout>
99   </widget>
100   <widget class="QMenuBar" name="menubar" >
101    <property name="geometry" >
102     <rect>
103      <x>0</x>
104      <y>0</y>
105      <width>534</width>
106      <height>40</height>
107     </rect>
108    </property>
109    <widget class="QMenu" name="menuFile" >
110     <property name="title" >
111      <string>File</string>
112     </property>
113     <addaction name="actionImportSchedule" />
114     <addaction name="actionQuit" />
115    </widget>
116    <widget class="QMenu" name="menuAbout" >
117     <property name="title" >
118      <string>Help</string>
119     </property>
120     <addaction name="actionAboutQt" />
121     <addaction name="actionAboutApplication" />
122    </widget>
123    <addaction name="menuAbout" />
124    <addaction name="menuFile" />
125   </widget>
126   <widget class="QStatusBar" name="statusbar" />
127   <action name="actionImportSchedule" >
128    <property name="text" >
129     <string>Import Schedule</string>
130    </property>
131   </action>
132   <action name="actionAboutQt" >
133    <property name="text" >
134     <string>About Qt</string>
135    </property>
136   </action>
137   <action name="actionAboutApplication" >
138    <property name="text" >
139     <string>About application</string>
140    </property>
141   </action>
142   <action name="actionQuit" >
143    <property name="text" >
144     <string>Quit</string>
145    </property>
146   </action>
147  </widget>
148  <customwidgets>
149   <customwidget>
150    <class>DayNavigatorWidget</class>
151    <extends>QWidget</extends>
152    <header>daynavigatorwidget.h</header>
153    <container>1</container>
154   </customwidget>
155   <customwidget>
156    <class>TreeView</class>
157    <extends>QTreeView</extends>
158    <header>../mvc/treeview.h</header>
159   </customwidget>
160  </customwidgets>
161  <resources/>
162  <connections>
163   <connection>
164    <sender>actionQuit</sender>
165    <signal>triggered()</signal>
166    <receiver>MainWindow</receiver>
167    <slot>close()</slot>
168    <hints>
169     <hint type="sourcelabel" >
170      <x>-1</x>
171      <y>-1</y>
172     </hint>
173     <hint type="destinationlabel" >
174      <x>266</x>
175      <y>187</y>
176     </hint>
177    </hints>
178   </connection>
179  </connections>
180 </ui>