chore(cpn): implement ui bindings to auto widgets and apply to timers (#7331)

This commit is contained in:
Neil Horne
2026-06-16 17:14:57 +10:00
committed by GitHub
parent 4ebf3486f1
commit 892410b797
41 changed files with 791 additions and 178 deletions
+10 -5
View File
@@ -48,7 +48,7 @@
<bool>true</bool>
</property>
<property name="currentSection">
<enum>QDateTimeEdit::HourSection</enum>
<enum>QDateTimeEdit::Section::HourSection</enum>
</property>
<property name="displayFormat">
<string notr="true">hh:mm:ss</string>
@@ -62,7 +62,7 @@
<widget class="AutoComboBox" name="swtch"/>
</item>
<item>
<widget class="QLabel" name="countdownBeepLabel">
<widget class="AutoLabel" name="countdownBeepLabel">
<property name="text">
<string>Countdown</string>
</property>
@@ -72,7 +72,7 @@
<widget class="AutoComboBox" name="countdownBeep"/>
</item>
<item>
<widget class="QLabel" name="countdownStartLabel">
<widget class="AutoLabel" name="countdownStartLabel">
<property name="text">
<string>Start</string>
</property>
@@ -95,7 +95,7 @@
<widget class="AutoComboBox" name="showElapsed"/>
</item>
<item>
<widget class="QLabel" name="persistentValue">
<widget class="AutoLabel" name="persistentValue">
<property name="text">
<string notr="true"> (00:00:00)</string>
</property>
@@ -104,7 +104,7 @@
<item>
<spacer name="spacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
<enum>Qt::Orientation::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
@@ -137,6 +137,11 @@
<extends>QTimeEdit</extends>
<header>autotimeedit.h</header>
</customwidget>
<customwidget>
<class>AutoLabel</class>
<extends>QLabel</extends>
<header>autolabel.h</header>
</customwidget>
</customwidgets>
<resources/>
<connections/>