[17] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
| 2 | <ui version="4.0"> |
---|
[1] | 3 | <class>SettingsDialog</class> |
---|
[17] | 4 | <widget class="QWidget" name="SettingsDialog"> |
---|
| 5 | <property name="geometry"> |
---|
[1] | 6 | <rect> |
---|
| 7 | <x>0</x> |
---|
| 8 | <y>0</y> |
---|
[27] | 9 | <width>448</width> |
---|
| 10 | <height>174</height> |
---|
[1] | 11 | </rect> |
---|
| 12 | </property> |
---|
[17] | 13 | <property name="windowTitle"> |
---|
[27] | 14 | <string>Preferences</string> |
---|
[1] | 15 | </property> |
---|
[17] | 16 | <property name="windowIcon"> |
---|
| 17 | <iconset resource="../resources/tspsg.qrc"> |
---|
| 18 | <normaloff>:/images/Settings.png</normaloff>:/images/Settings.png</iconset> |
---|
[1] | 19 | </property> |
---|
[17] | 20 | <layout class="QVBoxLayout"> |
---|
| 21 | <property name="spacing"> |
---|
[1] | 22 | <number>0</number> |
---|
| 23 | </property> |
---|
[17] | 24 | <property name="margin"> |
---|
[1] | 25 | <number>0</number> |
---|
| 26 | </property> |
---|
| 27 | <item> |
---|
[17] | 28 | <layout class="QHBoxLayout"> |
---|
| 29 | <property name="spacing"> |
---|
[1] | 30 | <number>0</number> |
---|
| 31 | </property> |
---|
| 32 | <item> |
---|
[17] | 33 | <widget class="QLabel" name="imageSide"> |
---|
| 34 | <property name="minimumSize"> |
---|
[1] | 35 | <size> |
---|
| 36 | <width>130</width> |
---|
| 37 | <height>0</height> |
---|
| 38 | </size> |
---|
| 39 | </property> |
---|
[17] | 40 | <property name="styleSheet"> |
---|
[1] | 41 | <string>background-color: #0080C0</string> |
---|
| 42 | </property> |
---|
[17] | 43 | <property name="frameShape"> |
---|
[1] | 44 | <enum>QFrame::StyledPanel</enum> |
---|
| 45 | </property> |
---|
[17] | 46 | <property name="lineWidth"> |
---|
[1] | 47 | <number>0</number> |
---|
| 48 | </property> |
---|
[17] | 49 | <property name="text"> |
---|
[1] | 50 | <string/> |
---|
| 51 | </property> |
---|
[17] | 52 | <property name="pixmap"> |
---|
| 53 | <pixmap resource="../resources/tspsg.qrc">:/images/Settings.png</pixmap> |
---|
[1] | 54 | </property> |
---|
[17] | 55 | <property name="alignment"> |
---|
[1] | 56 | <set>Qt::AlignCenter</set> |
---|
| 57 | </property> |
---|
| 58 | </widget> |
---|
| 59 | </item> |
---|
| 60 | <item> |
---|
[17] | 61 | <widget class="Line" name="lineVertical"> |
---|
| 62 | <property name="frameShadow"> |
---|
[1] | 63 | <enum>QFrame::Plain</enum> |
---|
| 64 | </property> |
---|
[17] | 65 | <property name="lineWidth"> |
---|
[1] | 66 | <number>2</number> |
---|
| 67 | </property> |
---|
[17] | 68 | <property name="orientation"> |
---|
[1] | 69 | <enum>Qt::Vertical</enum> |
---|
| 70 | </property> |
---|
| 71 | </widget> |
---|
| 72 | </item> |
---|
| 73 | <item> |
---|
[17] | 74 | <widget class="QWidget" name="background" native="true"> |
---|
| 75 | <property name="palette"> |
---|
[1] | 76 | <palette> |
---|
| 77 | <active> |
---|
[17] | 78 | <colorrole role="Base"> |
---|
| 79 | <brush brushstyle="SolidPattern"> |
---|
| 80 | <color alpha="255"> |
---|
[1] | 81 | <red>255</red> |
---|
| 82 | <green>255</green> |
---|
| 83 | <blue>255</blue> |
---|
| 84 | </color> |
---|
| 85 | </brush> |
---|
| 86 | </colorrole> |
---|
[17] | 87 | <colorrole role="Window"> |
---|
| 88 | <brush brushstyle="SolidPattern"> |
---|
| 89 | <color alpha="255"> |
---|
[1] | 90 | <red>255</red> |
---|
| 91 | <green>255</green> |
---|
| 92 | <blue>255</blue> |
---|
| 93 | </color> |
---|
| 94 | </brush> |
---|
| 95 | </colorrole> |
---|
| 96 | </active> |
---|
| 97 | <inactive> |
---|
[17] | 98 | <colorrole role="Base"> |
---|
| 99 | <brush brushstyle="SolidPattern"> |
---|
| 100 | <color alpha="255"> |
---|
[1] | 101 | <red>255</red> |
---|
| 102 | <green>255</green> |
---|
| 103 | <blue>255</blue> |
---|
| 104 | </color> |
---|
| 105 | </brush> |
---|
| 106 | </colorrole> |
---|
[17] | 107 | <colorrole role="Window"> |
---|
| 108 | <brush brushstyle="SolidPattern"> |
---|
| 109 | <color alpha="255"> |
---|
[1] | 110 | <red>255</red> |
---|
| 111 | <green>255</green> |
---|
| 112 | <blue>255</blue> |
---|
| 113 | </color> |
---|
| 114 | </brush> |
---|
| 115 | </colorrole> |
---|
| 116 | </inactive> |
---|
| 117 | <disabled> |
---|
[17] | 118 | <colorrole role="Base"> |
---|
| 119 | <brush brushstyle="SolidPattern"> |
---|
| 120 | <color alpha="255"> |
---|
[1] | 121 | <red>255</red> |
---|
| 122 | <green>255</green> |
---|
| 123 | <blue>255</blue> |
---|
| 124 | </color> |
---|
| 125 | </brush> |
---|
| 126 | </colorrole> |
---|
[17] | 127 | <colorrole role="Window"> |
---|
| 128 | <brush brushstyle="SolidPattern"> |
---|
| 129 | <color alpha="255"> |
---|
[1] | 130 | <red>255</red> |
---|
| 131 | <green>255</green> |
---|
| 132 | <blue>255</blue> |
---|
| 133 | </color> |
---|
| 134 | </brush> |
---|
| 135 | </colorrole> |
---|
| 136 | </disabled> |
---|
| 137 | </palette> |
---|
| 138 | </property> |
---|
[17] | 139 | <property name="autoFillBackground"> |
---|
[1] | 140 | <bool>true</bool> |
---|
| 141 | </property> |
---|
[17] | 142 | <layout class="QVBoxLayout"> |
---|
[1] | 143 | <item> |
---|
[17] | 144 | <layout class="QHBoxLayout"> |
---|
| 145 | <property name="spacing"> |
---|
[1] | 146 | <number>6</number> |
---|
| 147 | </property> |
---|
| 148 | <item> |
---|
[17] | 149 | <widget class="QGroupBox" name="groupRandomSettings"> |
---|
| 150 | <property name="title"> |
---|
[27] | 151 | <string>Random values:</string> |
---|
[1] | 152 | </property> |
---|
[17] | 153 | <layout class="QVBoxLayout"> |
---|
[1] | 154 | <item> |
---|
[17] | 155 | <layout class="QHBoxLayout"> |
---|
[1] | 156 | <item> |
---|
[17] | 157 | <widget class="QLabel" name="labelRandMin"> |
---|
| 158 | <property name="sizePolicy"> |
---|
| 159 | <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> |
---|
[1] | 160 | <horstretch>0</horstretch> |
---|
| 161 | <verstretch>0</verstretch> |
---|
| 162 | </sizepolicy> |
---|
| 163 | </property> |
---|
[17] | 164 | <property name="text"> |
---|
[27] | 165 | <string>&Minimal:</string> |
---|
[1] | 166 | </property> |
---|
[17] | 167 | <property name="buddy"> |
---|
[1] | 168 | <cstring>spinRandMin</cstring> |
---|
| 169 | </property> |
---|
| 170 | </widget> |
---|
| 171 | </item> |
---|
| 172 | <item> |
---|
[17] | 173 | <widget class="QSpinBox" name="spinRandMin"> |
---|
| 174 | <property name="cursor"> |
---|
[1] | 175 | <cursorShape>PointingHandCursor</cursorShape> |
---|
| 176 | </property> |
---|
[17] | 177 | <property name="statusTip"> |
---|
[27] | 178 | <string>Minimum for random number generation</string> |
---|
[7] | 179 | </property> |
---|
[17] | 180 | <property name="maximum"> |
---|
[1] | 181 | <number>1000</number> |
---|
| 182 | </property> |
---|
[17] | 183 | <property name="value"> |
---|
[1] | 184 | <number>1</number> |
---|
| 185 | </property> |
---|
| 186 | </widget> |
---|
| 187 | </item> |
---|
| 188 | </layout> |
---|
| 189 | </item> |
---|
| 190 | <item> |
---|
[17] | 191 | <layout class="QHBoxLayout"> |
---|
[1] | 192 | <item> |
---|
[17] | 193 | <widget class="QLabel" name="labelRandMax"> |
---|
| 194 | <property name="sizePolicy"> |
---|
| 195 | <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> |
---|
[1] | 196 | <horstretch>0</horstretch> |
---|
| 197 | <verstretch>0</verstretch> |
---|
| 198 | </sizepolicy> |
---|
| 199 | </property> |
---|
[17] | 200 | <property name="text"> |
---|
[27] | 201 | <string>Ma&ximal:</string> |
---|
[1] | 202 | </property> |
---|
[17] | 203 | <property name="buddy"> |
---|
[1] | 204 | <cstring>spinRandMax</cstring> |
---|
| 205 | </property> |
---|
| 206 | </widget> |
---|
| 207 | </item> |
---|
| 208 | <item> |
---|
[17] | 209 | <widget class="QSpinBox" name="spinRandMax"> |
---|
| 210 | <property name="cursor"> |
---|
[1] | 211 | <cursorShape>PointingHandCursor</cursorShape> |
---|
| 212 | </property> |
---|
[17] | 213 | <property name="statusTip"> |
---|
[27] | 214 | <string>Maximum for random number generation</string> |
---|
[7] | 215 | </property> |
---|
[17] | 216 | <property name="minimum"> |
---|
[1] | 217 | <number>1</number> |
---|
| 218 | </property> |
---|
[17] | 219 | <property name="maximum"> |
---|
[1] | 220 | <number>1000</number> |
---|
| 221 | </property> |
---|
[17] | 222 | <property name="value"> |
---|
[1] | 223 | <number>10</number> |
---|
| 224 | </property> |
---|
| 225 | </widget> |
---|
| 226 | </item> |
---|
| 227 | </layout> |
---|
| 228 | </item> |
---|
| 229 | </layout> |
---|
| 230 | </widget> |
---|
| 231 | </item> |
---|
| 232 | <item> |
---|
[17] | 233 | <widget class="QGroupBox" name="groupPrintSetup"> |
---|
| 234 | <property name="title"> |
---|
[27] | 235 | <string>Print settings:</string> |
---|
[1] | 236 | </property> |
---|
[21] | 237 | <layout class="QVBoxLayout" name="verticalLayout"> |
---|
[1] | 238 | <item> |
---|
[17] | 239 | <layout class="QHBoxLayout"> |
---|
[1] | 240 | <item> |
---|
[17] | 241 | <widget class="QLabel" name="labelLeftMargin"> |
---|
[25] | 242 | <property name="sizePolicy"> |
---|
| 243 | <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> |
---|
| 244 | <horstretch>0</horstretch> |
---|
| 245 | <verstretch>0</verstretch> |
---|
| 246 | </sizepolicy> |
---|
| 247 | </property> |
---|
[17] | 248 | <property name="text"> |
---|
[27] | 249 | <string>&Left margin:</string> |
---|
[1] | 250 | </property> |
---|
[17] | 251 | <property name="buddy"> |
---|
[1] | 252 | <cstring>spinLeftMargin</cstring> |
---|
| 253 | </property> |
---|
| 254 | </widget> |
---|
| 255 | </item> |
---|
| 256 | <item> |
---|
[17] | 257 | <widget class="QSpinBox" name="spinLeftMargin"> |
---|
| 258 | <property name="cursor"> |
---|
[1] | 259 | <cursorShape>PointingHandCursor</cursorShape> |
---|
| 260 | </property> |
---|
[17] | 261 | <property name="statusTip"> |
---|
[27] | 262 | <string>Left border margin for page</string> |
---|
[7] | 263 | </property> |
---|
[17] | 264 | <property name="maximum"> |
---|
[1] | 265 | <number>999</number> |
---|
| 266 | </property> |
---|
[17] | 267 | <property name="singleStep"> |
---|
[1] | 268 | <number>10</number> |
---|
| 269 | </property> |
---|
[17] | 270 | <property name="value"> |
---|
[1] | 271 | <number>100</number> |
---|
| 272 | </property> |
---|
| 273 | </widget> |
---|
| 274 | </item> |
---|
| 275 | </layout> |
---|
| 276 | </item> |
---|
| 277 | <item> |
---|
[25] | 278 | <layout class="QHBoxLayout" name="horizontalLayout"> |
---|
| 279 | <property name="spacing"> |
---|
| 280 | <number>0</number> |
---|
[1] | 281 | </property> |
---|
[25] | 282 | <item> |
---|
| 283 | <widget class="QPushButton" name="buttonColor"> |
---|
| 284 | <property name="cursor"> |
---|
| 285 | <cursorShape>PointingHandCursor</cursorShape> |
---|
| 286 | </property> |
---|
[26] | 287 | <property name="statusTip"> |
---|
[27] | 288 | <string>Font color for printing</string> |
---|
[26] | 289 | </property> |
---|
[25] | 290 | <property name="text"> |
---|
[27] | 291 | <string>&Color...</string> |
---|
[25] | 292 | </property> |
---|
| 293 | <property name="icon"> |
---|
| 294 | <iconset resource="../resources/tspsg.qrc"> |
---|
| 295 | <normaloff>:/images/buttons/buttons/Color.png</normaloff>:/images/buttons/buttons/Color.png</iconset> |
---|
| 296 | </property> |
---|
| 297 | </widget> |
---|
| 298 | </item> |
---|
| 299 | <item> |
---|
| 300 | <widget class="QPushButton" name="buttonFont"> |
---|
| 301 | <property name="cursor"> |
---|
| 302 | <cursorShape>PointingHandCursor</cursorShape> |
---|
| 303 | </property> |
---|
| 304 | <property name="statusTip"> |
---|
[27] | 305 | <string>Font face for printing</string> |
---|
[25] | 306 | </property> |
---|
| 307 | <property name="text"> |
---|
[27] | 308 | <string>&Font...</string> |
---|
[25] | 309 | </property> |
---|
| 310 | <property name="icon"> |
---|
| 311 | <iconset resource="../resources/tspsg.qrc"> |
---|
| 312 | <normaloff>:/images/buttons/buttons/Font.png</normaloff>:/images/buttons/buttons/Font.png</iconset> |
---|
| 313 | </property> |
---|
| 314 | </widget> |
---|
| 315 | </item> |
---|
| 316 | </layout> |
---|
[1] | 317 | </item> |
---|
| 318 | </layout> |
---|
| 319 | </widget> |
---|
| 320 | </item> |
---|
| 321 | </layout> |
---|
| 322 | </item> |
---|
| 323 | <item> |
---|
[21] | 324 | <widget class="QCheckBox" name="cbSaveState"> |
---|
[17] | 325 | <property name="cursor"> |
---|
[1] | 326 | <cursorShape>PointingHandCursor</cursorShape> |
---|
| 327 | </property> |
---|
[17] | 328 | <property name="statusTip"> |
---|
[27] | 329 | <string>Restore main window state and position on application restart</string> |
---|
[7] | 330 | </property> |
---|
[17] | 331 | <property name="text"> |
---|
[27] | 332 | <string>Save main window state and position</string> |
---|
[1] | 333 | </property> |
---|
| 334 | </widget> |
---|
| 335 | </item> |
---|
| 336 | </layout> |
---|
| 337 | </widget> |
---|
| 338 | </item> |
---|
| 339 | </layout> |
---|
| 340 | </item> |
---|
| 341 | <item> |
---|
[17] | 342 | <widget class="Line" name="lineHorizontal"> |
---|
| 343 | <property name="maximumSize"> |
---|
[1] | 344 | <size> |
---|
| 345 | <width>16777215</width> |
---|
| 346 | <height>2</height> |
---|
| 347 | </size> |
---|
| 348 | </property> |
---|
[17] | 349 | <property name="frameShadow"> |
---|
[1] | 350 | <enum>QFrame::Plain</enum> |
---|
| 351 | </property> |
---|
[17] | 352 | <property name="lineWidth"> |
---|
[1] | 353 | <number>2</number> |
---|
| 354 | </property> |
---|
[17] | 355 | <property name="orientation"> |
---|
[1] | 356 | <enum>Qt::Horizontal</enum> |
---|
| 357 | </property> |
---|
| 358 | </widget> |
---|
| 359 | </item> |
---|
| 360 | <item> |
---|
[17] | 361 | <layout class="QHBoxLayout"> |
---|
| 362 | <property name="spacing"> |
---|
[1] | 363 | <number>6</number> |
---|
| 364 | </property> |
---|
[17] | 365 | <property name="margin"> |
---|
[1] | 366 | <number>6</number> |
---|
| 367 | </property> |
---|
| 368 | <item> |
---|
[27] | 369 | <widget class="QToolButton" name="buttonHelp"> |
---|
| 370 | <property name="enabled"> |
---|
| 371 | <bool>false</bool> |
---|
| 372 | </property> |
---|
[17] | 373 | <property name="cursor"> |
---|
[1] | 374 | <cursorShape>PointingHandCursor</cursorShape> |
---|
| 375 | </property> |
---|
[17] | 376 | <property name="toolTip"> |
---|
[27] | 377 | <string>Help</string> |
---|
[1] | 378 | </property> |
---|
[17] | 379 | <property name="statusTip"> |
---|
[27] | 380 | <string>Get preferences help</string> |
---|
[1] | 381 | </property> |
---|
[17] | 382 | <property name="text"> |
---|
[27] | 383 | <string>Help</string> |
---|
[1] | 384 | </property> |
---|
[17] | 385 | <property name="icon"> |
---|
| 386 | <iconset resource="../resources/tspsg.qrc"> |
---|
| 387 | <normaloff>:/images/buttons/buttons/Help.png</normaloff>:/images/buttons/buttons/Help.png</iconset> |
---|
[1] | 388 | </property> |
---|
[17] | 389 | <property name="autoRaise"> |
---|
[1] | 390 | <bool>true</bool> |
---|
| 391 | </property> |
---|
| 392 | </widget> |
---|
| 393 | </item> |
---|
| 394 | <item> |
---|
[17] | 395 | <widget class="QLabel" name="labelHint"> |
---|
| 396 | <property name="sizePolicy"> |
---|
| 397 | <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> |
---|
[1] | 398 | <horstretch>0</horstretch> |
---|
| 399 | <verstretch>0</verstretch> |
---|
| 400 | </sizepolicy> |
---|
| 401 | </property> |
---|
[17] | 402 | <property name="statusTip"> |
---|
[27] | 403 | <string>Hover mouse pointer over dialog elements to get additional help</string> |
---|
[7] | 404 | </property> |
---|
[17] | 405 | <property name="text"> |
---|
[10] | 406 | <string/> |
---|
| 407 | </property> |
---|
[17] | 408 | <property name="textFormat"> |
---|
[1] | 409 | <enum>Qt::PlainText</enum> |
---|
| 410 | </property> |
---|
[17] | 411 | <property name="alignment"> |
---|
[10] | 412 | <set>Qt::AlignJustify|Qt::AlignTop</set> |
---|
[1] | 413 | </property> |
---|
[17] | 414 | <property name="wordWrap"> |
---|
[1] | 415 | <bool>true</bool> |
---|
| 416 | </property> |
---|
| 417 | </widget> |
---|
| 418 | </item> |
---|
| 419 | <item> |
---|
[17] | 420 | <widget class="QPushButton" name="buttonOK"> |
---|
| 421 | <property name="cursor"> |
---|
[1] | 422 | <cursorShape>PointingHandCursor</cursorShape> |
---|
| 423 | </property> |
---|
[17] | 424 | <property name="statusTip"> |
---|
[27] | 425 | <string>Save new preferences</string> |
---|
[7] | 426 | </property> |
---|
[17] | 427 | <property name="text"> |
---|
[1] | 428 | <string>&OK</string> |
---|
| 429 | </property> |
---|
[17] | 430 | <property name="icon"> |
---|
| 431 | <iconset resource="../resources/tspsg.qrc"> |
---|
| 432 | <normaloff>:/images/buttons/buttons/OK.png</normaloff>:/images/buttons/buttons/OK.png</iconset> |
---|
[1] | 433 | </property> |
---|
[17] | 434 | <property name="default"> |
---|
[1] | 435 | <bool>true</bool> |
---|
| 436 | </property> |
---|
| 437 | </widget> |
---|
| 438 | </item> |
---|
| 439 | <item> |
---|
[17] | 440 | <widget class="QPushButton" name="buttonCancel"> |
---|
| 441 | <property name="cursor"> |
---|
[1] | 442 | <cursorShape>PointingHandCursor</cursorShape> |
---|
| 443 | </property> |
---|
[17] | 444 | <property name="statusTip"> |
---|
[27] | 445 | <string>Close without saving preferences</string> |
---|
[7] | 446 | </property> |
---|
[17] | 447 | <property name="text"> |
---|
[27] | 448 | <string>&Cancel</string> |
---|
[1] | 449 | </property> |
---|
[17] | 450 | <property name="icon"> |
---|
| 451 | <iconset resource="../resources/tspsg.qrc"> |
---|
| 452 | <normaloff>:/images/buttons/buttons/Critical.png</normaloff>:/images/buttons/buttons/Critical.png</iconset> |
---|
[1] | 453 | </property> |
---|
| 454 | </widget> |
---|
| 455 | </item> |
---|
| 456 | </layout> |
---|
| 457 | </item> |
---|
| 458 | </layout> |
---|
| 459 | </widget> |
---|
| 460 | <resources> |
---|
[17] | 461 | <include location="../resources/tspsg.qrc"/> |
---|
[1] | 462 | </resources> |
---|
| 463 | <connections/> |
---|
| 464 | </ui> |
---|