|
19 | 19 | <property name="horizontalSpacing"> |
20 | 20 | <number>6</number> |
21 | 21 | </property> |
22 | | - <item row="1" column="3"> |
23 | | - <widget class="QCheckBox" name="permanent"> |
24 | | - <property name="enabled"> |
25 | | - <bool>true</bool> |
26 | | - </property> |
27 | | - <property name="text"> |
28 | | - <string>Permanent</string> |
29 | | - </property> |
30 | | - </widget> |
31 | | - </item> |
32 | | - <item row="1" column="0"> |
33 | | - <widget class="QLabel" name="duration_label"> |
| 22 | + <item row="0" column="0"> |
| 23 | + <widget class="QLabel" name="action_label"> |
34 | 24 | <property name="text"> |
35 | | - <string>Duration</string> |
| 25 | + <string>Action</string> |
36 | 26 | </property> |
37 | 27 | </widget> |
38 | 28 | </item> |
|
43 | 33 | </property> |
44 | 34 | </widget> |
45 | 35 | </item> |
46 | | - <item row="0" column="0"> |
47 | | - <widget class="QLabel" name="action_label"> |
| 36 | + <item row="1" column="0"> |
| 37 | + <widget class="QLabel" name="duration_label"> |
48 | 38 | <property name="text"> |
49 | | - <string>Action</string> |
| 39 | + <string>Duration</string> |
| 40 | + </property> |
| 41 | + </widget> |
| 42 | + </item> |
| 43 | + <item row="1" column="3"> |
| 44 | + <widget class="QSpinBox" name="duration_mm"> |
| 45 | + <property name="suffix"> |
| 46 | + <string> Minute(s)</string> |
50 | 47 | </property> |
51 | 48 | </widget> |
52 | 49 | </item> |
53 | | - <item row="1" column="1" colspan="2"> |
54 | | - <widget class="QSpinBox" name="duration"> |
| 50 | + <item row="1" column="2"> |
| 51 | + <widget class="QSpinBox" name="duration_hh"> |
55 | 52 | <property name="enabled"> |
56 | 53 | <bool>true</bool> |
57 | 54 | </property> |
58 | 55 | <property name="suffix"> |
59 | 56 | <string> Hour(s)</string> |
60 | 57 | </property> |
61 | 58 | <property name="minimum"> |
62 | | - <number>1</number> |
| 59 | + <number>0</number> |
63 | 60 | </property> |
64 | 61 | <property name="maximum"> |
65 | 62 | <number>876000</number> |
66 | 63 | </property> |
| 64 | + <property name="value"> |
| 65 | + <number>0</number> |
| 66 | + </property> |
| 67 | + </widget> |
| 68 | + </item> |
| 69 | + <item row="1" column="1"> |
| 70 | + <widget class="QSpinBox" name="duration_dd"> |
| 71 | + <property name="suffix"> |
| 72 | + <string> Day(s)</string> |
| 73 | + </property> |
| 74 | + </widget> |
| 75 | + </item> |
| 76 | + <item row="2" column="1"> |
| 77 | + <widget class="QCheckBox" name="permanent"> |
| 78 | + <property name="enabled"> |
| 79 | + <bool>true</bool> |
| 80 | + </property> |
| 81 | + <property name="text"> |
| 82 | + <string>Permanent</string> |
| 83 | + </property> |
67 | 84 | </widget> |
68 | 85 | </item> |
69 | 86 | </layout> |
@@ -116,7 +133,7 @@ li.checked::marker { content: "\2612"; } |
116 | 133 | <connection> |
117 | 134 | <sender>permanent</sender> |
118 | 135 | <signal>clicked(bool)</signal> |
119 | | - <receiver>duration</receiver> |
| 136 | + <receiver>duration_hh</receiver> |
120 | 137 | <slot>setDisabled(bool)</slot> |
121 | 138 | <hints> |
122 | 139 | <hint type="sourcelabel"> |
|
0 commit comments