Changeset 17 in tspsg-svn for trunk/ui/settingsdialog.ui
- Timestamp:
- Jun 15, 2009, 5:10:25 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:ignore
-
old new 1 *. vcproj*1 *.idb 2 2 *.ncb 3 *.pdb 3 4 *.sln 4 5 *.suo 5 *.idb 6 *.pdb 7 ui_* 6 *.vcproj* 7 Makefile* 8 Win32 9 Windows Mobile* 10 debug 8 11 moc_* 9 12 qrc_* 10 tspsg11 Makefile*12 debug13 13 release 14 ui_*
-
- Property svn:ignore
-
trunk/ui/settingsdialog.ui
r10 r17 1 <ui version="4.0" > 1 <?xml version="1.0" encoding="UTF-8"?> 2 <ui version="4.0"> 2 3 <class>SettingsDialog</class> 3 <widget class="QWidget" name="SettingsDialog" 4 <property name="geometry" 4 <widget class="QWidget" name="SettingsDialog"> 5 <property name="geometry"> 5 6 <rect> 6 7 <x>0</x> … … 10 11 </rect> 11 12 </property> 12 <property name="windowTitle" 13 <property name="windowTitle"> 13 14 <string>Параметры</string> 14 15 </property> 15 <property name="windowIcon" > 16 <iconset resource="../resources/tspsg.qrc" >:/images/Settings.png</iconset> 16 <property name="windowIcon"> 17 <iconset resource="../resources/tspsg.qrc"> 18 <normaloff>:/images/Settings.png</normaloff>:/images/Settings.png</iconset> 17 19 </property> 18 <layout class="QVBoxLayout" 19 <property name="spacing" 20 <layout class="QVBoxLayout"> 21 <property name="spacing"> 20 22 <number>0</number> 21 23 </property> 22 <property name="leftMargin" > 23 <number>0</number> 24 </property> 25 <property name="topMargin" > 26 <number>0</number> 27 </property> 28 <property name="rightMargin" > 29 <number>0</number> 30 </property> 31 <property name="bottomMargin" > 24 <property name="margin"> 32 25 <number>0</number> 33 26 </property> 34 27 <item> 35 <layout class="QHBoxLayout" 36 <property name="spacing" 28 <layout class="QHBoxLayout"> 29 <property name="spacing"> 37 30 <number>0</number> 38 31 </property> 39 32 <item> 40 <widget class="QLabel" name="imageSide" 41 <property name="minimumSize" 33 <widget class="QLabel" name="imageSide"> 34 <property name="minimumSize"> 42 35 <size> 43 36 <width>130</width> … … 45 38 </size> 46 39 </property> 47 <property name="styleSheet" 40 <property name="styleSheet"> 48 41 <string>background-color: #0080C0</string> 49 42 </property> 50 <property name="frameShape" 43 <property name="frameShape"> 51 44 <enum>QFrame::StyledPanel</enum> 52 45 </property> 53 <property name="lineWidth" 46 <property name="lineWidth"> 54 47 <number>0</number> 55 48 </property> 56 <property name="text" 49 <property name="text"> 57 50 <string/> 58 51 </property> 59 <property name="pixmap" 60 <pixmap resource="../resources/tspsg.qrc" 61 </property> 62 <property name="alignment" 52 <property name="pixmap"> 53 <pixmap resource="../resources/tspsg.qrc">:/images/Settings.png</pixmap> 54 </property> 55 <property name="alignment"> 63 56 <set>Qt::AlignCenter</set> 64 57 </property> … … 66 59 </item> 67 60 <item> 68 <widget class="Line" name="lineVertical" 69 <property name="frameShadow" 61 <widget class="Line" name="lineVertical"> 62 <property name="frameShadow"> 70 63 <enum>QFrame::Plain</enum> 71 64 </property> 72 <property name="lineWidth" 65 <property name="lineWidth"> 73 66 <number>2</number> 74 67 </property> 75 <property name="orientation" 68 <property name="orientation"> 76 69 <enum>Qt::Vertical</enum> 77 70 </property> … … 79 72 </item> 80 73 <item> 81 <widget class="QWidget" na tive="1" name="background">82 <property name="palette" 74 <widget class="QWidget" name="background" native="true"> 75 <property name="palette"> 83 76 <palette> 84 77 <active> 85 <colorrole role="Base" 86 <brush brushstyle="SolidPattern" 87 <color alpha="255" 88 <red>255</red> 89 <green>255</green> 90 <blue>255</blue> 91 </color> 92 </brush> 93 </colorrole> 94 <colorrole role="Window" 95 <brush brushstyle="SolidPattern" 96 <color alpha="255" 78 <colorrole role="Base"> 79 <brush brushstyle="SolidPattern"> 80 <color alpha="255"> 81 <red>255</red> 82 <green>255</green> 83 <blue>255</blue> 84 </color> 85 </brush> 86 </colorrole> 87 <colorrole role="Window"> 88 <brush brushstyle="SolidPattern"> 89 <color alpha="255"> 97 90 <red>255</red> 98 91 <green>255</green> … … 103 96 </active> 104 97 <inactive> 105 <colorrole role="Base" 106 <brush brushstyle="SolidPattern" 107 <color alpha="255" 108 <red>255</red> 109 <green>255</green> 110 <blue>255</blue> 111 </color> 112 </brush> 113 </colorrole> 114 <colorrole role="Window" 115 <brush brushstyle="SolidPattern" 116 <color alpha="255" 98 <colorrole role="Base"> 99 <brush brushstyle="SolidPattern"> 100 <color alpha="255"> 101 <red>255</red> 102 <green>255</green> 103 <blue>255</blue> 104 </color> 105 </brush> 106 </colorrole> 107 <colorrole role="Window"> 108 <brush brushstyle="SolidPattern"> 109 <color alpha="255"> 117 110 <red>255</red> 118 111 <green>255</green> … … 123 116 </inactive> 124 117 <disabled> 125 <colorrole role="Base" 126 <brush brushstyle="SolidPattern" 127 <color alpha="255" 128 <red>255</red> 129 <green>255</green> 130 <blue>255</blue> 131 </color> 132 </brush> 133 </colorrole> 134 <colorrole role="Window" 135 <brush brushstyle="SolidPattern" 136 <color alpha="255" 118 <colorrole role="Base"> 119 <brush brushstyle="SolidPattern"> 120 <color alpha="255"> 121 <red>255</red> 122 <green>255</green> 123 <blue>255</blue> 124 </color> 125 </brush> 126 </colorrole> 127 <colorrole role="Window"> 128 <brush brushstyle="SolidPattern"> 129 <color alpha="255"> 137 130 <red>255</red> 138 131 <green>255</green> … … 144 137 </palette> 145 138 </property> 146 <property name="autoFillBackground" 139 <property name="autoFillBackground"> 147 140 <bool>true</bool> 148 141 </property> 149 <layout class="QVBoxLayout" 142 <layout class="QVBoxLayout"> 150 143 <item> 151 <layout class="QHBoxLayout" 152 <property name="spacing" 144 <layout class="QHBoxLayout"> 145 <property name="spacing"> 153 146 <number>6</number> 154 147 </property> 155 148 <item> 156 <widget class="QGroupBox" name="groupRandomSettings" 157 <property name="title" 149 <widget class="QGroupBox" name="groupRandomSettings"> 150 <property name="title"> 158 151 <string>Случайные значения:</string> 159 152 </property> 160 <layout class="QVBoxLayout" 153 <layout class="QVBoxLayout"> 161 154 <item> 162 <layout class="QHBoxLayout" 163 <item> 164 <widget class="QLabel" name="labelRandMin" 165 <property name="sizePolicy" 166 <sizepolicy vsizetype="Preferred" hsizetype="Expanding">155 <layout class="QHBoxLayout"> 156 <item> 157 <widget class="QLabel" name="labelRandMin"> 158 <property name="sizePolicy"> 159 <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> 167 160 <horstretch>0</horstretch> 168 161 <verstretch>0</verstretch> 169 162 </sizepolicy> 170 163 </property> 171 <property name="text" 164 <property name="text"> 172 165 <string>Ми&нимум:</string> 173 166 </property> 174 <property name="buddy" 167 <property name="buddy"> 175 168 <cstring>spinRandMin</cstring> 176 169 </property> … … 178 171 </item> 179 172 <item> 180 <widget class="QSpinBox" name="spinRandMin" 181 <property name="cursor" 173 <widget class="QSpinBox" name="spinRandMin"> 174 <property name="cursor"> 182 175 <cursorShape>PointingHandCursor</cursorShape> 183 176 </property> 184 <property name="statusTip" 177 <property name="statusTip"> 185 178 <string>Нижняя граница для генерации случайных значений</string> 186 179 </property> 187 <property name="maximum" 180 <property name="maximum"> 188 181 <number>1000</number> 189 182 </property> 190 <property name="value" 183 <property name="value"> 191 184 <number>1</number> 192 185 </property> … … 196 189 </item> 197 190 <item> 198 <layout class="QHBoxLayout" 199 <item> 200 <widget class="QLabel" name="labelRandMax" 201 <property name="sizePolicy" 202 <sizepolicy vsizetype="Preferred" hsizetype="Expanding">191 <layout class="QHBoxLayout"> 192 <item> 193 <widget class="QLabel" name="labelRandMax"> 194 <property name="sizePolicy"> 195 <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> 203 196 <horstretch>0</horstretch> 204 197 <verstretch>0</verstretch> 205 198 </sizepolicy> 206 199 </property> 207 <property name="text" 200 <property name="text"> 208 201 <string>&Максимум:</string> 209 202 </property> 210 <property name="buddy" 203 <property name="buddy"> 211 204 <cstring>spinRandMax</cstring> 212 205 </property> … … 214 207 </item> 215 208 <item> 216 <widget class="QSpinBox" name="spinRandMax" 217 <property name="cursor" 209 <widget class="QSpinBox" name="spinRandMax"> 210 <property name="cursor"> 218 211 <cursorShape>PointingHandCursor</cursorShape> 219 212 </property> 220 <property name="statusTip" 213 <property name="statusTip"> 221 214 <string>Верхняя граница для генерации случайных значений</string> 222 215 </property> 223 <property name="minimum" 216 <property name="minimum"> 224 217 <number>1</number> 225 218 </property> 226 <property name="maximum" 219 <property name="maximum"> 227 220 <number>1000</number> 228 221 </property> 229 <property name="value" 222 <property name="value"> 230 223 <number>10</number> 231 224 </property> … … 238 231 </item> 239 232 <item> 240 <widget class="QGroupBox" name="groupPrintSetup" 241 <property name="title" 233 <widget class="QGroupBox" name="groupPrintSetup"> 234 <property name="title"> 242 235 <string>Настройки печати:</string> 243 236 </property> 244 <layout class="QVBoxLayout" 237 <layout class="QVBoxLayout"> 245 238 <item> 246 <layout class="QHBoxLayout" 247 <item> 248 <widget class="QLabel" name="labelLeftMargin" 249 <property name="text" 239 <layout class="QHBoxLayout"> 240 <item> 241 <widget class="QLabel" name="labelLeftMargin"> 242 <property name="text"> 250 243 <string>&Левый отступ:</string> 251 244 </property> 252 <property name="buddy" 245 <property name="buddy"> 253 246 <cstring>spinLeftMargin</cstring> 254 247 </property> … … 256 249 </item> 257 250 <item> 258 <widget class="QSpinBox" name="spinLeftMargin" 259 <property name="cursor" 251 <widget class="QSpinBox" name="spinLeftMargin"> 252 <property name="cursor"> 260 253 <cursorShape>PointingHandCursor</cursorShape> 261 254 </property> 262 <property name="statusTip" 255 <property name="statusTip"> 263 256 <string>Размер отступа от левого края страницы</string> 264 257 </property> 265 <property name="maximum" 258 <property name="maximum"> 266 259 <number>999</number> 267 260 </property> 268 <property name="singleStep" 261 <property name="singleStep"> 269 262 <number>10</number> 270 263 </property> 271 <property name="value" 264 <property name="value"> 272 265 <number>100</number> 273 266 </property> … … 277 270 </item> 278 271 <item> 279 <widget class="QPushButton" name="buttonFont" 280 <property name="cursor" 272 <widget class="QPushButton" name="buttonFont"> 273 <property name="cursor"> 281 274 <cursorShape>PointingHandCursor</cursorShape> 282 275 </property> 283 <property name="statusTip" 276 <property name="statusTip"> 284 277 <string>Задать параметры шрифта, используемого при печати</string> 285 278 </property> 286 <property name="text" 279 <property name="text"> 287 280 <string>&Шрифт...</string> 288 281 </property> 289 <property name="icon" > 290 <iconset resource="../resources/tspsg.qrc" >:/images/buttons/buttons/Font.png</iconset> 282 <property name="icon"> 283 <iconset resource="../resources/tspsg.qrc"> 284 <normaloff>:/images/buttons/buttons/Font.png</normaloff>:/images/buttons/buttons/Font.png</iconset> 291 285 </property> 292 286 </widget> … … 298 292 </item> 299 293 <item> 300 <widget class="QCheckBox" name="checkBox" 301 <property name="cursor" 294 <widget class="QCheckBox" name="checkBox"> 295 <property name="cursor"> 302 296 <cursorShape>PointingHandCursor</cursorShape> 303 297 </property> 304 <property name="statusTip" 298 <property name="statusTip"> 305 299 <string>Восстанавливать состояние и размеры окна после перезапуска программы</string> 306 300 </property> 307 <property name="text" 301 <property name="text"> 308 302 <string>Сохранять состояние и положение главного окна</string> 309 303 </property> … … 316 310 </item> 317 311 <item> 318 <widget class="Line" name="lineHorizontal" 319 <property name="maximumSize" 312 <widget class="Line" name="lineHorizontal"> 313 <property name="maximumSize"> 320 314 <size> 321 315 <width>16777215</width> … … 323 317 </size> 324 318 </property> 325 <property name="frameShadow" 319 <property name="frameShadow"> 326 320 <enum>QFrame::Plain</enum> 327 321 </property> 328 <property name="lineWidth" 322 <property name="lineWidth"> 329 323 <number>2</number> 330 324 </property> 331 <property name="orientation" 325 <property name="orientation"> 332 326 <enum>Qt::Horizontal</enum> 333 327 </property> … … 335 329 </item> 336 330 <item> 337 <layout class="QHBoxLayout" 338 <property name="spacing" 331 <layout class="QHBoxLayout"> 332 <property name="spacing"> 339 333 <number>6</number> 340 334 </property> 341 <property name=" leftMargin">335 <property name="margin"> 342 336 <number>6</number> 343 337 </property> 344 <property name="topMargin" > 345 <number>6</number> 346 </property> 347 <property name="rightMargin" > 348 <number>6</number> 349 </property> 350 <property name="bottomMargin" > 351 <number>6</number> 352 </property> 353 <item> 354 <widget class="QToolButton" name="toolButton" > 355 <property name="cursor" > 338 <item> 339 <widget class="QToolButton" name="toolButton"> 340 <property name="cursor"> 356 341 <cursorShape>PointingHandCursor</cursorShape> 357 342 </property> 358 <property name="toolTip" 343 <property name="toolTip"> 359 344 <string>Справка</string> 360 345 </property> 361 <property name="statusTip" 346 <property name="statusTip"> 362 347 <string>Получить помощь по настройкам</string> 363 348 </property> 364 <property name="text" 349 <property name="text"> 365 350 <string>Помощь</string> 366 351 </property> 367 <property name="icon" > 368 <iconset resource="../resources/tspsg.qrc" >:/images/buttons/buttons/Help.png</iconset> 369 </property> 370 <property name="autoRaise" > 352 <property name="icon"> 353 <iconset resource="../resources/tspsg.qrc"> 354 <normaloff>:/images/buttons/buttons/Help.png</normaloff>:/images/buttons/buttons/Help.png</iconset> 355 </property> 356 <property name="autoRaise"> 371 357 <bool>true</bool> 372 358 </property> … … 374 360 </item> 375 361 <item> 376 <widget class="QLabel" name="labelHint" 377 <property name="sizePolicy" 378 <sizepolicy vsizetype="Preferred" hsizetype="Expanding">362 <widget class="QLabel" name="labelHint"> 363 <property name="sizePolicy"> 364 <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> 379 365 <horstretch>0</horstretch> 380 366 <verstretch>0</verstretch> 381 367 </sizepolicy> 382 368 </property> 383 <property name="statusTip" 369 <property name="statusTip"> 384 370 <string>Наведите указатель мыши на элемент диалога, чтоб получить подсказку</string> 385 371 </property> 386 <property name="text" 372 <property name="text"> 387 373 <string/> 388 374 </property> 389 <property name="textFormat" 375 <property name="textFormat"> 390 376 <enum>Qt::PlainText</enum> 391 377 </property> 392 <property name="alignment" 378 <property name="alignment"> 393 379 <set>Qt::AlignJustify|Qt::AlignTop</set> 394 380 </property> 395 <property name="wordWrap" 381 <property name="wordWrap"> 396 382 <bool>true</bool> 397 383 </property> … … 399 385 </item> 400 386 <item> 401 <widget class="QPushButton" name="buttonOK" 402 <property name="cursor" 387 <widget class="QPushButton" name="buttonOK"> 388 <property name="cursor"> 403 389 <cursorShape>PointingHandCursor</cursorShape> 404 390 </property> 405 <property name="statusTip" 391 <property name="statusTip"> 406 392 <string>Сохранить новые параметры</string> 407 393 </property> 408 <property name="text" 394 <property name="text"> 409 395 <string>&OK</string> 410 396 </property> 411 <property name="icon" > 412 <iconset resource="../resources/tspsg.qrc" >:/images/buttons/buttons/OK.png</iconset> 413 </property> 414 <property name="default" > 397 <property name="icon"> 398 <iconset resource="../resources/tspsg.qrc"> 399 <normaloff>:/images/buttons/buttons/OK.png</normaloff>:/images/buttons/buttons/OK.png</iconset> 400 </property> 401 <property name="default"> 415 402 <bool>true</bool> 416 403 </property> … … 418 405 </item> 419 406 <item> 420 <widget class="QPushButton" name="buttonCancel" 421 <property name="cursor" 407 <widget class="QPushButton" name="buttonCancel"> 408 <property name="cursor"> 422 409 <cursorShape>PointingHandCursor</cursorShape> 423 410 </property> 424 <property name="statusTip" 411 <property name="statusTip"> 425 412 <string>Закрыть окно без сохранения параметров</string> 426 413 </property> 427 <property name="text" 414 <property name="text"> 428 415 <string>&Отмена</string> 429 416 </property> 430 <property name="icon" > 431 <iconset resource="../resources/tspsg.qrc" >:/images/buttons/buttons/Critical.png</iconset> 417 <property name="icon"> 418 <iconset resource="../resources/tspsg.qrc"> 419 <normaloff>:/images/buttons/buttons/Critical.png</normaloff>:/images/buttons/buttons/Critical.png</iconset> 432 420 </property> 433 421 </widget> … … 438 426 </widget> 439 427 <resources> 440 <include location="../resources/tspsg.qrc" 428 <include location="../resources/tspsg.qrc"/> 441 429 </resources> 442 430 <connections/>
Note: See TracChangeset
for help on using the changeset viewer.