Use Duration class and DurationSelection widget

This commit is contained in:
WarmUpTill
2021-05-02 22:31:28 +02:00
committed by WarmUpTill
parent 6277da1bbd
commit e714df7ad0
11 changed files with 130 additions and 233 deletions

View File

@@ -226,7 +226,7 @@
</layout>
</item>
<item row="1" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_46">
<layout class="QHBoxLayout" name="noMatchLayout">
<item>
<widget class="QLabel" name="label_2">
<property name="sizePolicy">
@@ -243,22 +243,12 @@
</property>
</widget>
</item>
<item>
<widget class="QDoubleSpinBox" name="noMatchDelay">
<property name="suffix">
<string>s</string>
</property>
<property name="maximum">
<double>999999.989999999990687</double>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<layout class="QHBoxLayout" name="cooldownLayout">
<item>
<widget class="QLabel" name="label">
<property name="text">
@@ -266,26 +256,6 @@
</property>
</widget>
</item>
<item>
<widget class="QDoubleSpinBox" name="cooldownTime">
<property name="suffix">
<string>s</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item>