| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<ui version="4.0"> |
| 3 |
<class>Gui::Dialog::DlgSettingsLightSources</class> |
| 4 |
<widget class="QWidget" name="Gui::Dialog::DlgSettingsLightSources"> |
| 5 |
<property name="geometry"> |
| 6 |
<rect> |
| 7 |
<x>0</x> |
| 8 |
<y>0</y> |
| 9 |
<width>743</width> |
| 10 |
<height>515</height> |
| 11 |
</rect> |
| 12 |
</property> |
| 13 |
<property name="windowTitle"> |
| 14 |
<string>Light Sources</string> |
| 15 |
</property> |
| 16 |
<layout class="QGridLayout" name="gridLayout_2"> |
| 17 |
<item row="1" column="0" rowspan="2"> |
| 18 |
<widget class="QGroupBox" name="groupBoxDirection"> |
| 19 |
<property name="sizePolicy"> |
| 20 |
<sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding"> |
| 21 |
<horstretch>0</horstretch> |
| 22 |
<verstretch>2</verstretch> |
| 23 |
</sizepolicy> |
| 24 |
</property> |
| 25 |
<property name="title"> |
| 26 |
<string>Preview</string> |
| 27 |
</property> |
| 28 |
<layout class="QGridLayout" name="gridLayout_3"> |
| 29 |
<item row="0" column="0" rowspan="2"> |
| 30 |
<widget class="Gui::View3DInventorViewer" name="viewer" native="true"> |
| 31 |
<property name="sizePolicy"> |
| 32 |
<sizepolicy hsizetype="Expanding" vsizetype="Expanding"> |
| 33 |
<horstretch>0</horstretch> |
| 34 |
<verstretch>0</verstretch> |
| 35 |
</sizepolicy> |
| 36 |
</property> |
| 37 |
<property name="focusPolicy"> |
| 38 |
<enum>Qt::FocusPolicy::NoFocus</enum> |
| 39 |
</property> |
| 40 |
<layout class="QHBoxLayout" name="horizontalLayout"> |
| 41 |
<property name="leftMargin"> |
| 42 |
<number>2</number> |
| 43 |
</property> |
| 44 |
<property name="rightMargin"> |
| 45 |
<number>2</number> |
| 46 |
</property> |
| 47 |
<item> |
| 48 |
<layout class="QVBoxLayout" name="verticalLayout"> |
| 49 |
<item> |
| 50 |
<spacer name="verticalSpacer"> |
| 51 |
<property name="orientation"> |
| 52 |
<enum>Qt::Orientation::Vertical</enum> |
| 53 |
</property> |
| 54 |
<property name="sizeHint" stdset="0"> |
| 55 |
<size> |
| 56 |
<width>0</width> |
| 57 |
<height>0</height> |
| 58 |
</size> |
| 59 |
</property> |
| 60 |
</spacer> |
| 61 |
</item> |
| 62 |
<item> |
| 63 |
<widget class="QToolButton" name="zoomInButton"> |
| 64 |
<property name="focusPolicy"> |
| 65 |
<enum>Qt::FocusPolicy::NoFocus</enum> |
| 66 |
</property> |
| 67 |
<property name="toolTip"> |
| 68 |
<string>Pushes in</string> |
| 69 |
</property> |
| 70 |
<property name="icon"> |
| 71 |
<iconset resource="../Icons/resource.qrc"> |
| 72 |
<normaloff>:/icons/FreeCAD-default/scalable/zoom-in.svg</normaloff>:/icons/FreeCAD-default/scalable/zoom-in.svg</iconset> |
| 73 |
</property> |
| 74 |
<property name="iconSize"> |
| 75 |
<size> |
| 76 |
<width>32</width> |
| 77 |
<height>32</height> |
| 78 |
</size> |
| 79 |
</property> |
| 80 |
</widget> |
| 81 |
</item> |
| 82 |
<item> |
| 83 |
<widget class="QToolButton" name="zoomOutButton"> |
| 84 |
<property name="focusPolicy"> |
| 85 |
<enum>Qt::FocusPolicy::NoFocus</enum> |
| 86 |
</property> |
| 87 |
<property name="toolTip"> |
| 88 |
<string>Pulls out</string> |
| 89 |
</property> |
| 90 |
<property name="icon"> |
| 91 |
<iconset resource="../Icons/resource.qrc"> |
| 92 |
<normaloff>:/icons/FreeCAD-default/scalable/zoom-out.svg</normaloff>:/icons/FreeCAD-default/scalable/zoom-out.svg</iconset> |
| 93 |
</property> |
| 94 |
<property name="iconSize"> |
| 95 |
<size> |
| 96 |
<width>32</width> |
| 97 |
<height>32</height> |
| 98 |
</size> |
| 99 |
</property> |
| 100 |
</widget> |
| 101 |
</item> |
| 102 |
</layout> |
| 103 |
</item> |
| 104 |
<item> |
| 105 |
<spacer name="horizontalSpacer"> |
| 106 |
<property name="orientation"> |
| 107 |
<enum>Qt::Orientation::Horizontal</enum> |
| 108 |
</property> |
| 109 |
<property name="sizeHint" stdset="0"> |
| 110 |
<size> |
| 111 |
<width>0</width> |
| 112 |
<height>0</height> |
| 113 |
</size> |
| 114 |
</property> |
| 115 |
</spacer> |
| 116 |
</item> |
| 117 |
</layout> |
| 118 |
</widget> |
| 119 |
</item> |
| 120 |
</layout> |
| 121 |
</widget> |
| 122 |
</item> |
| 123 |
<item row="3" column="0"> |
| 124 |
<spacer name="bottomSpacer"> |
| 125 |
<property name="orientation"> |
| 126 |
<enum>Qt::Orientation::Vertical</enum> |
| 127 |
</property> |
| 128 |
<property name="sizeHint" stdset="0"> |
| 129 |
<size> |
| 130 |
<width>20</width> |
| 131 |
<height>40</height> |
| 132 |
</size> |
| 133 |
</property> |
| 134 |
</spacer> |
| 135 |
</item> |
| 136 |
<item row="0" column="0"> |
| 137 |
<widget class="QGroupBox" name="groupBox"> |
| 138 |
<property name="title"> |
| 139 |
<string>Light Sources</string> |
| 140 |
</property> |
| 141 |
<layout class="QGridLayout" name="gridLayout"> |
| 142 |
<item row="0" column="4"> |
| 143 |
<widget class="QLabel" name="light1Label"> |
| 144 |
<property name="text"> |
| 145 |
<string>Color</string> |
| 146 |
</property> |
| 147 |
</widget> |
| 148 |
</item> |
| 149 |
<item row="4" column="6"> |
| 150 |
<widget class="Gui::PrefSpinBox" name="ambientLightIntensitySpinBox"> |
| 151 |
<property name="suffix"> |
| 152 |
<string>%</string> |
| 153 |
</property> |
| 154 |
<property name="maximum"> |
| 155 |
<number>100</number> |
| 156 |
</property> |
| 157 |
<property name="value"> |
| 158 |
<number>20</number> |
| 159 |
</property> |
| 160 |
<property name="prefEntry" stdset="0"> |
| 161 |
<cstring>AmbientLightIntensity</cstring> |
| 162 |
</property> |
| 163 |
<property name="prefPath" stdset="0"> |
| 164 |
<cstring>View/LightSources</cstring> |
| 165 |
</property> |
| 166 |
</widget> |
| 167 |
</item> |
| 168 |
<item row="2" column="4"> |
| 169 |
<widget class="Gui::PrefColorButton" name="backLightColor"> |
| 170 |
<property name="color"> |
| 171 |
<color> |
| 172 |
<red>245</red> |
| 173 |
<green>245</green> |
| 174 |
<blue>238</blue> |
| 175 |
</color> |
| 176 |
</property> |
| 177 |
<property name="prefEntry" stdset="0"> |
| 178 |
<cstring>BacklightColor</cstring> |
| 179 |
</property> |
| 180 |
<property name="prefPath" stdset="0"> |
| 181 |
<cstring>View/LightSources</cstring> |
| 182 |
</property> |
| 183 |
</widget> |
| 184 |
</item> |
| 185 |
<item row="1" column="0"> |
| 186 |
<widget class="Gui::PrefCheckBox" name="mainLightEnable"> |
| 187 |
<property name="text"> |
| 188 |
<string>Main light</string> |
| 189 |
</property> |
| 190 |
<property name="checked"> |
| 191 |
<bool>true</bool> |
| 192 |
</property> |
| 193 |
<property name="prefEntry" stdset="0"> |
| 194 |
<cstring>EnableHeadlight</cstring> |
| 195 |
</property> |
| 196 |
<property name="prefPath" stdset="0"> |
| 197 |
<cstring>View</cstring> |
| 198 |
</property> |
| 199 |
</widget> |
| 200 |
</item> |
| 201 |
<item row="2" column="2"> |
| 202 |
<widget class="Gui::QuantitySpinBox" name="backLightHorizontalAngle"> |
| 203 |
<property name="unit" stdset="0"> |
| 204 |
<string notr="true"/> |
| 205 |
</property> |
| 206 |
<property name="value"> |
| 207 |
<double>-130.000000000000000</double> |
| 208 |
</property> |
| 209 |
</widget> |
| 210 |
</item> |
| 211 |
<item row="2" column="3"> |
| 212 |
<widget class="Gui::QuantitySpinBox" name="backLightVerticalAngle"> |
| 213 |
<property name="unit" stdset="0"> |
| 214 |
<string notr="true"/> |
| 215 |
</property> |
| 216 |
<property name="value"> |
| 217 |
<double>-10.000000000000000</double> |
| 218 |
</property> |
| 219 |
</widget> |
| 220 |
</item> |
| 221 |
<item row="2" column="0"> |
| 222 |
<widget class="Gui::PrefCheckBox" name="backLightEnable"> |
| 223 |
<property name="text"> |
| 224 |
<string>Backlight</string> |
| 225 |
</property> |
| 226 |
<property name="checked"> |
| 227 |
<bool>true</bool> |
| 228 |
</property> |
| 229 |
<property name="prefEntry" stdset="0"> |
| 230 |
<cstring>EnableBacklight</cstring> |
| 231 |
</property> |
| 232 |
<property name="prefPath" stdset="0"> |
| 233 |
<cstring>View</cstring> |
| 234 |
</property> |
| 235 |
</widget> |
| 236 |
</item> |
| 237 |
<item row="3" column="2"> |
| 238 |
<widget class="Gui::QuantitySpinBox" name="fillLightHorizontalAngle"> |
| 239 |
<property name="unit" stdset="0"> |
| 240 |
<string notr="true"/> |
| 241 |
</property> |
| 242 |
<property name="value"> |
| 243 |
<double>-40.000000000000000</double> |
| 244 |
</property> |
| 245 |
</widget> |
| 246 |
</item> |
| 247 |
<item row="0" column="3"> |
| 248 |
<widget class="QLabel" name="light1Label_2"> |
| 249 |
<property name="text"> |
| 250 |
<string>Vertical angle</string> |
| 251 |
</property> |
| 252 |
</widget> |
| 253 |
</item> |
| 254 |
<item row="4" column="4"> |
| 255 |
<widget class="Gui::PrefColorButton" name="ambientLightColor"> |
| 256 |
<property name="color"> |
| 257 |
<color> |
| 258 |
<red>255</red> |
| 259 |
<green>255</green> |
| 260 |
<blue>255</blue> |
| 261 |
</color> |
| 262 |
</property> |
| 263 |
<property name="prefEntry" stdset="0"> |
| 264 |
<cstring>AmbientLightColor</cstring> |
| 265 |
</property> |
| 266 |
<property name="prefPath" stdset="0"> |
| 267 |
<cstring>View/LightSources</cstring> |
| 268 |
</property> |
| 269 |
</widget> |
| 270 |
</item> |
| 271 |
<item row="0" column="2"> |
| 272 |
<widget class="QLabel" name="light1Label_3"> |
| 273 |
<property name="text"> |
| 274 |
<string>Horizontal angle</string> |
| 275 |
</property> |
| 276 |
</widget> |
| 277 |
</item> |
| 278 |
<item row="1" column="6"> |
| 279 |
<widget class="Gui::PrefSpinBox" name="mainLightIntensitySpinBox"> |
| 280 |
<property name="suffix"> |
| 281 |
<string>%</string> |
| 282 |
</property> |
| 283 |
<property name="maximum"> |
| 284 |
<number>100</number> |
| 285 |
</property> |
| 286 |
<property name="value"> |
| 287 |
<number>90</number> |
| 288 |
</property> |
| 289 |
<property name="prefEntry" stdset="0"> |
| 290 |
<cstring>HeadlightIntensity</cstring> |
| 291 |
</property> |
| 292 |
<property name="prefPath" stdset="0"> |
| 293 |
<cstring>View/LightSources</cstring> |
| 294 |
</property> |
| 295 |
</widget> |
| 296 |
</item> |
| 297 |
<item row="1" column="2"> |
| 298 |
<widget class="Gui::QuantitySpinBox" name="mainLightHorizontalAngle"> |
| 299 |
<property name="unit" stdset="0"> |
| 300 |
<string notr="true"/> |
| 301 |
</property> |
| 302 |
<property name="value"> |
| 303 |
<double>100.000000000000000</double> |
| 304 |
</property> |
| 305 |
</widget> |
| 306 |
</item> |
| 307 |
<item row="3" column="3"> |
| 308 |
<widget class="Gui::QuantitySpinBox" name="fillLightVerticalAngle"> |
| 309 |
<property name="unit" stdset="0"> |
| 310 |
<string notr="true"/> |
| 311 |
</property> |
| 312 |
<property name="value"> |
| 313 |
<double>5.000000000000000</double> |
| 314 |
</property> |
| 315 |
</widget> |
| 316 |
</item> |
| 317 |
<item row="2" column="6"> |
| 318 |
<widget class="Gui::PrefSpinBox" name="backLightIntensitySpinBox"> |
| 319 |
<property name="suffix"> |
| 320 |
<string>%</string> |
| 321 |
</property> |
| 322 |
<property name="maximum"> |
| 323 |
<number>100</number> |
| 324 |
</property> |
| 325 |
<property name="value"> |
| 326 |
<number>60</number> |
| 327 |
</property> |
| 328 |
<property name="prefEntry" stdset="0"> |
| 329 |
<cstring>BacklightIntensity</cstring> |
| 330 |
</property> |
| 331 |
<property name="prefPath" stdset="0"> |
| 332 |
<cstring>View/LightSources</cstring> |
| 333 |
</property> |
| 334 |
</widget> |
| 335 |
</item> |
| 336 |
<item row="3" column="0"> |
| 337 |
<widget class="Gui::PrefCheckBox" name="fillLightEnable"> |
| 338 |
<property name="text"> |
| 339 |
<string>Fill light</string> |
| 340 |
</property> |
| 341 |
<property name="checked"> |
| 342 |
<bool>true</bool> |
| 343 |
</property> |
| 344 |
<property name="prefEntry" stdset="0"> |
| 345 |
<cstring>EnableFillLight</cstring> |
| 346 |
</property> |
| 347 |
<property name="prefPath" stdset="0"> |
| 348 |
<cstring>View</cstring> |
| 349 |
</property> |
| 350 |
</widget> |
| 351 |
</item> |
| 352 |
<item row="3" column="6"> |
| 353 |
<widget class="Gui::PrefSpinBox" name="fillLightIntensitySpinBox"> |
| 354 |
<property name="suffix"> |
| 355 |
<string>%</string> |
| 356 |
</property> |
| 357 |
<property name="maximum"> |
| 358 |
<number>100</number> |
| 359 |
</property> |
| 360 |
<property name="value"> |
| 361 |
<number>40</number> |
| 362 |
</property> |
| 363 |
<property name="prefEntry" stdset="0"> |
| 364 |
<cstring>FillLightIntensity</cstring> |
| 365 |
</property> |
| 366 |
<property name="prefPath" stdset="0"> |
| 367 |
<cstring>View/LightSources</cstring> |
| 368 |
</property> |
| 369 |
</widget> |
| 370 |
</item> |
| 371 |
<item row="0" column="6"> |
| 372 |
<widget class="QLabel" name="light1Label_4"> |
| 373 |
<property name="text"> |
| 374 |
<string>Intensity</string> |
| 375 |
</property> |
| 376 |
</widget> |
| 377 |
</item> |
| 378 |
<item row="1" column="1"> |
| 379 |
<spacer name="horizontalSpacer_2"> |
| 380 |
<property name="orientation"> |
| 381 |
<enum>Qt::Orientation::Horizontal</enum> |
| 382 |
</property> |
| 383 |
<property name="sizeHint" stdset="0"> |
| 384 |
<size> |
| 385 |
<width>40</width> |
| 386 |
<height>20</height> |
| 387 |
</size> |
| 388 |
</property> |
| 389 |
</spacer> |
| 390 |
</item> |
| 391 |
<item row="3" column="4"> |
| 392 |
<widget class="Gui::PrefColorButton" name="fillLightColor"> |
| 393 |
<property name="color"> |
| 394 |
<color> |
| 395 |
<red>230</red> |
| 396 |
<green>250</green> |
| 397 |
<blue>255</blue> |
| 398 |
</color> |
| 399 |
</property> |
| 400 |
<property name="prefEntry" stdset="0"> |
| 401 |
<cstring>FillLightColor</cstring> |
| 402 |
</property> |
| 403 |
<property name="prefPath" stdset="0"> |
| 404 |
<cstring>View/LightSources</cstring> |
| 405 |
</property> |
| 406 |
</widget> |
| 407 |
</item> |
| 408 |
<item row="1" column="3"> |
| 409 |
<widget class="Gui::QuantitySpinBox" name="mainLightVerticalAngle"> |
| 410 |
<property name="unit" stdset="0"> |
| 411 |
<string notr="true"/> |
| 412 |
</property> |
| 413 |
<property name="value"> |
| 414 |
<double>-46.000000000000000</double> |
| 415 |
</property> |
| 416 |
</widget> |
| 417 |
</item> |
| 418 |
<item row="1" column="4"> |
| 419 |
<widget class="Gui::PrefColorButton" name="mainLightColor"> |
| 420 |
<property name="color"> |
| 421 |
<color> |
| 422 |
<red>255</red> |
| 423 |
<green>255</green> |
| 424 |
<blue>255</blue> |
| 425 |
</color> |
| 426 |
</property> |
| 427 |
<property name="prefEntry" stdset="0"> |
| 428 |
<cstring>HeadlightColor</cstring> |
| 429 |
</property> |
| 430 |
<property name="prefPath" stdset="0"> |
| 431 |
<cstring>View/LightSources</cstring> |
| 432 |
</property> |
| 433 |
</widget> |
| 434 |
</item> |
| 435 |
<item row="4" column="0"> |
| 436 |
<widget class="QLabel" name="label"> |
| 437 |
<property name="text"> |
| 438 |
<string>Ambient light</string> |
| 439 |
</property> |
| 440 |
</widget> |
| 441 |
</item> |
| 442 |
</layout> |
| 443 |
</widget> |
| 444 |
</item> |
| 445 |
</layout> |
| 446 |
</widget> |
| 447 |
<customwidgets> |
| 448 |
<customwidget> |
| 449 |
<class>Gui::QuantitySpinBox</class> |
| 450 |
<extends>QAbstractSpinBox</extends> |
| 451 |
<header>Gui/QuantitySpinBox.h</header> |
| 452 |
</customwidget> |
| 453 |
<customwidget> |
| 454 |
<class>Gui::ColorButton</class> |
| 455 |
<extends>QPushButton</extends> |
| 456 |
<header>Gui/Widgets.h</header> |
| 457 |
</customwidget> |
| 458 |
<customwidget> |
| 459 |
<class>Gui::PrefSpinBox</class> |
| 460 |
<extends>QSpinBox</extends> |
| 461 |
<header>Gui/PrefWidgets.h</header> |
| 462 |
</customwidget> |
| 463 |
<customwidget> |
| 464 |
<class>Gui::PrefColorButton</class> |
| 465 |
<extends>Gui::ColorButton</extends> |
| 466 |
<header>Gui/PrefWidgets.h</header> |
| 467 |
</customwidget> |
| 468 |
<customwidget> |
| 469 |
<class>Gui::PrefCheckBox</class> |
| 470 |
<extends>QCheckBox</extends> |
| 471 |
<header>Gui/PrefWidgets.h</header> |
| 472 |
</customwidget> |
| 473 |
<customwidget> |
| 474 |
<class>Gui::View3DInventorViewer</class> |
| 475 |
<extends>QWidget</extends> |
| 476 |
<header>Gui/View3DInventorViewer.h</header> |
| 477 |
</customwidget> |
| 478 |
</customwidgets> |
| 479 |
<tabstops> |
| 480 |
<tabstop>mainLightEnable</tabstop> |
| 481 |
<tabstop>mainLightHorizontalAngle</tabstop> |
| 482 |
<tabstop>mainLightVerticalAngle</tabstop> |
| 483 |
<tabstop>mainLightColor</tabstop> |
| 484 |
<tabstop>mainLightIntensitySpinBox</tabstop> |
| 485 |
<tabstop>backLightEnable</tabstop> |
| 486 |
<tabstop>backLightHorizontalAngle</tabstop> |
| 487 |
<tabstop>backLightVerticalAngle</tabstop> |
| 488 |
<tabstop>backLightColor</tabstop> |
| 489 |
<tabstop>backLightIntensitySpinBox</tabstop> |
| 490 |
<tabstop>fillLightEnable</tabstop> |
| 491 |
<tabstop>fillLightHorizontalAngle</tabstop> |
| 492 |
<tabstop>fillLightVerticalAngle</tabstop> |
| 493 |
<tabstop>fillLightColor</tabstop> |
| 494 |
<tabstop>fillLightIntensitySpinBox</tabstop> |
| 495 |
<tabstop>ambientLightColor</tabstop> |
| 496 |
<tabstop>ambientLightIntensitySpinBox</tabstop> |
| 497 |
</tabstops> |
| 498 |
<resources> |
| 499 |
<include location="../Icons/resource.qrc"/> |
| 500 |
</resources> |
| 501 |
<connections/> |
| 502 |
<slots> |
| 503 |
<slot>updateDraggerQS(void)</slot> |
| 504 |
<slot>updateDraggerXYZ(void)</slot> |
| 505 |
<slot>pushIn(void)</slot> |
| 506 |
<slot>pullOut(void)</slot> |
| 507 |
</slots> |
| 508 |
</ui> |