e84bf402fd741d6e8e21915239b940a7be3e854a
[gpssportsniffer] / settingsWindow.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>SettingsWindow</class>
4  <widget class="QDialog" name="SettingsWindow">
5   <property name="windowModality">
6    <enum>Qt::ApplicationModal</enum>
7   </property>
8   <property name="geometry">
9    <rect>
10     <x>0</x>
11     <y>0</y>
12     <width>800</width>
13     <height>430</height>
14    </rect>
15   </property>
16   <property name="windowTitle">
17    <string>Settings</string>
18   </property>
19   <widget class="QWidget" name="formLayoutWidget">
20    <property name="geometry">
21     <rect>
22      <x>10</x>
23      <y>0</y>
24      <width>771</width>
25      <height>371</height>
26     </rect>
27    </property>
28    <layout class="QFormLayout" name="formLayout">
29     <property name="sizeConstraint">
30      <enum>QLayout::SetDefaultConstraint</enum>
31     </property>
32     <property name="fieldGrowthPolicy">
33      <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
34     </property>
35     <property name="formAlignment">
36      <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
37     </property>
38     <item row="0" column="0">
39      <widget class="QLabel" name="activityLabel">
40       <property name="text">
41        <string>Activity</string>
42       </property>
43      </widget>
44     </item>
45     <item row="0" column="1">
46      <widget class="QComboBox" name="typeActivity">
47       <item>
48        <property name="text">
49         <string>Walking</string>
50        </property>
51       </item>
52       <item>
53        <property name="text">
54         <string>Running</string>
55        </property>
56       </item>
57       <item>
58        <property name="text">
59         <string>Cycling</string>
60        </property>
61       </item>
62       <item>
63        <property name="text">
64         <string>Skiing</string>
65        </property>
66       </item>
67      </widget>
68     </item>
69     <item row="1" column="0">
70      <widget class="QLabel" name="label_3">
71       <property name="text">
72        <string>Color</string>
73       </property>
74      </widget>
75     </item>
76     <item row="1" column="1">
77      <layout class="QHBoxLayout" name="horizontalLayout_3">
78       <item>
79        <widget class="QLabel" name="colorLabel">
80         <property name="sizePolicy">
81          <sizepolicy hsizetype="Preferred" vsizetype="Maximum">
82           <horstretch>0</horstretch>
83           <verstretch>0</verstretch>
84          </sizepolicy>
85         </property>
86         <property name="text">
87          <string/>
88         </property>
89        </widget>
90       </item>
91       <item>
92        <widget class="QPushButton" name="colorButton">
93         <property name="sizePolicy">
94          <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
95           <horstretch>0</horstretch>
96           <verstretch>0</verstretch>
97          </sizepolicy>
98         </property>
99         <property name="text">
100          <string>select color</string>
101         </property>
102        </widget>
103       </item>
104      </layout>
105     </item>
106     <item row="2" column="0">
107      <widget class="QLabel" name="gpsLabel">
108       <property name="text">
109        <string>GPS Interval</string>
110       </property>
111      </widget>
112     </item>
113     <item row="2" column="1">
114      <widget class="QComboBox" name="gpsInterval">
115       <item>
116        <property name="text">
117         <string>2 seg</string>
118        </property>
119       </item>
120       <item>
121        <property name="text">
122         <string>5 seg</string>
123        </property>
124       </item>
125       <item>
126        <property name="text">
127         <string>10 seg</string>
128        </property>
129       </item>
130       <item>
131        <property name="text">
132         <string>20 seg</string>
133        </property>
134       </item>
135       <item>
136        <property name="text">
137         <string>30 seg</string>
138        </property>
139       </item>
140       <item>
141        <property name="text">
142         <string>1 min</string>
143        </property>
144       </item>
145      </widget>
146     </item>
147     <item row="3" column="0">
148      <widget class="QLabel" name="mapLabel">
149       <property name="text">
150        <string>Map Type</string>
151       </property>
152      </widget>
153     </item>
154     <item row="3" column="1">
155      <widget class="QComboBox" name="mapsType">
156       <item>
157        <property name="text">
158         <string>GoogleMaps (World)</string>
159        </property>
160       </item>
161       <item>
162        <property name="text">
163         <string>ICC Maps (Catalunya)</string>
164        </property>
165       </item>
166       <item>
167        <property name="text">
168         <string>OpenCycleMaps (World)</string>
169        </property>
170       </item>
171       <item>
172        <property name="text">
173         <string>OpenStreetMaps (World)</string>
174        </property>
175       </item>
176      </widget>
177     </item>
178     <item row="4" column="0">
179      <widget class="QLabel" name="label">
180       <property name="text">
181        <string>Mode</string>
182       </property>
183      </widget>
184     </item>
185     <item row="4" column="1">
186      <layout class="QHBoxLayout" name="horizontalLayout_2">
187       <item>
188        <widget class="QRadioButton" name="offLineButton">
189         <property name="text">
190          <string>Offline</string>
191         </property>
192         <attribute name="buttonGroup">
193          <string>buttonGroup</string>
194         </attribute>
195        </widget>
196       </item>
197       <item>
198        <widget class="QRadioButton" name="onlineButton">
199         <property name="text">
200          <string>Online</string>
201         </property>
202         <property name="checked">
203          <bool>true</bool>
204         </property>
205         <attribute name="buttonGroup">
206          <string>buttonGroup</string>
207         </attribute>
208        </widget>
209       </item>
210      </layout>
211     </item>
212     <item row="7" column="0">
213      <widget class="QLabel" name="label_2">
214       <property name="text">
215        <string>XML file</string>
216       </property>
217      </widget>
218     </item>
219     <item row="7" column="1">
220      <layout class="QHBoxLayout" name="horizontalLayout">
221       <item>
222        <widget class="QComboBox" name="fileCombo">
223         <property name="sizePolicy">
224          <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
225           <horstretch>0</horstretch>
226           <verstretch>0</verstretch>
227          </sizepolicy>
228         </property>
229         <property name="editable">
230          <bool>true</bool>
231         </property>
232        </widget>
233       </item>
234       <item>
235        <widget class="QPushButton" name="browseButton">
236         <property name="sizePolicy">
237          <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
238           <horstretch>0</horstretch>
239           <verstretch>0</verstretch>
240          </sizepolicy>
241         </property>
242         <property name="text">
243          <string>browse</string>
244         </property>
245        </widget>
246       </item>
247      </layout>
248     </item>
249     <item row="8" column="1">
250      <widget class="QDialogButtonBox" name="buttonBox">
251       <property name="sizePolicy">
252        <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
253         <horstretch>0</horstretch>
254         <verstretch>0</verstretch>
255        </sizepolicy>
256       </property>
257       <property name="orientation">
258        <enum>Qt::Horizontal</enum>
259       </property>
260       <property name="standardButtons">
261        <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
262       </property>
263      </widget>
264     </item>
265     <item row="6" column="0">
266      <widget class="QLabel" name="xmlTypeLabel">
267       <property name="text">
268        <string>XML type</string>
269       </property>
270      </widget>
271     </item>
272     <item row="6" column="1">
273      <layout class="QHBoxLayout" name="xmlTypeLayout">
274       <item>
275        <widget class="QRadioButton" name="gpxButton">
276         <property name="text">
277          <string>GPX</string>
278         </property>
279         <attribute name="buttonGroup">
280          <string>buttonGroup_2</string>
281         </attribute>
282        </widget>
283       </item>
284       <item>
285        <widget class="QRadioButton" name="tcxButton">
286         <property name="text">
287          <string>TCX</string>
288         </property>
289         <property name="checked">
290          <bool>true</bool>
291         </property>
292         <attribute name="buttonGroup">
293          <string>buttonGroup_2</string>
294         </attribute>
295        </widget>
296       </item>
297      </layout>
298     </item>
299    </layout>
300   </widget>
301   <zorder>formLayoutWidget</zorder>
302   <zorder>offLineButton</zorder>
303   <zorder>onlineButton</zorder>
304  </widget>
305  <resources/>
306  <connections>
307   <connection>
308    <sender>buttonBox</sender>
309    <signal>accepted()</signal>
310    <receiver>SettingsWindow</receiver>
311    <slot>accept()</slot>
312    <hints>
313     <hint type="sourcelabel">
314      <x>248</x>
315      <y>254</y>
316     </hint>
317     <hint type="destinationlabel">
318      <x>157</x>
319      <y>274</y>
320     </hint>
321    </hints>
322   </connection>
323   <connection>
324    <sender>buttonBox</sender>
325    <signal>rejected()</signal>
326    <receiver>SettingsWindow</receiver>
327    <slot>reject()</slot>
328    <hints>
329     <hint type="sourcelabel">
330      <x>316</x>
331      <y>260</y>
332     </hint>
333     <hint type="destinationlabel">
334      <x>286</x>
335      <y>274</y>
336     </hint>
337    </hints>
338   </connection>
339  </connections>
340  <buttongroups>
341   <buttongroup name="buttonGroup"/>
342   <buttongroup name="buttonGroup_2"/>
343  </buttongroups>
344 </ui>