[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> |
---|
[42] | 9 | <width>205</width> |
---|
| 10 | <height>212</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"> |
---|
[38] | 18 | <normaloff>:/images/icons/preferences_system.png</normaloff>:/images/icons/preferences_system.png</iconset> |
---|
[17] | 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> |
---|
[42] | 182 | <widget class="QGroupBox" name="groupOutputSettings"> |
---|
| 183 | <property name="title"> |
---|
| 184 | <string>Output settings:</string> |
---|
| 185 | </property> |
---|
| 186 | <layout class="QHBoxLayout" name="horizontalLayout"> |
---|
| 187 | <item> |
---|
| 188 | <widget class="QPushButton" name="buttonFont"> |
---|
| 189 | <property name="cursor"> |
---|
| 190 | <cursorShape>PointingHandCursor</cursorShape> |
---|
| 191 | </property> |
---|
| 192 | <property name="statusTip"> |
---|
| 193 | <string>Font face for printing</string> |
---|
| 194 | </property> |
---|
| 195 | <property name="text"> |
---|
| 196 | <string>&Font...</string> |
---|
| 197 | </property> |
---|
| 198 | <property name="icon"> |
---|
| 199 | <iconset resource="../resources/tspsg.qrc"> |
---|
| 200 | <normaloff>:/images/icons/fonts.png</normaloff>:/images/icons/fonts.png</iconset> |
---|
| 201 | </property> |
---|
| 202 | </widget> |
---|
| 203 | </item> |
---|
| 204 | <item> |
---|
| 205 | <widget class="QPushButton" name="buttonColor"> |
---|
| 206 | <property name="cursor"> |
---|
| 207 | <cursorShape>PointingHandCursor</cursorShape> |
---|
| 208 | </property> |
---|
| 209 | <property name="statusTip"> |
---|
| 210 | <string>Font color for printing</string> |
---|
| 211 | </property> |
---|
| 212 | <property name="text"> |
---|
| 213 | <string>&Color...</string> |
---|
| 214 | </property> |
---|
| 215 | <property name="icon"> |
---|
| 216 | <iconset resource="../resources/tspsg.qrc"> |
---|
| 217 | <normaloff>:/images/icons/color_line.png</normaloff>:/images/icons/color_line.png</iconset> |
---|
| 218 | </property> |
---|
| 219 | </widget> |
---|
| 220 | </item> |
---|
| 221 | </layout> |
---|
| 222 | </widget> |
---|
[17] | 223 | </item> |
---|
| 224 | <item> |
---|
| 225 | <spacer name="verticalSpacer"> |
---|
| 226 | <property name="orientation"> |
---|
| 227 | <enum>Qt::Vertical</enum> |
---|
| 228 | </property> |
---|
| 229 | <property name="sizeHint" stdset="0"> |
---|
| 230 | <size> |
---|
| 231 | <width>20</width> |
---|
| 232 | <height>41</height> |
---|
| 233 | </size> |
---|
| 234 | </property> |
---|
| 235 | </spacer> |
---|
| 236 | </item> |
---|
| 237 | </layout> |
---|
| 238 | </widget> |
---|
| 239 | </item> |
---|
| 240 | <item> |
---|
| 241 | <widget class="Line" name="lineHorizontal"> |
---|
| 242 | <property name="maximumSize"> |
---|
| 243 | <size> |
---|
| 244 | <width>16777215</width> |
---|
| 245 | <height>2</height> |
---|
| 246 | </size> |
---|
| 247 | </property> |
---|
| 248 | <property name="frameShadow"> |
---|
| 249 | <enum>QFrame::Plain</enum> |
---|
| 250 | </property> |
---|
| 251 | <property name="lineWidth"> |
---|
| 252 | <number>2</number> |
---|
| 253 | </property> |
---|
| 254 | <property name="orientation"> |
---|
| 255 | <enum>Qt::Horizontal</enum> |
---|
| 256 | </property> |
---|
| 257 | </widget> |
---|
| 258 | </item> |
---|
| 259 | <item> |
---|
| 260 | <layout class="QHBoxLayout"> |
---|
| 261 | <property name="spacing"> |
---|
| 262 | <number>6</number> |
---|
| 263 | </property> |
---|
| 264 | <property name="sizeConstraint"> |
---|
| 265 | <enum>QLayout::SetFixedSize</enum> |
---|
| 266 | </property> |
---|
| 267 | <property name="margin"> |
---|
| 268 | <number>6</number> |
---|
| 269 | </property> |
---|
| 270 | <item> |
---|
[27] | 271 | <widget class="QToolButton" name="buttonHelp"> |
---|
| 272 | <property name="enabled"> |
---|
| 273 | <bool>false</bool> |
---|
| 274 | </property> |
---|
[17] | 275 | <property name="cursor"> |
---|
| 276 | <cursorShape>PointingHandCursor</cursorShape> |
---|
| 277 | </property> |
---|
| 278 | <property name="toolTip"> |
---|
[27] | 279 | <string>Help</string> |
---|
[17] | 280 | </property> |
---|
| 281 | <property name="statusTip"> |
---|
[27] | 282 | <string>Get preferences help</string> |
---|
[17] | 283 | </property> |
---|
| 284 | <property name="text"> |
---|
[27] | 285 | <string>Help</string> |
---|
[17] | 286 | </property> |
---|
| 287 | <property name="icon"> |
---|
| 288 | <iconset resource="../resources/tspsg.qrc"> |
---|
[38] | 289 | <normaloff>:/images/icons/help_hint.png</normaloff>:/images/icons/help_hint.png</iconset> |
---|
[17] | 290 | </property> |
---|
| 291 | <property name="autoRaise"> |
---|
| 292 | <bool>true</bool> |
---|
| 293 | </property> |
---|
| 294 | </widget> |
---|
| 295 | </item> |
---|
| 296 | <item> |
---|
| 297 | <spacer name="horizontalSpacer_4"> |
---|
| 298 | <property name="orientation"> |
---|
| 299 | <enum>Qt::Horizontal</enum> |
---|
| 300 | </property> |
---|
| 301 | <property name="sizeHint" stdset="0"> |
---|
| 302 | <size> |
---|
| 303 | <width>40</width> |
---|
| 304 | <height>20</height> |
---|
| 305 | </size> |
---|
| 306 | </property> |
---|
| 307 | </spacer> |
---|
| 308 | </item> |
---|
| 309 | <item> |
---|
| 310 | <widget class="QPushButton" name="buttonOK"> |
---|
| 311 | <property name="cursor"> |
---|
| 312 | <cursorShape>PointingHandCursor</cursorShape> |
---|
| 313 | </property> |
---|
| 314 | <property name="statusTip"> |
---|
[27] | 315 | <string>Save new preferences</string> |
---|
[17] | 316 | </property> |
---|
| 317 | <property name="text"> |
---|
| 318 | <string>&OK</string> |
---|
| 319 | </property> |
---|
| 320 | <property name="icon"> |
---|
| 321 | <iconset resource="../resources/tspsg.qrc"> |
---|
[38] | 322 | <normaloff>:/images/icons/button_ok.png</normaloff>:/images/icons/button_ok.png</iconset> |
---|
[17] | 323 | </property> |
---|
| 324 | <property name="default"> |
---|
| 325 | <bool>true</bool> |
---|
| 326 | </property> |
---|
| 327 | </widget> |
---|
| 328 | </item> |
---|
| 329 | <item> |
---|
| 330 | <widget class="QPushButton" name="buttonCancel"> |
---|
| 331 | <property name="cursor"> |
---|
| 332 | <cursorShape>PointingHandCursor</cursorShape> |
---|
| 333 | </property> |
---|
| 334 | <property name="statusTip"> |
---|
[27] | 335 | <string>Close without saving preferences</string> |
---|
[17] | 336 | </property> |
---|
| 337 | <property name="text"> |
---|
[27] | 338 | <string>&Cancel</string> |
---|
[17] | 339 | </property> |
---|
| 340 | <property name="icon"> |
---|
| 341 | <iconset resource="../resources/tspsg.qrc"> |
---|
[38] | 342 | <normaloff>:/images/icons/button_cancel.png</normaloff>:/images/icons/button_cancel.png</iconset> |
---|
[17] | 343 | </property> |
---|
| 344 | </widget> |
---|
| 345 | </item> |
---|
| 346 | </layout> |
---|
| 347 | </item> |
---|
| 348 | </layout> |
---|
| 349 | </widget> |
---|
| 350 | <resources> |
---|
| 351 | <include location="../resources/tspsg.qrc"/> |
---|
| 352 | </resources> |
---|
| 353 | <connections/> |
---|
| 354 | </ui> |
---|