Changeset 78 in tspsg-svn for trunk/ui/settingsdialog.ui
- Timestamp:
- Dec 18, 2009, 1:57:39 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ui/settingsdialog.ui
r73 r78 3 3 <author>Lёppa: $Id$</author> 4 4 <class>SettingsDialog</class> 5 <widget class="Q Widget" name="SettingsDialog">5 <widget class="QDialog" name="SettingsDialog"> 6 6 <property name="windowTitle"> 7 7 <string>Preferences</string> … … 75 75 <bool>true</bool> 76 76 </property> 77 <widget class="QPushButton" name="buttonCancel">78 <property name="cursor">79 <cursorShape>PointingHandCursor</cursorShape>80 </property>81 <property name="statusTip">82 <string>Close without saving preferences</string>83 </property>84 <property name="text">85 <string>&Cancel</string>86 </property>87 <property name="icon">88 <iconset resource="../resources/tspsg.qrc">89 <normaloff>:/images/icons/button_cancel.png</normaloff>:/images/icons/button_cancel.png</iconset>90 </property>91 </widget>92 <widget class="QPushButton" name="buttonOK">93 <property name="cursor">94 <cursorShape>PointingHandCursor</cursorShape>95 </property>96 <property name="statusTip">97 <string>Save new preferences</string>98 </property>99 <property name="text">100 <string>&OK</string>101 </property>102 <property name="icon">103 <iconset resource="../resources/tspsg.qrc">104 <normaloff>:/images/icons/button_ok.png</normaloff>:/images/icons/button_ok.png</iconset>105 </property>106 <property name="default">107 <bool>true</bool>108 </property>109 </widget>110 77 <widget class="QToolButton" name="buttonHelp"> 111 78 <property name="enabled"> … … 130 97 <property name="autoRaise"> 131 98 <bool>true</bool> 99 </property> 100 </widget> 101 <widget class="QDialogButtonBox" name="buttonBox"> 102 <property name="sizePolicy"> 103 <sizepolicy hsizetype="Maximum" vsizetype="Fixed"> 104 <horstretch>0</horstretch> 105 <verstretch>0</verstretch> 106 </sizepolicy> 107 </property> 108 <property name="standardButtons"> 109 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Save</set> 132 110 </property> 133 111 </widget> … … 287 265 </property> 288 266 </widget> 267 <widget class="QCheckBox" name="cbShowMatrix"> 268 <property name="cursor"> 269 <cursorShape>PointingHandCursor</cursorShape> 270 </property> 271 <property name="statusTip"> 272 <string>Show solution steps' matrices for every solution step</string> 273 </property> 274 <property name="text"> 275 <string>Show solution steps' matrices</string> 276 </property> 277 </widget> 278 <widget class="QCheckBox" name="cbCitiesLimit"> 279 <property name="cursor"> 280 <cursorShape>PointingHandCursor</cursorShape> 281 </property> 282 <property name="statusTip"> 283 <string>Use the number of cities in task to determine whether to show solution steps' matrices</string> 284 </property> 285 <property name="text"> 286 <string>Only when <=</string> 287 </property> 288 </widget> 289 <widget class="QSpinBox" name="spinCitiesLimit"> 290 <property name="statusTip"> 291 <string>Maximum number of cities for showing solution steps' matrices</string> 292 </property> 293 <property name="suffix"> 294 <string comment="Don't forget a space at the beginning!"> cities</string> 295 </property> 296 <property name="minimum"> 297 <number>1</number> 298 </property> 299 </widget> 289 300 </widget> 290 301 </widget> … … 292 303 <include location="../resources/tspsg.qrc"/> 293 304 </resources> 294 <connections/> 305 <connections> 306 <connection> 307 <sender>buttonBox</sender> 308 <signal>accepted()</signal> 309 <receiver>SettingsDialog</receiver> 310 <slot>accept()</slot> 311 <hints> 312 <hint type="sourcelabel"> 313 <x>155</x> 314 <y>252</y> 315 </hint> 316 <hint type="destinationlabel"> 317 <x>306</x> 318 <y>231</y> 319 </hint> 320 </hints> 321 </connection> 322 <connection> 323 <sender>buttonBox</sender> 324 <signal>rejected()</signal> 325 <receiver>SettingsDialog</receiver> 326 <slot>reject()</slot> 327 <hints> 328 <hint type="sourcelabel"> 329 <x>155</x> 330 <y>252</y> 331 </hint> 332 <hint type="destinationlabel"> 333 <x>262</x> 334 <y>245</y> 335 </hint> 336 </hints> 337 </connection> 338 <connection> 339 <sender>cbShowMatrix</sender> 340 <signal>toggled(bool)</signal> 341 <receiver>cbCitiesLimit</receiver> 342 <slot>setEnabled(bool)</slot> 343 <hints> 344 <hint type="sourcelabel"> 345 <x>81</x> 346 <y>8</y> 347 </hint> 348 <hint type="destinationlabel"> 349 <x>46</x> 350 <y>8</y> 351 </hint> 352 </hints> 353 </connection> 354 <connection> 355 <sender>cbShowMatrix</sender> 356 <signal>toggled(bool)</signal> 357 <receiver>cbCitiesLimit</receiver> 358 <slot>setChecked(bool)</slot> 359 <hints> 360 <hint type="sourcelabel"> 361 <x>81</x> 362 <y>8</y> 363 </hint> 364 <hint type="destinationlabel"> 365 <x>46</x> 366 <y>8</y> 367 </hint> 368 </hints> 369 </connection> 370 <connection> 371 <sender>cbCitiesLimit</sender> 372 <signal>toggled(bool)</signal> 373 <receiver>spinCitiesLimit</receiver> 374 <slot>setEnabled(bool)</slot> 375 <hints> 376 <hint type="sourcelabel"> 377 <x>46</x> 378 <y>8</y> 379 </hint> 380 <hint type="destinationlabel"> 381 <x>29</x> 382 <y>9</y> 383 </hint> 384 </hints> 385 </connection> 386 </connections> 295 387 </ui>
Note: See TracChangeset
for help on using the changeset viewer.