b69b00bb59e0445cfd6dd86c46c13d915c364a8a
[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>2</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        <layout class="QGridLayout" name="gridLayout_4" >
61         <item row="0" column="0" >
62          <layout class="QVBoxLayout" name="activitiesVerticalLayout" >
63           <item>
64            <widget class="DayNavigatorWidget" native="1" name="activityDayNavigator" />
65           </item>
66           <item>
67            <widget class="TreeView" name="activityDayTreeView" >
68             <property name="maximumSize" >
69              <size>
70               <width>16777215</width>
71               <height>16777215</height>
72              </size>
73             </property>
74            </widget>
75           </item>
76          </layout>
77         </item>
78        </layout>
79       </widget>
80       <widget class="QWidget" name="searchTab" >
81        <attribute name="title" >
82         <string>Search</string>
83        </attribute>
84       </widget>
85       <widget class="QWidget" name="mapTab" >
86        <attribute name="title" >
87         <string>Map</string>
88        </attribute>
89       </widget>
90      </widget>
91     </item>
92    </layout>
93   </widget>
94   <widget class="QMenuBar" name="menubar" >
95    <property name="geometry" >
96     <rect>
97      <x>0</x>
98      <y>0</y>
99      <width>534</width>
100      <height>22</height>
101     </rect>
102    </property>
103    <widget class="QMenu" name="menuFile" >
104     <property name="title" >
105      <string>File</string>
106     </property>
107     <addaction name="actionImportSchedule" />
108     <addaction name="actionQuit" />
109    </widget>
110    <widget class="QMenu" name="menuAbout" >
111     <property name="title" >
112      <string>Help</string>
113     </property>
114     <addaction name="actionAboutQt" />
115     <addaction name="actionAboutApplication" />
116    </widget>
117    <addaction name="menuAbout" />
118    <addaction name="menuFile" />
119   </widget>
120   <widget class="QStatusBar" name="statusbar" />
121   <action name="actionImportSchedule" >
122    <property name="text" >
123     <string>Import Schedule</string>
124    </property>
125   </action>
126   <action name="actionAboutQt" >
127    <property name="text" >
128     <string>About Qt</string>
129    </property>
130   </action>
131   <action name="actionAboutApplication" >
132    <property name="text" >
133     <string>About application</string>
134    </property>
135   </action>
136   <action name="actionQuit" >
137    <property name="text" >
138     <string>Quit</string>
139    </property>
140   </action>
141  </widget>
142  <customwidgets>
143   <customwidget>
144    <class>DayNavigatorWidget</class>
145    <extends>QWidget</extends>
146    <header>daynavigatorwidget.h</header>
147    <container>1</container>
148   </customwidget>
149   <customwidget>
150    <class>TreeView</class>
151    <extends>QTreeView</extends>
152    <header>../mvc/treeview.h</header>
153   </customwidget>
154  </customwidgets>
155  <resources/>
156  <connections>
157   <connection>
158    <sender>actionQuit</sender>
159    <signal>triggered()</signal>
160    <receiver>MainWindow</receiver>
161    <slot>close()</slot>
162    <hints>
163     <hint type="sourcelabel" >
164      <x>-1</x>
165      <y>-1</y>
166     </hint>
167     <hint type="destinationlabel" >
168      <x>266</x>
169      <y>187</y>
170     </hint>
171    </hints>
172   </connection>
173  </connections>
174 </ui>