forked from wolfmanjm/qtpedometer
/
settings.ui
132 lines (132 loc) · 3.27 KB
/
settings.ui
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<ui version="4.0" >
<class>settingsDlg</class>
<widget class="QDialog" name="settingsDlg" >
<property name="windowModality" >
<enum>Qt::WindowModal</enum>
</property>
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>400</width>
<height>300</height>
</rect>
</property>
<property name="sizePolicy" >
<sizepolicy vsizetype="Expanding" hsizetype="Expanding" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="contextMenuPolicy" >
<enum>Qt::ActionsContextMenu</enum>
</property>
<property name="windowTitle" >
<string>Settings</string>
</property>
<property name="modal" >
<bool>true</bool>
</property>
<layout class="QVBoxLayout" >
<item>
<widget class="QCheckBox" name="metric" >
<property name="text" >
<string>Metric units</string>
</property>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox" >
<property name="title" >
<string>Trip sensitivity</string>
</property>
<layout class="QVBoxLayout" >
<item>
<widget class="QSpinBox" name="sensitivity" >
<property name="font" >
<font>
<pointsize>12</pointsize>
<underline>false</underline>
</font>
</property>
<property name="buttonSymbols" >
<enum>QAbstractSpinBox::UpDownArrows</enum>
</property>
<property name="value" >
<number>10</number>
</property>
</widget>
</item>
<item>
<widget class="QSlider" name="slider_1" >
<property name="value" >
<number>10</number>
</property>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="tickPosition" >
<enum>QSlider::TicksAbove</enum>
</property>
<property name="tickInterval" >
<number>10</number>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_3" >
<property name="text" >
<string>Trip Sensitivity is the number of meters that has to be moved before the trip distance will record it </string>
</property>
<property name="alignment" >
<set>Qt::AlignCenter</set>
</property>
<property name="wordWrap" >
<bool>true</bool>
</property>
<property name="margin" >
<number>4</number>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections>
<connection>
<sender>slider_1</sender>
<signal>valueChanged(int)</signal>
<receiver>sensitivity</receiver>
<slot>setValue(int)</slot>
<hints>
<hint type="sourcelabel" >
<x>139</x>
<y>60</y>
</hint>
<hint type="destinationlabel" >
<x>141</x>
<y>87</y>
</hint>
</hints>
</connection>
<connection>
<sender>sensitivity</sender>
<signal>valueChanged(int)</signal>
<receiver>slider_1</receiver>
<slot>setValue(int)</slot>
<hints>
<hint type="sourcelabel" >
<x>263</x>
<y>93</y>
</hint>
<hint type="destinationlabel" >
<x>257</x>
<y>54</y>
</hint>
</hints>
</connection>
</connections>
</ui>