[17] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
| 2 | <ui version="4.0"> |
---|
| 3 | <class>SettingsDialog</class> |
---|
| 4 | <widget class="QWidget" name="SettingsDialog"> |
---|
| 5 | <property name="geometry"> |
---|
| 6 | <rect> |
---|
| 7 | <x>0</x> |
---|
| 8 | <y>0</y> |
---|
[27] | 9 | <width>235</width> |
---|
[29] | 10 | <height>180</height> |
---|
[17] | 11 | </rect> |
---|
| 12 | </property> |
---|
| 13 | <property name="windowTitle"> |
---|
[27] | 14 | <string>Preferences</string> |
---|
[17] | 15 | </property> |
---|
| 16 | <property name="windowIcon"> |
---|
| 17 | <iconset resource="../resources/tspsg.qrc"> |
---|
| 18 | <normaloff>:/images/Settings.png</normaloff>:/images/Settings.png</iconset> |
---|
| 19 | </property> |
---|
| 20 | <layout class="QVBoxLayout" name="verticalLayout_2"> |
---|
| 21 | <property name="spacing"> |
---|
| 22 | <number>0</number> |
---|
| 23 | </property> |
---|
| 24 | <property name="margin"> |
---|
| 25 | <number>0</number> |
---|
| 26 | </property> |
---|
| 27 | <item> |
---|
| 28 | <widget class="QWidget" name="background" native="true"> |
---|
| 29 | <property name="palette"> |
---|
| 30 | <palette> |
---|
| 31 | <active> |
---|
| 32 | <colorrole role="Base"> |
---|
| 33 | <brush brushstyle="SolidPattern"> |
---|
| 34 | <color alpha="255"> |
---|
| 35 | <red>255</red> |
---|
| 36 | <green>255</green> |
---|
| 37 | <blue>255</blue> |
---|
| 38 | </color> |
---|
| 39 | </brush> |
---|
| 40 | </colorrole> |
---|
| 41 | <colorrole role="Window"> |
---|
| 42 | <brush brushstyle="SolidPattern"> |
---|
| 43 | <color alpha="255"> |
---|
| 44 | <red>255</red> |
---|
| 45 | <green>255</green> |
---|
| 46 | <blue>255</blue> |
---|
| 47 | </color> |
---|
| 48 | </brush> |
---|
| 49 | </colorrole> |
---|
| 50 | </active> |
---|
| 51 | <inactive> |
---|
| 52 | <colorrole role="Base"> |
---|
| 53 | <brush brushstyle="SolidPattern"> |
---|
| 54 | <color alpha="255"> |
---|
| 55 | <red>255</red> |
---|
| 56 | <green>255</green> |
---|
| 57 | <blue>255</blue> |
---|
| 58 | </color> |
---|
| 59 | </brush> |
---|
| 60 | </colorrole> |
---|
| 61 | <colorrole role="Window"> |
---|
| 62 | <brush brushstyle="SolidPattern"> |
---|
| 63 | <color alpha="255"> |
---|
| 64 | <red>255</red> |
---|
| 65 | <green>255</green> |
---|
| 66 | <blue>255</blue> |
---|
| 67 | </color> |
---|
| 68 | </brush> |
---|
| 69 | </colorrole> |
---|
| 70 | </inactive> |
---|
| 71 | <disabled> |
---|
| 72 | <colorrole role="Base"> |
---|
| 73 | <brush brushstyle="SolidPattern"> |
---|
| 74 | <color alpha="255"> |
---|
| 75 | <red>255</red> |
---|
| 76 | <green>255</green> |
---|
| 77 | <blue>255</blue> |
---|
| 78 | </color> |
---|
| 79 | </brush> |
---|
| 80 | </colorrole> |
---|
| 81 | <colorrole role="Window"> |
---|
| 82 | <brush brushstyle="SolidPattern"> |
---|
| 83 | <color alpha="255"> |
---|
| 84 | <red>255</red> |
---|
| 85 | <green>255</green> |
---|
| 86 | <blue>255</blue> |
---|
| 87 | </color> |
---|
| 88 | </brush> |
---|
| 89 | </colorrole> |
---|
| 90 | </disabled> |
---|
| 91 | </palette> |
---|
| 92 | </property> |
---|
| 93 | <property name="autoFillBackground"> |
---|
| 94 | <bool>true</bool> |
---|
| 95 | </property> |
---|
| 96 | <layout class="QVBoxLayout" name="verticalLayout"> |
---|
| 97 | <item> |
---|
| 98 | <widget class="QGroupBox" name="groupRandomSettings"> |
---|
| 99 | <property name="title"> |
---|
[27] | 100 | <string>Random values:</string> |
---|
[17] | 101 | </property> |
---|
[27] | 102 | <layout class="QVBoxLayout" name="_5"> |
---|
[17] | 103 | <item> |
---|
[27] | 104 | <layout class="QHBoxLayout" name="_6"> |
---|
[17] | 105 | <item> |
---|
| 106 | <widget class="QLabel" name="labelRandMin"> |
---|
| 107 | <property name="sizePolicy"> |
---|
| 108 | <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> |
---|
| 109 | <horstretch>0</horstretch> |
---|
| 110 | <verstretch>0</verstretch> |
---|
| 111 | </sizepolicy> |
---|
| 112 | </property> |
---|
| 113 | <property name="text"> |
---|
[27] | 114 | <string>&Minimal:</string> |
---|
[17] | 115 | </property> |
---|
| 116 | <property name="buddy"> |
---|
| 117 | <cstring>spinRandMin</cstring> |
---|
| 118 | </property> |
---|
| 119 | </widget> |
---|
| 120 | </item> |
---|
| 121 | <item> |
---|
| 122 | <widget class="QSpinBox" name="spinRandMin"> |
---|
| 123 | <property name="cursor"> |
---|
| 124 | <cursorShape>PointingHandCursor</cursorShape> |
---|
| 125 | </property> |
---|
| 126 | <property name="statusTip"> |
---|
[27] | 127 | <string>Minimum for random number generation</string> |
---|
[17] | 128 | </property> |
---|
| 129 | <property name="maximum"> |
---|
| 130 | <number>1000</number> |
---|
| 131 | </property> |
---|
| 132 | <property name="value"> |
---|
| 133 | <number>1</number> |
---|
| 134 | </property> |
---|
| 135 | </widget> |
---|
| 136 | </item> |
---|
| 137 | </layout> |
---|
| 138 | </item> |
---|
| 139 | <item> |
---|
[27] | 140 | <layout class="QHBoxLayout" name="_7"> |
---|
[17] | 141 | <item> |
---|
| 142 | <widget class="QLabel" name="labelRandMax"> |
---|
| 143 | <property name="sizePolicy"> |
---|
| 144 | <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> |
---|
| 145 | <horstretch>0</horstretch> |
---|
| 146 | <verstretch>0</verstretch> |
---|
| 147 | </sizepolicy> |
---|
| 148 | </property> |
---|
| 149 | <property name="text"> |
---|
[27] | 150 | <string>Ma&ximal:</string> |
---|
[17] | 151 | </property> |
---|
| 152 | <property name="buddy"> |
---|
| 153 | <cstring>spinRandMax</cstring> |
---|
| 154 | </property> |
---|
| 155 | </widget> |
---|
| 156 | </item> |
---|
| 157 | <item> |
---|
| 158 | <widget class="QSpinBox" name="spinRandMax"> |
---|
| 159 | <property name="cursor"> |
---|
| 160 | <cursorShape>PointingHandCursor</cursorShape> |
---|
| 161 | </property> |
---|
| 162 | <property name="statusTip"> |
---|
[27] | 163 | <string>Maximum for random number generation</string> |
---|
[17] | 164 | </property> |
---|
| 165 | <property name="minimum"> |
---|
| 166 | <number>1</number> |
---|
| 167 | </property> |
---|
| 168 | <property name="maximum"> |
---|
| 169 | <number>1000</number> |
---|
| 170 | </property> |
---|
| 171 | <property name="value"> |
---|
| 172 | <number>10</number> |
---|
| 173 | </property> |
---|
| 174 | </widget> |
---|
| 175 | </item> |
---|
| 176 | </layout> |
---|
| 177 | </item> |
---|
| 178 | </layout> |
---|
| 179 | </widget> |
---|
| 180 | </item> |
---|
| 181 | <item> |
---|
| 182 | <layout class="QHBoxLayout" name="horizontalLayout_2"> |
---|
| 183 | <item> |
---|
| 184 | <spacer name="horizontalSpacer_3"> |
---|
| 185 | <property name="orientation"> |
---|
| 186 | <enum>Qt::Horizontal</enum> |
---|
| 187 | </property> |
---|
| 188 | <property name="sizeHint" stdset="0"> |
---|
| 189 | <size> |
---|
| 190 | <width>40</width> |
---|
| 191 | <height>20</height> |
---|
| 192 | </size> |
---|
| 193 | </property> |
---|
| 194 | </spacer> |
---|
| 195 | </item> |
---|
| 196 | <item> |
---|
[21] | 197 | <widget class="QPushButton" name="buttonColor"> |
---|
[27] | 198 | <property name="cursor"> |
---|
| 199 | <cursorShape>PointingHandCursor</cursorShape> |
---|
| 200 | </property> |
---|
[26] | 201 | <property name="statusTip"> |
---|
[27] | 202 | <string>Font color for printing</string> |
---|
[26] | 203 | </property> |
---|
[21] | 204 | <property name="text"> |
---|
[27] | 205 | <string>&Color...</string> |
---|
[21] | 206 | </property> |
---|
| 207 | <property name="icon"> |
---|
| 208 | <iconset resource="../resources/tspsg.qrc"> |
---|
| 209 | <normaloff>:/images/buttons/buttons/Color.png</normaloff>:/images/buttons/buttons/Color.png</iconset> |
---|
| 210 | </property> |
---|
| 211 | </widget> |
---|
| 212 | </item> |
---|
| 213 | <item> |
---|
[17] | 214 | <widget class="QPushButton" name="buttonFont"> |
---|
| 215 | <property name="cursor"> |
---|
| 216 | <cursorShape>PointingHandCursor</cursorShape> |
---|
| 217 | </property> |
---|
| 218 | <property name="statusTip"> |
---|
[27] | 219 | <string>Font face for printing</string> |
---|
[17] | 220 | </property> |
---|
| 221 | <property name="text"> |
---|
[27] | 222 | <string>&Font...</string> |
---|
[17] | 223 | </property> |
---|
| 224 | <property name="icon"> |
---|
| 225 | <iconset resource="../resources/tspsg.qrc"> |
---|
| 226 | <normaloff>:/images/buttons/buttons/Font.png</normaloff>:/images/buttons/buttons/Font.png</iconset> |
---|
| 227 | </property> |
---|
| 228 | </widget> |
---|
| 229 | </item> |
---|
| 230 | </layout> |
---|
| 231 | </item> |
---|
| 232 | <item> |
---|
| 233 | <spacer name="verticalSpacer"> |
---|
| 234 | <property name="orientation"> |
---|
| 235 | <enum>Qt::Vertical</enum> |
---|
| 236 | </property> |
---|
| 237 | <property name="sizeHint" stdset="0"> |
---|
| 238 | <size> |
---|
| 239 | <width>20</width> |
---|
| 240 | <height>41</height> |
---|
| 241 | </size> |
---|
| 242 | </property> |
---|
| 243 | </spacer> |
---|
| 244 | </item> |
---|
| 245 | </layout> |
---|
| 246 | </widget> |
---|
| 247 | </item> |
---|
| 248 | <item> |
---|
| 249 | <widget class="Line" name="lineHorizontal"> |
---|
| 250 | <property name="maximumSize"> |
---|
| 251 | <size> |
---|
| 252 | <width>16777215</width> |
---|
| 253 | <height>2</height> |
---|
| 254 | </size> |
---|
| 255 | </property> |
---|
| 256 | <property name="frameShadow"> |
---|
| 257 | <enum>QFrame::Plain</enum> |
---|
| 258 | </property> |
---|
| 259 | <property name="lineWidth"> |
---|
| 260 | <number>2</number> |
---|
| 261 | </property> |
---|
| 262 | <property name="orientation"> |
---|
| 263 | <enum>Qt::Horizontal</enum> |
---|
| 264 | </property> |
---|
| 265 | </widget> |
---|
| 266 | </item> |
---|
| 267 | <item> |
---|
| 268 | <layout class="QHBoxLayout"> |
---|
| 269 | <property name="spacing"> |
---|
| 270 | <number>6</number> |
---|
| 271 | </property> |
---|
| 272 | <property name="sizeConstraint"> |
---|
| 273 | <enum>QLayout::SetFixedSize</enum> |
---|
| 274 | </property> |
---|
| 275 | <property name="margin"> |
---|
| 276 | <number>6</number> |
---|
| 277 | </property> |
---|
| 278 | <item> |
---|
[27] | 279 | <widget class="QToolButton" name="buttonHelp"> |
---|
| 280 | <property name="enabled"> |
---|
| 281 | <bool>false</bool> |
---|
| 282 | </property> |
---|
[17] | 283 | <property name="cursor"> |
---|
| 284 | <cursorShape>PointingHandCursor</cursorShape> |
---|
| 285 | </property> |
---|
| 286 | <property name="toolTip"> |
---|
[27] | 287 | <string>Help</string> |
---|
[17] | 288 | </property> |
---|
| 289 | <property name="statusTip"> |
---|
[27] | 290 | <string>Get preferences help</string> |
---|
[17] | 291 | </property> |
---|
| 292 | <property name="text"> |
---|
[27] | 293 | <string>Help</string> |
---|
[17] | 294 | </property> |
---|
| 295 | <property name="icon"> |
---|
| 296 | <iconset resource="../resources/tspsg.qrc"> |
---|
| 297 | <normaloff>:/images/buttons/buttons/Help.png</normaloff>:/images/buttons/buttons/Help.png</iconset> |
---|
| 298 | </property> |
---|
| 299 | <property name="autoRaise"> |
---|
| 300 | <bool>true</bool> |
---|
| 301 | </property> |
---|
| 302 | </widget> |
---|
| 303 | </item> |
---|
| 304 | <item> |
---|
| 305 | <spacer name="horizontalSpacer_4"> |
---|
| 306 | <property name="orientation"> |
---|
| 307 | <enum>Qt::Horizontal</enum> |
---|
| 308 | </property> |
---|
| 309 | <property name="sizeHint" stdset="0"> |
---|
| 310 | <size> |
---|
| 311 | <width>40</width> |
---|
| 312 | <height>20</height> |
---|
| 313 | </size> |
---|
| 314 | </property> |
---|
| 315 | </spacer> |
---|
| 316 | </item> |
---|
| 317 | <item> |
---|
| 318 | <widget class="QPushButton" name="buttonOK"> |
---|
| 319 | <property name="cursor"> |
---|
| 320 | <cursorShape>PointingHandCursor</cursorShape> |
---|
| 321 | </property> |
---|
| 322 | <property name="statusTip"> |
---|
[27] | 323 | <string>Save new preferences</string> |
---|
[17] | 324 | </property> |
---|
| 325 | <property name="text"> |
---|
| 326 | <string>&OK</string> |
---|
| 327 | </property> |
---|
| 328 | <property name="icon"> |
---|
| 329 | <iconset resource="../resources/tspsg.qrc"> |
---|
| 330 | <normaloff>:/images/buttons/buttons/OK.png</normaloff>:/images/buttons/buttons/OK.png</iconset> |
---|
| 331 | </property> |
---|
| 332 | <property name="default"> |
---|
| 333 | <bool>true</bool> |
---|
| 334 | </property> |
---|
| 335 | </widget> |
---|
| 336 | </item> |
---|
| 337 | <item> |
---|
| 338 | <widget class="QPushButton" name="buttonCancel"> |
---|
| 339 | <property name="cursor"> |
---|
| 340 | <cursorShape>PointingHandCursor</cursorShape> |
---|
| 341 | </property> |
---|
| 342 | <property name="statusTip"> |
---|
[27] | 343 | <string>Close without saving preferences</string> |
---|
[17] | 344 | </property> |
---|
| 345 | <property name="text"> |
---|
[27] | 346 | <string>&Cancel</string> |
---|
[17] | 347 | </property> |
---|
| 348 | <property name="icon"> |
---|
| 349 | <iconset resource="../resources/tspsg.qrc"> |
---|
| 350 | <normaloff>:/images/buttons/buttons/Critical.png</normaloff>:/images/buttons/buttons/Critical.png</iconset> |
---|
| 351 | </property> |
---|
| 352 | </widget> |
---|
| 353 | </item> |
---|
| 354 | </layout> |
---|
| 355 | </item> |
---|
| 356 | </layout> |
---|
| 357 | </widget> |
---|
| 358 | <resources> |
---|
| 359 | <include location="../resources/tspsg.qrc"/> |
---|
| 360 | </resources> |
---|
| 361 | <connections/> |
---|
| 362 | </ui> |
---|