comparison MainWindow.ui @ 4:e30f00f760d3 default tip

Cleanup OSTC label and removed url The computer type will now show OSTC 4/5 instead of only 4. The url has been removed because it is no longer maintained. The ui header have been deleted because they are generated files shich should not be under version controll. Delete locally if you want to force an update of the dialog layout.
author Ideenmodellierer
date Sun, 30 Nov 2025 18:37:32 +0100
parents 0b3630a29ad8
children
comparison
equal deleted inserted replaced
3:4ace58a7c03c 4:e30f00f760d3
17 <iconset> 17 <iconset>
18 <normaloff>:/Images/app_OSTC_Companion.svg</normaloff>:/Images/app_OSTC_Companion.svg</iconset> 18 <normaloff>:/Images/app_OSTC_Companion.svg</normaloff>:/Images/app_OSTC_Companion.svg</iconset>
19 </property> 19 </property>
20 <widget class="QWidget" name="centralWidget"> 20 <widget class="QWidget" name="centralWidget">
21 <layout class="QGridLayout" name="gridLayout"> 21 <layout class="QGridLayout" name="gridLayout">
22 <item row="7" column="0" colspan="4"> 22 <item row="0" column="0">
23 <widget class="QToolButton" name="settingsButton">
24 <property name="toolTip">
25 <string>Open the Preferences menu.</string>
26 </property>
27 <property name="text">
28 <string>...</string>
29 </property>
30 <property name="icon">
31 <iconset>
32 <normaloff>:/Images/Settings.svg</normaloff>:/Images/Settings.svg</iconset>
33 </property>
34 </widget>
35 </item>
36 <item row="0" column="2">
37 <spacer name="horizontalSpacer">
38 <property name="orientation">
39 <enum>Qt::Orientation::Horizontal</enum>
40 </property>
41 <property name="sizeType">
42 <enum>QSizePolicy::Policy::Minimum</enum>
43 </property>
44 <property name="sizeHint" stdset="0">
45 <size>
46 <width>8</width>
47 <height>20</height>
48 </size>
49 </property>
50 </spacer>
51 </item>
52 <item row="5" column="2">
53 <widget class="QPushButton" name="editLog">
54 <property name="enabled">
55 <bool>false</bool>
56 </property>
57 <property name="text">
58 <string>Edit Log</string>
59 </property>
60 </widget>
61 </item>
62 <item row="1" column="1">
63 <spacer name="verticalSpacer_2">
64 <property name="orientation">
65 <enum>Qt::Orientation::Vertical</enum>
66 </property>
67 <property name="sizeType">
68 <enum>QSizePolicy::Policy::Minimum</enum>
69 </property>
70 <property name="sizeHint" stdset="0">
71 <size>
72 <width>20</width>
73 <height>0</height>
74 </size>
75 </property>
76 </spacer>
77 </item>
78 <item row="6" column="0" colspan="4">
23 <widget class="QProgressBar" name="progressBar"> 79 <widget class="QProgressBar" name="progressBar">
24 <property name="alignment"> 80 <property name="alignment">
25 <set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set> 81 <set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
26 </property> 82 </property>
27 <property name="textVisible"> 83 <property name="textVisible">
28 <bool>true</bool> 84 <bool>true</bool>
29 </property> 85 </property>
30 </widget> 86 </widget>
31 </item> 87 </item>
32 <item row="0" column="1"> 88 <item row="5" column="1">
33 <widget class="QComboBox" name="computerType"> 89 <spacer name="verticalSpacer_3">
34 <property name="toolTip"> 90 <property name="orientation">
35 <string>H&amp;W dive computer model.</string> 91 <enum>Qt::Orientation::Vertical</enum>
36 </property> 92 </property>
37 <property name="currentIndex"> 93 <property name="sizeType">
38 <number>0</number> 94 <enum>QSizePolicy::Policy::Minimum</enum>
39 </property> 95 </property>
40 <item> 96 <property name="sizeHint" stdset="0">
41 <property name="text"> 97 <size>
42 <string notr="true">OSTC2 mk.2/2n/2c</string> 98 <width>20</width>
43 </property> 99 <height>0</height>
44 </item> 100 </size>
45 <item> 101 </property>
46 <property name="text"> 102 </spacer>
47 <string notr="true">OSTC hwOS (USB)</string> 103 </item>
48 </property> 104 <item row="2" column="2">
49 </item> 105 <spacer name="horizontalSpacer_3">
50 <item> 106 <property name="orientation">
51 <property name="text"> 107 <enum>Qt::Orientation::Horizontal</enum>
52 <string notr="true">OSTC hwOS (Bluetooth)</string> 108 </property>
53 </property> 109 <property name="sizeHint" stdset="0">
54 </item> 110 <size>
55 <item> 111 <width>40</width>
56 <property name="text"> 112 <height>20</height>
57 <string notr="true">OSTC4</string> 113 </size>
58 </property> 114 </property>
59 </item> 115 </spacer>
116 </item>
117 <item row="2" column="1">
118 <widget class="QLabel" name="computerImage">
119 <property name="sizePolicy">
120 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
121 <horstretch>0</horstretch>
122 <verstretch>0</verstretch>
123 </sizepolicy>
124 </property>
125 <property name="minimumSize">
126 <size>
127 <width>160</width>
128 <height>120</height>
129 </size>
130 </property>
131 <property name="maximumSize">
132 <size>
133 <width>160</width>
134 <height>120</height>
135 </size>
136 </property>
137 <property name="text">
138 <string/>
139 </property>
140 <property name="pixmap">
141 <pixmap>:/Images/frog_160x120.png</pixmap>
142 </property>
60 </widget> 143 </widget>
144 </item>
145 <item row="7" column="0" colspan="4">
146 <widget class="QPlainTextEdit" name="console">
147 <property name="minimumSize">
148 <size>
149 <width>0</width>
150 <height>46</height>
151 </size>
152 </property>
153 <property name="frameShadow">
154 <enum>QFrame::Shadow::Sunken</enum>
155 </property>
156 <property name="verticalScrollBarPolicy">
157 <enum>Qt::ScrollBarPolicy::ScrollBarAlwaysOn</enum>
158 </property>
159 <property name="horizontalScrollBarPolicy">
160 <enum>Qt::ScrollBarPolicy::ScrollBarAlwaysOff</enum>
161 </property>
162 <property name="undoRedoEnabled">
163 <bool>false</bool>
164 </property>
165 <property name="readOnly">
166 <bool>true</bool>
167 </property>
168 <property name="centerOnScroll">
169 <bool>false</bool>
170 </property>
171 <property name="tabStopWidth" stdset="0">
172 <number>4</number>
173 </property>
174 </widget>
175 </item>
176 <item row="2" column="0">
177 <spacer name="horizontalSpacer_2">
178 <property name="orientation">
179 <enum>Qt::Orientation::Horizontal</enum>
180 </property>
181 <property name="sizeHint" stdset="0">
182 <size>
183 <width>40</width>
184 <height>20</height>
185 </size>
186 </property>
187 </spacer>
61 </item> 188 </item>
62 <item row="0" column="3" rowspan="6"> 189 <item row="0" column="3" rowspan="6">
63 <layout class="QVBoxLayout" name="verticalLayout"> 190 <layout class="QVBoxLayout" name="verticalLayout">
64 <property name="spacing"> 191 <property name="spacing">
65 <number>0</number> 192 <number>0</number>
191 </property> 318 </property>
192 </widget> 319 </widget>
193 </item> 320 </item>
194 </layout> 321 </layout>
195 </item> 322 </item>
196 <item row="6" column="0" colspan="4"> 323 <item row="0" column="1">
197 <widget class="QLabel" name="companionUrlL"> 324 <widget class="QComboBox" name="computerType">
198 <property name="text">
199 <string notr="true">&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;See us on &lt;a href=&quot;https://ostc-planner.net/wp/companion/&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0000ff;&quot;&gt;ostc-planner.net/wp/companion&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
200 </property>
201 <property name="openExternalLinks">
202 <bool>true</bool>
203 </property>
204 </widget>
205 </item>
206 <item row="2" column="0">
207 <spacer name="horizontalSpacer_2">
208 <property name="orientation">
209 <enum>Qt::Orientation::Horizontal</enum>
210 </property>
211 <property name="sizeHint" stdset="0">
212 <size>
213 <width>40</width>
214 <height>20</height>
215 </size>
216 </property>
217 </spacer>
218 </item>
219 <item row="0" column="0">
220 <widget class="QToolButton" name="settingsButton">
221 <property name="toolTip"> 325 <property name="toolTip">
222 <string>Open the Preferences menu.</string> 326 <string>H&amp;W dive computer model.</string>
223 </property> 327 </property>
224 <property name="text"> 328 <property name="currentIndex">
225 <string>...</string> 329 <number>0</number>
226 </property> 330 </property>
227 <property name="icon"> 331 <item>
228 <iconset> 332 <property name="text">
229 <normaloff>:/Images/Settings.svg</normaloff>:/Images/Settings.svg</iconset> 333 <string notr="true">OSTC 2 mk.2/2n/2c</string>
230 </property> 334 </property>
231 </widget> 335 </item>
232 </item> 336 <item>
233 <item row="8" column="0" colspan="4"> 337 <property name="text">
234 <widget class="QPlainTextEdit" name="console"> 338 <string notr="true">OSTC hwOS (USB)</string>
235 <property name="minimumSize"> 339 </property>
236 <size> 340 </item>
237 <width>0</width> 341 <item>
238 <height>46</height> 342 <property name="text">
239 </size> 343 <string notr="true">OSTC hwOS (Bluetooth)</string>
240 </property> 344 </property>
241 <property name="frameShadow"> 345 </item>
242 <enum>QFrame::Shadow::Sunken</enum> 346 <item>
243 </property> 347 <property name="text">
244 <property name="verticalScrollBarPolicy"> 348 <string notr="true">OSTC 4/5</string>
245 <enum>Qt::ScrollBarPolicy::ScrollBarAlwaysOn</enum> 349 </property>
246 </property> 350 </item>
247 <property name="horizontalScrollBarPolicy">
248 <enum>Qt::ScrollBarPolicy::ScrollBarAlwaysOff</enum>
249 </property>
250 <property name="undoRedoEnabled">
251 <bool>false</bool>
252 </property>
253 <property name="readOnly">
254 <bool>true</bool>
255 </property>
256 <property name="centerOnScroll">
257 <bool>false</bool>
258 </property>
259 <property name="tabStopWidth" stdset="0">
260 <number>4</number>
261 </property>
262 </widget>
263 </item>
264 <item row="2" column="1">
265 <widget class="QLabel" name="computerImage">
266 <property name="sizePolicy">
267 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
268 <horstretch>0</horstretch>
269 <verstretch>0</verstretch>
270 </sizepolicy>
271 </property>
272 <property name="minimumSize">
273 <size>
274 <width>160</width>
275 <height>120</height>
276 </size>
277 </property>
278 <property name="maximumSize">
279 <size>
280 <width>160</width>
281 <height>120</height>
282 </size>
283 </property>
284 <property name="text">
285 <string/>
286 </property>
287 <property name="pixmap">
288 <pixmap>:/Images/frog_160x120.png</pixmap>
289 </property>
290 </widget>
291 </item>
292 <item row="2" column="2">
293 <spacer name="horizontalSpacer_3">
294 <property name="orientation">
295 <enum>Qt::Orientation::Horizontal</enum>
296 </property>
297 <property name="sizeHint" stdset="0">
298 <size>
299 <width>40</width>
300 <height>20</height>
301 </size>
302 </property>
303 </spacer>
304 </item>
305 <item row="0" column="2">
306 <spacer name="horizontalSpacer">
307 <property name="orientation">
308 <enum>Qt::Orientation::Horizontal</enum>
309 </property>
310 <property name="sizeType">
311 <enum>QSizePolicy::Policy::Minimum</enum>
312 </property>
313 <property name="sizeHint" stdset="0">
314 <size>
315 <width>8</width>
316 <height>20</height>
317 </size>
318 </property>
319 </spacer>
320 </item>
321 <item row="5" column="1">
322 <spacer name="verticalSpacer_3">
323 <property name="orientation">
324 <enum>Qt::Orientation::Vertical</enum>
325 </property>
326 <property name="sizeType">
327 <enum>QSizePolicy::Policy::Minimum</enum>
328 </property>
329 <property name="sizeHint" stdset="0">
330 <size>
331 <width>20</width>
332 <height>0</height>
333 </size>
334 </property>
335 </spacer>
336 </item>
337 <item row="1" column="1">
338 <spacer name="verticalSpacer_2">
339 <property name="orientation">
340 <enum>Qt::Orientation::Vertical</enum>
341 </property>
342 <property name="sizeType">
343 <enum>QSizePolicy::Policy::Minimum</enum>
344 </property>
345 <property name="sizeHint" stdset="0">
346 <size>
347 <width>20</width>
348 <height>0</height>
349 </size>
350 </property>
351 </spacer>
352 </item>
353 <item row="5" column="2">
354 <widget class="QPushButton" name="editLog">
355 <property name="enabled">
356 <bool>false</bool>
357 </property>
358 <property name="text">
359 <string>Edit Log</string>
360 </property>
361 </widget> 351 </widget>
362 </item> 352 </item>
363 </layout> 353 </layout>
364 </widget> 354 </widget>
365 </widget> 355 </widget>