|
43 | 43 | </size> |
44 | 44 | </property> |
45 | 45 | <property name="currentIndex"> |
46 | | - <number>1</number> |
| 46 | + <number>0</number> |
47 | 47 | </property> |
48 | 48 | <widget class="QWidget" name="settings"> |
49 | 49 | <attribute name="title"> |
|
276 | 276 | </layout> |
277 | 277 | </widget> |
278 | 278 | </item> |
| 279 | + <item> |
| 280 | + <widget class="QWidget" name="manual_buttons" native="true"> |
| 281 | + <layout class="QHBoxLayout" name="horizontalLayout_3"> |
| 282 | + <item> |
| 283 | + <widget class="QPushButton" name="button_light"> |
| 284 | + <property name="text"> |
| 285 | + <string>Light</string> |
| 286 | + </property> |
| 287 | + </widget> |
| 288 | + </item> |
| 289 | + <item> |
| 290 | + <widget class="QPushButton" name="button_dark"> |
| 291 | + <property name="text"> |
| 292 | + <string>Dark</string> |
| 293 | + </property> |
| 294 | + </widget> |
| 295 | + </item> |
| 296 | + </layout> |
| 297 | + </widget> |
| 298 | + </item> |
279 | 299 | <item> |
280 | 300 | <widget class="QCheckBox" name="toggle_sound"> |
281 | 301 | <property name="text"> |
|
290 | 310 | </property> |
291 | 311 | </widget> |
292 | 312 | </item> |
| 313 | + <item> |
| 314 | + <layout class="QFormLayout" name="bootOffsetSettings"> |
| 315 | + <item row="0" column="0"> |
| 316 | + <widget class="QLabel" name="bootOffsetLabel"> |
| 317 | + <property name="toolTip"> |
| 318 | + <string>Time to wait until the system finished booting. Default value is 10 seconds.</string> |
| 319 | + </property> |
| 320 | + <property name="text"> |
| 321 | + <string>Delay after boot:</string> |
| 322 | + </property> |
| 323 | + </widget> |
| 324 | + </item> |
| 325 | + <item row="0" column="1"> |
| 326 | + <widget class="QSpinBox" name="bootOffset"> |
| 327 | + <property name="suffix"> |
| 328 | + <string>s</string> |
| 329 | + </property> |
| 330 | + <property name="value"> |
| 331 | + <number>10</number> |
| 332 | + </property> |
| 333 | + </widget> |
| 334 | + </item> |
| 335 | + </layout> |
| 336 | + </item> |
293 | 337 | <item> |
294 | 338 | <widget class="QLabel" name="label_active"> |
295 | 339 | <property name="text"> |
|
330 | 374 | <rect> |
331 | 375 | <x>0</x> |
332 | 376 | <y>0</y> |
333 | | - <width>523</width> |
334 | | - <height>663</height> |
| 377 | + <width>518</width> |
| 378 | + <height>88</height> |
335 | 379 | </rect> |
336 | 380 | </property> |
337 | 381 | <layout class="QVBoxLayout" name="plugins_scroll_content_layout"> |
|
340 | 384 | <item> |
341 | 385 | <widget class="QGroupBox" name="samplePluginGroupBox"> |
342 | 386 | <property name="title"> |
343 | | - <string>Sample Plugin</string> |
| 387 | + <string notr="true">Sample Plugin</string> |
344 | 388 | </property> |
345 | 389 | <layout class="QHBoxLayout" name="horizontalLayout_2"> |
346 | 390 | <item> |
347 | 391 | <widget class="QComboBox" name="comboBox"> |
| 392 | + <property name="currentText"> |
| 393 | + <string notr="true"/> |
| 394 | + </property> |
348 | 395 | <property name="sizeAdjustPolicy"> |
349 | 396 | <enum>QComboBox::AdjustToContentsOnFirstShow</enum> |
350 | 397 | </property> |
351 | 398 | <property name="placeholderText"> |
352 | | - <string>firefox-compact-light@mozilla.org</string> |
| 399 | + <string notr="true">firefox-compact-light@mozilla.org</string> |
353 | 400 | </property> |
354 | 401 | </widget> |
355 | 402 | </item> |
|
362 | 409 | <enum>QComboBox::AdjustToContentsOnFirstShow</enum> |
363 | 410 | </property> |
364 | 411 | <property name="placeholderText"> |
365 | | - <string>firefox-compact-dark@mozilla.org</string> |
| 412 | + <string notr="true">firefox-compact-dark@mozilla.org</string> |
366 | 413 | </property> |
367 | 414 | </widget> |
368 | 415 | </item> |
|
402 | 449 | <slot>setVisible(bool)</slot> |
403 | 450 | <hints> |
404 | 451 | <hint type="sourcelabel"> |
405 | | - <x>273</x> |
406 | | - <y>308</y> |
| 452 | + <x>289</x> |
| 453 | + <y>225</y> |
407 | 454 | </hint> |
408 | 455 | <hint type="destinationlabel"> |
409 | | - <x>254</x> |
410 | | - <y>379</y> |
| 456 | + <x>270</x> |
| 457 | + <y>353</y> |
411 | 458 | </hint> |
412 | 459 | </hints> |
413 | 460 | </connection> |
|
418 | 465 | <slot>setVisible(bool)</slot> |
419 | 466 | <hints> |
420 | 467 | <hint type="sourcelabel"> |
421 | | - <x>114</x> |
422 | | - <y>192</y> |
| 468 | + <x>130</x> |
| 469 | + <y>109</y> |
423 | 470 | </hint> |
424 | 471 | <hint type="destinationlabel"> |
425 | | - <x>219</x> |
426 | | - <y>280</y> |
| 472 | + <x>235</x> |
| 473 | + <y>197</y> |
427 | 474 | </hint> |
428 | 475 | </hints> |
429 | 476 | </connection> |
|
434 | 481 | <slot>setVisible(bool)</slot> |
435 | 482 | <hints> |
436 | 483 | <hint type="sourcelabel"> |
437 | | - <x>188</x> |
438 | | - <y>153</y> |
| 484 | + <x>198</x> |
| 485 | + <y>66</y> |
439 | 486 | </hint> |
440 | 487 | <hint type="destinationlabel"> |
441 | 488 | <x>188</x> |
442 | 489 | <y>318</y> |
443 | 490 | </hint> |
444 | 491 | </hints> |
445 | 492 | </connection> |
| 493 | + <connection> |
| 494 | + <sender>btn_enable</sender> |
| 495 | + <signal>toggled(bool)</signal> |
| 496 | + <receiver>manual_buttons</receiver> |
| 497 | + <slot>setHidden(bool)</slot> |
| 498 | + <hints> |
| 499 | + <hint type="sourcelabel"> |
| 500 | + <x>109</x> |
| 501 | + <y>58</y> |
| 502 | + </hint> |
| 503 | + <hint type="destinationlabel"> |
| 504 | + <x>274</x> |
| 505 | + <y>398</y> |
| 506 | + </hint> |
| 507 | + </hints> |
| 508 | + </connection> |
446 | 509 | </connections> |
447 | 510 | </ui> |
0 commit comments