Changeset 104 in tspsg-svn for trunk/ui/settingsdialog.ui
- Timestamp:
- Apr 19, 2010, 10:33:02 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ui/settingsdialog.ui
r95 r104 9 9 <property name="windowIcon"> 10 10 <iconset resource="../resources/tspsg.qrc"> 11 11 <normaloff>:/images/icons/preferences_system.png</normaloff>:/images/icons/preferences_system.png</iconset> 12 12 </property> 13 13 <widget class="QWidget" name="bgGrey" native="true"> 14 14 <property name="sizePolicy"> 15 <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> 16 <horstretch>0</horstretch> 17 <verstretch>0</verstretch> 18 </sizepolicy> 19 </property> 20 <property name="palette"> 21 <palette> 22 <active> 23 <colorrole role="Window"> 24 <brush brushstyle="SolidPattern"> 25 <color alpha="255"> 26 <red>240</red> 27 <green>240</green> 28 <blue>240</blue> 29 </color> 30 </brush> 31 </colorrole> 32 </active> 33 <inactive> 34 <colorrole role="Window"> 35 <brush brushstyle="SolidPattern"> 36 <color alpha="255"> 37 <red>240</red> 38 <green>240</green> 39 <blue>240</blue> 40 </color> 41 </brush> 42 </colorrole> 43 </inactive> 44 <disabled> 45 <colorrole role="Window"> 46 <brush brushstyle="SolidPattern"> 47 <color alpha="255"> 48 <red>240</red> 49 <green>240</green> 50 <blue>240</blue> 51 </color> 52 </brush> 53 </colorrole> 54 </disabled> 55 </palette> 15 <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> 16 <horstretch>0</horstretch> 17 <verstretch>0</verstretch> 18 </sizepolicy> 56 19 </property> 57 20 <property name="autoFillBackground"> 58 21 <bool>true</bool> 59 22 </property> 60 23 <layout class="QVBoxLayout" name="_2"> 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 24 <property name="spacing"> 25 <number>0</number> 26 </property> 27 <property name="margin"> 28 <number>0</number> 29 </property> 30 <item> 31 <widget class="Line" name="lineHorizontal"> 32 <property name="maximumSize"> 33 <size> 34 <width>16777215</width> 35 <height>2</height> 36 </size> 37 </property> 38 <property name="frameShadow"> 39 <enum>QFrame::Plain</enum> 40 </property> 41 <property name="lineWidth"> 42 <number>2</number> 43 </property> 44 <property name="orientation"> 45 <enum>Qt::Horizontal</enum> 46 </property> 47 </widget> 48 </item> 49 <item> 50 <layout class="QHBoxLayout" name="buttons"> 51 <property name="spacing"> 52 <number>6</number> 53 </property> 54 <property name="margin"> 55 <number>6</number> 56 </property> 57 <item> 58 <widget class="QToolButton" name="buttonHelp"> 59 <property name="enabled"> 60 <bool>false</bool> 61 </property> 62 <property name="cursor"> 63 <cursorShape>PointingHandCursor</cursorShape> 64 </property> 65 <property name="toolTip"> 66 <string>Help</string> 67 </property> 68 <property name="statusTip"> 69 <string>Get preferences help</string> 70 </property> 71 <property name="text"> 72 <string>Help</string> 73 </property> 74 <property name="icon"> 75 <iconset resource="../resources/tspsg.qrc"> 76 <normaloff>:/images/icons/help_hint.png</normaloff>:/images/icons/help_hint.png</iconset> 77 </property> 78 <property name="autoRaise"> 79 <bool>true</bool> 80 </property> 81 </widget> 82 </item> 83 <item> 84 <widget class="QDialogButtonBox" name="buttonBox"> 85 <property name="standardButtons"> 86 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Save</set> 87 </property> 88 </widget> 89 </item> 90 </layout> 91 </item> 129 92 </layout> 130 93 </widget> 131 94 <widget class="QWidget" name="bgWhite" native="true"> 132 <property name="palette">133 <palette>134 <active>135 <colorrole role="Window">136 <brush brushstyle="SolidPattern">137 <color alpha="255">138 <red>255</red>139 <green>255</green>140 <blue>255</blue>141 </color>142 </brush>143 </colorrole>144 </active>145 <inactive>146 <colorrole role="Window">147 <brush brushstyle="SolidPattern">148 <color alpha="255">149 <red>255</red>150 <green>255</green>151 <blue>255</blue>152 </color>153 </brush>154 </colorrole>155 </inactive>156 <disabled>157 <colorrole role="Window">158 <brush brushstyle="SolidPattern">159 <color alpha="255">160 <red>255</red>161 <green>255</green>162 <blue>255</blue>163 </color>164 </brush>165 </colorrole>166 </disabled>167 </palette>168 </property>169 95 <property name="autoFillBackground"> 170 96 <bool>true</bool> 171 97 </property> 172 98 <layout class="QHBoxLayout" name="_3"> 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 99 <item> 100 <widget class="QTabWidget" name="tabWidget"> 101 <widget class="QWidget" name="tabGeneral"> 102 <attribute name="title"> 103 <string>General</string> 104 </attribute> 105 <attribute name="toolTip"> 106 <string>General TSPSG settings</string> 107 </attribute> 108 <layout class="QVBoxLayout" name="_4"> 109 <item> 110 <widget class="QCheckBox" name="cbAutosize"> 111 <property name="cursor"> 112 <cursorShape>PointingHandCursor</cursorShape> 113 </property> 114 <property name="statusTip"> 115 <string>Automatically resize rows and columns to their contents</string> 116 </property> 117 <property name="text"> 118 <string>Autosize of rows and columns</string> 119 </property> 120 </widget> 121 </item> 122 <item> 123 <widget class="QCheckBox" name="cbUseNativeDialogs"> 124 <property name="cursor"> 125 <cursorShape>PointingHandCursor</cursorShape> 126 </property> 127 <property name="statusTip"> 128 <string>Use native File Open and File Save dialogs (uncheck to use Qt's Dialogs)</string> 129 </property> 130 <property name="text"> 131 <string>Use native file dialogs</string> 132 </property> 133 </widget> 134 </item> 135 <item> 136 <spacer name="spacer"> 137 <property name="orientation"> 138 <enum>Qt::Vertical</enum> 139 </property> 140 <property name="sizeHint" stdset="0"> 141 <size> 142 <width>0</width> 143 <height>0</height> 144 </size> 145 </property> 146 </spacer> 147 </item> 148 </layout> 149 </widget> 150 <widget class="QWidget" name="tabTask"> 151 <attribute name="title"> 152 <string>Task</string> 153 </attribute> 154 <attribute name="toolTip"> 155 <string>Task generation and solving settings</string> 156 </attribute> 157 <layout class="QVBoxLayout" name="_9"> 158 <item> 159 <layout class="QFormLayout" name="_5"> 160 <property name="fieldGrowthPolicy"> 161 <enum>QFormLayout::ExpandingFieldsGrow</enum> 162 </property> 163 <item row="0" column="0"> 164 <widget class="QLabel" name="labelFractionalAccuracy"> 165 <property name="text"> 166 <string>Fractional accuracy:</string> 167 </property> 168 </widget> 169 </item> 170 <item row="0" column="1"> 171 <widget class="QSpinBox" name="spinFractionalAccuracy"> 172 <property name="cursor"> 173 <cursorShape>PointingHandCursor</cursorShape> 174 </property> 175 <property name="statusTip"> 176 <string>Accuracy of the fractional values (in decimal places)</string> 177 </property> 178 <property name="maximum"> 179 <number>6</number> 180 </property> 181 </widget> 182 </item> 183 </layout> 184 </item> 185 <item> 186 <widget class="QCheckBox" name="cbSymmetricMode"> 187 <property name="cursor"> 188 <cursorShape>PointingHandCursor</cursorShape> 189 </property> 190 <property name="statusTip"> 191 <string>In this mode the cost of travel from city 1 to city 2 and vice versa is the same</string> 192 </property> 193 <property name="text"> 194 <string>Symmetric mode</string> 195 </property> 196 </widget> 197 </item> 198 <item> 199 <widget class="QGroupBox" name="gbTaskGeneration"> 200 <property name="title"> 201 <string>Task generation</string> 202 </property> 203 <layout class="QVBoxLayout" name="_7"> 204 <item> 205 <layout class="QFormLayout" name="_8"> 206 <property name="fieldGrowthPolicy"> 207 <enum>QFormLayout::ExpandingFieldsGrow</enum> 208 </property> 209 <item row="0" column="0"> 210 <widget class="QLabel" name="labelRandMin"> 211 <property name="text"> 212 <string>Minimal random:</string> 213 </property> 214 <property name="buddy"> 215 <cstring>spinRandMin</cstring> 216 </property> 217 </widget> 218 </item> 219 <item row="0" column="1"> 220 <widget class="QSpinBox" name="spinRandMin"> 221 <property name="cursor"> 222 <cursorShape>PointingHandCursor</cursorShape> 223 </property> 224 <property name="statusTip"> 225 <string>Minimum for random number generation</string> 226 </property> 227 </widget> 228 </item> 229 <item row="1" column="0"> 230 <widget class="QLabel" name="labelRandMax"> 231 <property name="text"> 232 <string>Maximal random:</string> 233 </property> 234 <property name="buddy"> 235 <cstring>spinRandMax</cstring> 236 </property> 237 </widget> 238 </item> 239 <item row="1" column="1"> 240 <widget class="QSpinBox" name="spinRandMax"> 241 <property name="cursor"> 242 <cursorShape>PointingHandCursor</cursorShape> 243 </property> 244 <property name="statusTip"> 245 <string>Maximum for random number generation</string> 246 </property> 247 </widget> 248 </item> 249 </layout> 250 </item> 251 <item> 252 <widget class="QCheckBox" name="cbFractionalRandom"> 253 <property name="cursor"> 254 <cursorShape>PointingHandCursor</cursorShape> 255 </property> 256 <property name="statusTip"> 257 <string>Generate fractional random values with the Fractional accuracy</string> 258 </property> 259 <property name="text"> 260 <string>Fractional random values</string> 261 </property> 262 </widget> 263 </item> 264 </layout> 265 </widget> 266 </item> 267 <item> 268 <spacer name="spacer_2"> 269 <property name="orientation"> 270 <enum>Qt::Vertical</enum> 271 </property> 272 <property name="sizeHint" stdset="0"> 273 <size> 274 <width>10</width> 275 <height>0</height> 276 </size> 277 </property> 278 </spacer> 279 </item> 280 </layout> 281 </widget> 282 <widget class="QWidget" name="tabOutput"> 283 <attribute name="title"> 284 <string>Output</string> 285 </attribute> 286 <attribute name="toolTip"> 287 <string>Solution output settings</string> 288 </attribute> 289 <layout class="QVBoxLayout" name="_6"> 290 <item> 291 <widget class="QCheckBox" name="cbShowMatrix"> 292 <property name="cursor"> 293 <cursorShape>PointingHandCursor</cursorShape> 294 </property> 295 <property name="statusTip"> 296 <string>Show solution steps' matrices for every solution step</string> 297 </property> 298 <property name="text"> 299 <string>Show solution steps' matrices</string> 300 </property> 301 </widget> 302 </item> 303 <item> 304 <layout class="QHBoxLayout" name="layoutCititesLimit"> 305 <property name="spacing"> 306 <number>0</number> 307 </property> 308 <item> 309 <spacer name="spacer_3"> 310 <property name="orientation"> 311 <enum>Qt::Horizontal</enum> 312 </property> 313 <property name="sizeType"> 314 <enum>QSizePolicy::Fixed</enum> 315 </property> 316 <property name="sizeHint" stdset="0"> 317 <size> 318 <width>10</width> 319 <height>0</height> 320 </size> 321 </property> 322 </spacer> 323 </item> 324 <item> 325 <widget class="QCheckBox" name="cbCitiesLimit"> 326 <property name="cursor"> 327 <cursorShape>PointingHandCursor</cursorShape> 328 </property> 329 <property name="statusTip"> 330 <string>Show or hide solution steps' matrices based on number of cities in the task</string> 331 </property> 332 <property name="text"> 333 <string>Only when <=</string> 334 </property> 335 </widget> 336 </item> 337 <item> 338 <widget class="QSpinBox" name="spinCitiesLimit"> 339 <property name="statusTip"> 340 <string>Maximum number of cities to show solution steps' matrices</string> 341 </property> 342 <property name="suffix"> 343 <string comment="Don't forget a space at the beginning!"> cities</string> 344 </property> 345 <property name="minimum"> 346 <number>1</number> 347 </property> 348 </widget> 349 </item> 350 <item> 351 <spacer name="spacer_4"> 352 <property name="orientation"> 353 <enum>Qt::Horizontal</enum> 354 </property> 355 <property name="sizeHint" stdset="0"> 356 <size> 357 <width>0</width> 358 <height>0</height> 359 </size> 360 </property> 361 </spacer> 362 </item> 363 </layout> 364 </item> 365 <item> 366 <widget class="QCheckBox" name="cbScrollToEnd"> 367 <property name="cursor"> 368 <cursorShape>PointingHandCursor</cursorShape> 369 </property> 370 <property name="statusTip"> 371 <string>Scroll to the end of solution output after solving</string> 372 </property> 373 <property name="text"> 374 <string>Scroll to solution end</string> 375 </property> 376 </widget> 377 </item> 378 <item> 379 <layout class="QHBoxLayout" name="_11"> 380 <item> 381 <widget class="QGroupBox" name="groupOutput"> 382 <property name="title"> 383 <string>Output font settings</string> 384 </property> 385 <layout class="QHBoxLayout" name="_13"> 386 <item> 387 <widget class="QPushButton" name="buttonFont"> 388 <property name="cursor"> 389 <cursorShape>PointingHandCursor</cursorShape> 390 </property> 391 <property name="statusTip"> 392 <string>Font face for solution output</string> 393 </property> 394 <property name="text"> 395 <string>&Font...</string> 396 </property> 397 <property name="icon"> 398 <iconset resource="../resources/tspsg.qrc"> 399 <normaloff>:/images/icons/fonts.png</normaloff>:/images/icons/fonts.png</iconset> 400 </property> 401 </widget> 402 </item> 403 <item> 404 <widget class="QPushButton" name="buttonColor"> 405 <property name="cursor"> 406 <cursorShape>PointingHandCursor</cursorShape> 407 </property> 408 <property name="statusTip"> 409 <string>Font color for solution output</string> 410 </property> 411 <property name="text"> 412 <string>&Color...</string> 413 </property> 414 <property name="icon"> 415 <iconset resource="../resources/tspsg.qrc"> 416 <normaloff>:/images/icons/color_line.png</normaloff>:/images/icons/color_line.png</iconset> 417 </property> 418 </widget> 419 </item> 420 <item> 421 <spacer name="spacer_5"> 422 <property name="orientation"> 423 <enum>Qt::Horizontal</enum> 424 </property> 425 <property name="sizeHint" stdset="0"> 426 <size> 427 <width>0</width> 428 <height>0</height> 429 </size> 430 </property> 431 </spacer> 432 </item> 433 </layout> 434 </widget> 435 </item> 436 </layout> 437 </item> 438 <item> 439 <spacer name="spacer_6"> 440 <property name="orientation"> 441 <enum>Qt::Vertical</enum> 442 </property> 443 <property name="sizeHint" stdset="0"> 444 <size> 445 <width>0</width> 446 <height>0</height> 447 </size> 448 </property> 449 </spacer> 450 </item> 451 </layout> 452 </widget> 453 </widget> 454 </item> 529 455 </layout> 530 456 </widget> … … 540 466 <slot>accept()</slot> 541 467 <hints> 542 543 544 545 546 547 548 549 468 <hint type="sourcelabel"> 469 <x>190</x> 470 <y>30</y> 471 </hint> 472 <hint type="destinationlabel"> 473 <x>306</x> 474 <y>231</y> 475 </hint> 550 476 </hints> 551 477 </connection> … … 556 482 <slot>reject()</slot> 557 483 <hints> 558 559 560 561 562 563 564 565 484 <hint type="sourcelabel"> 485 <x>190</x> 486 <y>30</y> 487 </hint> 488 <hint type="destinationlabel"> 489 <x>262</x> 490 <y>245</y> 491 </hint> 566 492 </hints> 567 493 </connection> … … 572 498 <slot>setEnabled(bool)</slot> 573 499 <hints> 574 575 576 577 578 579 580 581 500 <hint type="sourcelabel"> 501 <x>80</x> 502 <y>150</y> 503 </hint> 504 <hint type="destinationlabel"> 505 <x>91</x> 506 <y>175</y> 507 </hint> 582 508 </hints> 583 509 </connection> … … 588 514 <slot>setChecked(bool)</slot> 589 515 <hints> 590 591 592 593 594 595 596 597 516 <hint type="sourcelabel"> 517 <x>80</x> 518 <y>150</y> 519 </hint> 520 <hint type="destinationlabel"> 521 <x>91</x> 522 <y>175</y> 523 </hint> 598 524 </hints> 599 525 </connection> … … 604 530 <slot>setEnabled(bool)</slot> 605 531 <hints> 606 607 608 609 610 611 612 613 532 <hint type="sourcelabel"> 533 <x>91</x> 534 <y>175</y> 535 </hint> 536 <hint type="destinationlabel"> 537 <x>184</x> 538 <y>174</y> 539 </hint> 614 540 </hints> 615 541 </connection>
Note: See TracChangeset
for help on using the changeset viewer.