| 1 | <ui version="4.0" >
|
|---|
| 2 | <class>WateringConfigDialog</class>
|
|---|
| 3 | <widget class="QDialog" name="WateringConfigDialog" >
|
|---|
| 4 | <property name="geometry" >
|
|---|
| 5 | <rect>
|
|---|
| 6 | <x>0</x>
|
|---|
| 7 | <y>0</y>
|
|---|
| 8 | <width>334</width>
|
|---|
| 9 | <height>550</height>
|
|---|
| 10 | </rect>
|
|---|
| 11 | </property>
|
|---|
| 12 | <property name="windowTitle" >
|
|---|
| 13 | <string>Watering Configuration</string>
|
|---|
| 14 | </property>
|
|---|
| 15 | <layout class="QVBoxLayout" >
|
|---|
| 16 | <item>
|
|---|
| 17 | <layout class="QGridLayout" >
|
|---|
| 18 | <item row="0" column="0" >
|
|---|
| 19 | <widget class="QLabel" name="label_3" >
|
|---|
| 20 | <property name="text" >
|
|---|
| 21 | <string>Plant:</string>
|
|---|
| 22 | </property>
|
|---|
| 23 | </widget>
|
|---|
| 24 | </item>
|
|---|
| 25 | <item row="0" column="1" colspan="3" >
|
|---|
| 26 | <widget class="QComboBox" name="plantComboBox" >
|
|---|
| 27 | <property name="sizePolicy" >
|
|---|
| 28 | <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
|
|---|
| 29 | <horstretch>0</horstretch>
|
|---|
| 30 | <verstretch>0</verstretch>
|
|---|
| 31 | </sizepolicy>
|
|---|
| 32 | </property>
|
|---|
| 33 | <item>
|
|---|
| 34 | <property name="text" >
|
|---|
| 35 | <string>Squash</string>
|
|---|
| 36 | </property>
|
|---|
| 37 | </item>
|
|---|
| 38 | <item>
|
|---|
| 39 | <property name="text" >
|
|---|
| 40 | <string>Bean</string>
|
|---|
| 41 | </property>
|
|---|
| 42 | </item>
|
|---|
| 43 | <item>
|
|---|
| 44 | <property name="text" >
|
|---|
| 45 | <string>Carrot</string>
|
|---|
| 46 | </property>
|
|---|
| 47 | </item>
|
|---|
| 48 | <item>
|
|---|
| 49 | <property name="text" >
|
|---|
| 50 | <string>Strawberry</string>
|
|---|
| 51 | </property>
|
|---|
| 52 | </item>
|
|---|
| 53 | <item>
|
|---|
| 54 | <property name="text" >
|
|---|
| 55 | <string>Raspberry</string>
|
|---|
| 56 | </property>
|
|---|
| 57 | </item>
|
|---|
| 58 | <item>
|
|---|
| 59 | <property name="text" >
|
|---|
| 60 | <string>Blueberry</string>
|
|---|
| 61 | </property>
|
|---|
| 62 | </item>
|
|---|
| 63 | </widget>
|
|---|
| 64 | </item>
|
|---|
| 65 | <item row="1" column="0" >
|
|---|
| 66 | <spacer>
|
|---|
| 67 | <property name="orientation" >
|
|---|
| 68 | <enum>Qt::Vertical</enum>
|
|---|
| 69 | </property>
|
|---|
| 70 | <property name="sizeType" >
|
|---|
| 71 | <enum>QSizePolicy::Fixed</enum>
|
|---|
| 72 | </property>
|
|---|
| 73 | <property name="sizeHint" >
|
|---|
| 74 | <size>
|
|---|
| 75 | <width>67</width>
|
|---|
| 76 | <height>16</height>
|
|---|
| 77 | </size>
|
|---|
| 78 | </property>
|
|---|
| 79 | </spacer>
|
|---|
| 80 | </item>
|
|---|
| 81 | <item row="2" column="0" >
|
|---|
| 82 | <widget class="QLabel" name="label_2" >
|
|---|
| 83 | <property name="text" >
|
|---|
| 84 | <string>Water when:</string>
|
|---|
| 85 | </property>
|
|---|
| 86 | </widget>
|
|---|
| 87 | </item>
|
|---|
| 88 | <item row="3" column="1" colspan="3" >
|
|---|
| 89 | <widget class="QCheckBox" name="temperatureCheckBox" >
|
|---|
| 90 | <property name="text" >
|
|---|
| 91 | <string>Temperature is higher than:</string>
|
|---|
| 92 | </property>
|
|---|
| 93 | </widget>
|
|---|
| 94 | </item>
|
|---|
| 95 | <item row="4" column="1" >
|
|---|
| 96 | <spacer>
|
|---|
| 97 | <property name="orientation" >
|
|---|
| 98 | <enum>Qt::Horizontal</enum>
|
|---|
| 99 | </property>
|
|---|
| 100 | <property name="sizeType" >
|
|---|
| 101 | <enum>QSizePolicy::Fixed</enum>
|
|---|
| 102 | </property>
|
|---|
| 103 | <property name="sizeHint" >
|
|---|
| 104 | <size>
|
|---|
| 105 | <width>16</width>
|
|---|
| 106 | <height>20</height>
|
|---|
| 107 | </size>
|
|---|
| 108 | </property>
|
|---|
| 109 | </spacer>
|
|---|
| 110 | </item>
|
|---|
| 111 | <item row="4" column="2" >
|
|---|
| 112 | <widget class="QSpinBox" name="temperatureSpinBox" >
|
|---|
| 113 | <property name="enabled" >
|
|---|
| 114 | <bool>false</bool>
|
|---|
| 115 | </property>
|
|---|
| 116 | <property name="specialValueText" >
|
|---|
| 117 | <string/>
|
|---|
| 118 | </property>
|
|---|
| 119 | <property name="suffix" >
|
|---|
| 120 | <string>C</string>
|
|---|
| 121 | </property>
|
|---|
| 122 | <property name="minimum" >
|
|---|
| 123 | <number>10</number>
|
|---|
| 124 | </property>
|
|---|
| 125 | <property name="maximum" >
|
|---|
| 126 | <number>60</number>
|
|---|
| 127 | </property>
|
|---|
| 128 | <property name="value" >
|
|---|
| 129 | <number>20</number>
|
|---|
| 130 | </property>
|
|---|
| 131 | </widget>
|
|---|
| 132 | </item>
|
|---|
| 133 | <item row="4" column="3" >
|
|---|
| 134 | <spacer>
|
|---|
| 135 | <property name="orientation" >
|
|---|
| 136 | <enum>Qt::Horizontal</enum>
|
|---|
| 137 | </property>
|
|---|
| 138 | <property name="sizeHint" >
|
|---|
| 139 | <size>
|
|---|
| 140 | <width>40</width>
|
|---|
| 141 | <height>20</height>
|
|---|
| 142 | </size>
|
|---|
| 143 | </property>
|
|---|
| 144 | </spacer>
|
|---|
| 145 | </item>
|
|---|
| 146 | <item row="5" column="1" colspan="3" >
|
|---|
| 147 | <widget class="QCheckBox" name="rainCheckBox" >
|
|---|
| 148 | <property name="text" >
|
|---|
| 149 | <string>Rain less than:</string>
|
|---|
| 150 | </property>
|
|---|
| 151 | </widget>
|
|---|
| 152 | </item>
|
|---|
| 153 | <item row="6" column="1" >
|
|---|
| 154 | <spacer>
|
|---|
| 155 | <property name="orientation" >
|
|---|
| 156 | <enum>Qt::Horizontal</enum>
|
|---|
| 157 | </property>
|
|---|
| 158 | <property name="sizeType" >
|
|---|
| 159 | <enum>QSizePolicy::Fixed</enum>
|
|---|
| 160 | </property>
|
|---|
| 161 | <property name="sizeHint" >
|
|---|
| 162 | <size>
|
|---|
| 163 | <width>16</width>
|
|---|
| 164 | <height>20</height>
|
|---|
| 165 | </size>
|
|---|
| 166 | </property>
|
|---|
| 167 | </spacer>
|
|---|
| 168 | </item>
|
|---|
| 169 | <item row="6" column="2" >
|
|---|
| 170 | <widget class="QSpinBox" name="rainSpinBox" >
|
|---|
| 171 | <property name="enabled" >
|
|---|
| 172 | <bool>false</bool>
|
|---|
| 173 | </property>
|
|---|
| 174 | <property name="specialValueText" >
|
|---|
| 175 | <string/>
|
|---|
| 176 | </property>
|
|---|
| 177 | <property name="suffix" >
|
|---|
| 178 | <string>mm</string>
|
|---|
| 179 | </property>
|
|---|
| 180 | <property name="minimum" >
|
|---|
| 181 | <number>1</number>
|
|---|
| 182 | </property>
|
|---|
| 183 | </widget>
|
|---|
| 184 | </item>
|
|---|
| 185 | <item row="6" column="3" >
|
|---|
| 186 | <spacer>
|
|---|
| 187 | <property name="orientation" >
|
|---|
| 188 | <enum>Qt::Horizontal</enum>
|
|---|
| 189 | </property>
|
|---|
| 190 | <property name="sizeHint" >
|
|---|
| 191 | <size>
|
|---|
| 192 | <width>40</width>
|
|---|
| 193 | <height>20</height>
|
|---|
| 194 | </size>
|
|---|
| 195 | </property>
|
|---|
| 196 | </spacer>
|
|---|
| 197 | </item>
|
|---|
| 198 | <item row="7" column="2" >
|
|---|
| 199 | <spacer>
|
|---|
| 200 | <property name="orientation" >
|
|---|
| 201 | <enum>Qt::Vertical</enum>
|
|---|
| 202 | </property>
|
|---|
| 203 | <property name="sizeType" >
|
|---|
| 204 | <enum>QSizePolicy::Fixed</enum>
|
|---|
| 205 | </property>
|
|---|
| 206 | <property name="sizeHint" >
|
|---|
| 207 | <size>
|
|---|
| 208 | <width>20</width>
|
|---|
| 209 | <height>20</height>
|
|---|
| 210 | </size>
|
|---|
| 211 | </property>
|
|---|
| 212 | </spacer>
|
|---|
| 213 | </item>
|
|---|
| 214 | <item row="8" column="0" >
|
|---|
| 215 | <widget class="QLabel" name="label" >
|
|---|
| 216 | <property name="text" >
|
|---|
| 217 | <string>Starting Time:</string>
|
|---|
| 218 | </property>
|
|---|
| 219 | </widget>
|
|---|
| 220 | </item>
|
|---|
| 221 | <item row="8" column="1" colspan="3" >
|
|---|
| 222 | <widget class="QTimeEdit" name="startTimeEdit" />
|
|---|
| 223 | </item>
|
|---|
| 224 | <item row="9" column="0" >
|
|---|
| 225 | <widget class="QLabel" name="label_4" >
|
|---|
| 226 | <property name="text" >
|
|---|
| 227 | <string>Amount:</string>
|
|---|
| 228 | </property>
|
|---|
| 229 | </widget>
|
|---|
| 230 | </item>
|
|---|
| 231 | <item row="9" column="1" colspan="3" >
|
|---|
| 232 | <widget class="QSpinBox" name="amountSpinBox" >
|
|---|
| 233 | <property name="suffix" >
|
|---|
| 234 | <string>l</string>
|
|---|
| 235 | </property>
|
|---|
| 236 | <property name="minimum" >
|
|---|
| 237 | <number>100</number>
|
|---|
| 238 | </property>
|
|---|
| 239 | <property name="maximum" >
|
|---|
| 240 | <number>10000</number>
|
|---|
| 241 | </property>
|
|---|
| 242 | <property name="singleStep" >
|
|---|
| 243 | <number>100</number>
|
|---|
| 244 | </property>
|
|---|
| 245 | <property name="value" >
|
|---|
| 246 | <number>1000</number>
|
|---|
| 247 | </property>
|
|---|
| 248 | </widget>
|
|---|
| 249 | </item>
|
|---|
| 250 | <item row="10" column="0" >
|
|---|
| 251 | <widget class="QLabel" name="label_5" >
|
|---|
| 252 | <property name="text" >
|
|---|
| 253 | <string>Source:</string>
|
|---|
| 254 | </property>
|
|---|
| 255 | </widget>
|
|---|
| 256 | </item>
|
|---|
| 257 | <item row="10" column="1" colspan="3" >
|
|---|
| 258 | <widget class="QComboBox" name="sourceComboBox" >
|
|---|
| 259 | <item>
|
|---|
| 260 | <property name="text" >
|
|---|
| 261 | <string>Foundain</string>
|
|---|
| 262 | </property>
|
|---|
| 263 | </item>
|
|---|
| 264 | <item>
|
|---|
| 265 | <property name="text" >
|
|---|
| 266 | <string>River</string>
|
|---|
| 267 | </property>
|
|---|
| 268 | </item>
|
|---|
| 269 | <item>
|
|---|
| 270 | <property name="text" >
|
|---|
| 271 | <string>Lake</string>
|
|---|
| 272 | </property>
|
|---|
| 273 | </item>
|
|---|
| 274 | <item>
|
|---|
| 275 | <property name="text" >
|
|---|
|
|---|