@ -7,7 +7,7 @@
<x>0</x>
<x>0</x>
<y>0</y>
<y>0</y>
<width>650</width>
<width>650</width>
<height>340 </height>
<height>358 </height>
</rect>
</rect>
</property>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<layout class="QVBoxLayout" name="verticalLayout">
@ -22,190 +22,210 @@
</attribute>
</attribute>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<item>
<widget class="QWidget" name="DisplayWidget">
<layout class="QGridLayout" name="gridLayout_4" columnstretch="1,0">
<layout class="QGridLayout" name="gridLayout_4" columnstretch="1,0">
<item row="5" column="0">
<item row="3" column="0">
<widget class="QLabel" name="screenLabel">
<widget class="QLabel" name="antiAliasingLabel">
<property name="text">
<string>Screen:</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QComboBox" name="antiAliasingComboBox">
<item>
<property name="text">
<property name="text">
<string>Anti-aliasing:</string>
<string>0 </string>
</property>
</property>
</widget>
</item>
</item>
<item>
<item row="6" column="0">
<widget class="QCheckBox" name="framerateLimitCheckBox">
<property name="text">
<property name="text">
<string>Framerate Limit: </string>
<string>2</string>
</property>
</property>
</widget>
</item>
</item>
<item>
<item row="5" column="1">
<property name="text">
<layout class="QGridLayout" name="resolutionLayout">
<string>4</string>
<item row="1" column="2">
<layout class="QHBoxLayout" name="customResolutionLayout" stretch="1,0,1">
<item>
<widget class="QSpinBox" name="customWidthSpinBox">
<property name="minimum">
<number>800</number>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="multiplyLabel">
<property name="text">
<string> x </string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="customHeightSpinBox">
<property name="minimum">
<number>600</number>
</property>
</widget>
</item>
</layout>
</item>
<item row="1" column="1">
<widget class="QRadioButton" name="customRadioButton">
<property name="text">
<string>Custom:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QRadioButton" name="standardRadioButton">
<property name="text">
<string>Standard:</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QComboBox" name="resolutionComboBox"/>
</item>
</layout>
</item>
<item row="6" column="1">
<widget class="QDoubleSpinBox" name="framerateLimitSpinBox">
<property name="enabled">
<bool>false</bool>
</property>
<property name="suffix">
<string> FPS</string>
</property>
<property name="decimals">
<number>1</number>
</property>
<property name="minimum">
<double>1</double>
</property>
<property name="maximum">
<double>1000</double>
</property>
<property name="singleStep">
<double>15</double>
</property>
<property name="value">
<double>300</double>
</property>
</property>
</widget>
</item>
</item>
<item>
<item row="1" column="0">
<widget class="QCheckBox" name="windowBorderCheckBox">
<property name="text">
<property name="text">
<string>Window Border </string>
<string>8</string>
</property>
</property>
</widget>
</item>
</item>
<item>
<item row="2" column="1">
<property name="text">
<widget class="QComboBox" name="windowModeComboBox">
<string>16</string>
<property name="currentIndex">
<number>0</number>
</property>
</property>
<item>
</item>
<property name="text">
</widget>
<string>Fullscreen</string>
</item>
</property>
<item row="5" column="1">
</item>
<widget class="QComboBox" name="screenComboBox"/>
<item>
</item>
<property name="text">
<item row="3" column="0">
<string>Windowed Fullscreen</string>
<widget class="QLabel" name="windowModeLabel">
</property>
<property name="text">
</item>
<string>Window Mode:</string>
<item>
</property>
<property name="text">
</widget>
<string>Windowed</string>
</item>
</property>
<item row="6" column="0">
</item>
<widget class="QLabel" name="resolutionLabel">
<property name="text">
<string>Resolution:</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="vSyncLabel">
<property name="text">
<string>Vertical Sync:</string>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="antiAliasingLabel">
<property name="text">
<string>Anti-aliasing:</string>
</property>
</widget>
</item>
<item row="6" column="1">
<layout class="QGridLayout" name="resolutionLayout">
<item row="1" column="2">
<layout class="QHBoxLayout" name="customResolutionLayout" stretch="1,0,1">
<item>
<widget class="QSpinBox" name="customWidthSpinBox">
<property name="minimum">
<number>800</number>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="multiplyLabel">
<property name="text">
<string> x </string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="customHeightSpinBox">
<property name="minimum">
<number>600</number>
</property>
</widget>
</item>
</layout>
</item>
<item row="1" column="1">
<widget class="QRadioButton" name="customRadioButton">
<property name="text">
<string>Custom:</string>
</property>
</widget>
</widget>
</item>
</item>
<item row="2" column="0">
<item row="0" column="1">
<widget class="QLabel" name="windowModeLabel">
<widget class="QRadioButton" name="standardRadioButton">
<property name="text">
<string>Standard:</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QComboBox" name="resolutionComboBox"/>
</item>
</layout>
</item>
<item row="3" column="1">
<widget class="QComboBox" name="windowModeComboBox">
<property name="currentIndex">
<number>0</number>
</property>
<item>
<property name="text">
<property name="text">
<string>Window Mode:</string>
<string>Fullscreen </string>
</property>
</property>
</widget>
</item>
</item>
<item>
<item row="5" column="0">
<widget class="QLabel" name="resolutionLabel">
<property name="text">
<property name="text">
<string>Resolution:</string>
<string>Windowed Fullscreen</string>
</property>
</property>
<property name="alignment">
</item>
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
<item>
<property name="text">
<string>Windowed</string>
</property>
</property>
</widget>
</item>
</item>
</widget>
<item row="4" column="1">
</item>
<widget class="QComboBox" name="screenComboBox"/>
<item row="0" column="0">
</item>
<widget class="QCheckBox" name="windowBorderCheckBox">
<item row="4" column="0">
<property name="text">
<widget class="QLabel" name="screenLabel">
<string>Window Border</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QComboBox" name="vSyncComboBox">
<property name="currentIndex">
<number>0</number>
</property>
<item>
<property name="text">
<property name="text">
<string>Screen:</string>
<string>Disabled </string>
</property>
</property>
</widget>
</item>
</item>
<item>
<item row="3" column="1">
<widget class="QComboBox" name="antiAliasingComboBox">
<item>
<property name="text">
<string>0</string>
</property>
</item>
<item>
<property name="text">
<string>2</string>
</property>
</item>
<item>
<property name="text">
<string>4</string>
</property>
</item>
<item>
<property name="text">
<string>8</string>
</property>
</item>
<item>
<property name="text">
<string>16</string>
</property>
</item>
</widget>
</item>
<item row="0" column="0">
<widget class="QCheckBox" name="vSyncCheckBox">
<property name="text">
<property name="text">
<string>Vertical Sync </string>
<string>Enabled</string>
</property>
</property>
</widget>
</item>
</item>
<item>
</layout>
<property name="text">
</widget>
<string>Adaptive</string>
</property>
</item>
</widget>
</item>
<item row="1" column="0">
<widget class="QCheckBox" name="framerateLimitCheckBox">
<property name="text">
<string>Framerate Limit:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QDoubleSpinBox" name="framerateLimitSpinBox">
<property name="enabled">
<bool>false</bool>
</property>
<property name="suffix">
<string> FPS</string>
</property>
<property name="decimals">
<number>1</number>
</property>
<property name="minimum">
<double>1.000000000000000</double>
</property>
<property name="maximum">
<double>1000.000000000000000</double>
</property>
<property name="singleStep">
<double>15.000000000000000</double>
</property>
<property name="value">
<double>300.000000000000000</double>
</property>
</widget>
</item>
</layout>
</item>
</item>
</layout>
</layout>
</widget>
</widget>
@ -265,192 +285,182 @@
</attribute>
</attribute>
<layout class="QHBoxLayout" name="horizontalLayout">
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<item>
<widget class="QWidget" name="ShadowWidget">
<layout class="QGridLayout" name="shadowsLayout" columnstretch="0,0">
<property name="sizePolicy">
<item row="0" column="0">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<widget class="QCheckBox" name="playerShadowsCheckBox">
<horstretch>1</horstretch>
<property name="toolTip">
<verstretch>1</verstretch>
<string><html><head/><body><p>Enable shadows exclusively for the player character. May have a very minor performance impact.</p></body></html></string>
</sizepolicy>
</property>
</property>
<property name="text">
<layout class="QGridLayout" name="shadowsLayout" columnstretch="0,0">
<string>Enable Player Shadows</string>
</property>
<item row="0" column="0">
</widget>
<widget class="QCheckBox" name="playerShadowsCheckBox">
</item>
<property name="toolTip">
<item row="1" column="0">
<string><html><head/><body><p>Enable shadows exclusively for the player character. May have a very minor performance impact.</p></body></html></string>
<widget class="QCheckBox" name="actorShadowsCheckBox">
</property>
<property name="toolTip">
<property name="text">
<string><html><head/><body><p>Enable shadows for NPCs and creatures besides the player character. May have a minor performance impact.</p></body></html></string>
<string>Enable Player Shadows</string>
</property>
</property>
<property name="text">
</widget>
<string>Enable Actor Shadows</string>
</item>
</property>
<item row="1" column="0">
</widget>
<widget class="QCheckBox" name="actorShadowsCheckBox">
</item>
<property name="toolTip">
<item row="2" column="0">
<string><html><head/><body><p>Enable shadows for NPCs and creatures besides the player character. May have a minor performance impact.</p></body></html></string>
<widget class="QCheckBox" name="objectShadowsCheckBox">
</property>
<property name="toolTip">
<property name="text">
<string><html><head/><body><p>Enable shadows for primarily inanimate objects. May have a significant performance impact.</p></body></html></string>
<string>Enable Actor Shadows</string>
</property>
</property>
<property name="text">
</widget>
<string>Enable Object Shadows</string>
</item>
</property>
<item row="2" column="0">
</widget>
<widget class="QCheckBox" name="objectShadowsCheckBox">
</item>
<property name="toolTip">
<item row="3" column="0">
<string><html><head/><body><p>Enable shadows for primarily inanimate objects. May have a significant performance impact.</p></body></html></string>
<widget class="QCheckBox" name="terrainShadowsCheckBox">
</property>
<property name="toolTip">
<string><html><head/><body><p>Enable shadows for the terrain including distant terrain. May have a significant performance and shadow quality impact.</p></body></html></string>
</property>
<property name="text">
<string>Enable Terrain Shadows</string>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QCheckBox" name="indoorShadowsCheckBox">
<property name="toolTip">
<string><html><head/><body><p>Due to limitations with Morrowind's data, only actors can cast shadows indoors, which some might feel is distracting.</p><p>Has no effect if actor/player shadows are not enabled.</p></body></html></string>
</property>
<property name="text">
<string>Enable Indoor Shadows</string>
</property>
</widget>
</item>
<item row="5" column="0">
<widget class="QLabel" name="shadowComputeSceneBoundsLabel">
<property name="toolTip">
<string><html><head/><body><p>Type of "compute scene bounds" computation method to be used. Bounds (default) for good balance between performance and shadow quality, primitives for better looking shadows or none for no computation.</p></body></html></string>
</property>
<property name="text">
<string>Shadow Near Far Computation Method:</string>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QComboBox" name="shadowComputeSceneBoundsComboBox">
<item>
<property name="text">
<property name="text">
<string>Enable Object Shadows</string>
<string>bounds</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QCheckBox" name="terrainShadowsCheckBox">
<property name="toolTip">
<string><html><head/><body><p>Enable shadows for the terrain including distant terrain. May have a significant performance and shadow quality impact.</p></body></html></string>
</property>
</property>
</item>
<item>
<property name="text">
<property name="text">
<string>Enable Terrain Shadows</string>
<string>primitives</string>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QCheckBox" name="indoorShadowsCheckBox">
<property name="toolTip">
<string><html><head/><body><p>Due to limitations with Morrowind's data, only actors can cast shadows indoors, which some might feel is distracting.</p><p>Has no effect if actor/player shadows are not enabled.</p></body></html></string>
</property>
</property>
</item>
<item>
<property name="text">
<property name="text">
<string>Enable Indoor Shadows</string>
<string>none</string>
</property>
</widget>
</item>
<item row="5" column="0">
<widget class="QLabel" name="shadowComputeSceneBoundsLabel">
<property name="toolTip">
<string><html><head/><body><p>Type of "compute scene bounds" computation method to be used. Bounds (default) for good balance between performance and shadow quality, primitives for better looking shadows or none for no computation.</p></body></html></string>
</property>
</property>
</item>
</widget>
</item>
<item row="6" column="0">
<widget class="QLabel" name="shadowResolutionLabel">
<property name="toolTip">
<string><html><head/><body><p>The resolution of each individual shadow map. Increasing it significantly improves shadow quality but may have a minor performance impact.</p></body></html></string>
</property>
<property name="text">
<string>Shadow Map Resolution:</string>
</property>
</widget>
</item>
<item row="6" column="1">
<widget class="QComboBox" name="shadowResolutionComboBox">
<item>
<property name="text">
<property name="text">
<string>Shadow Near Far Computation Method:</string>
<string>512</string>
</property>
</widget>
</item>
<item row="5" column="1">compute scene bounds
<widget class="QComboBox" name="shadowComputeSceneBoundsComboBox">
<item>
<property name="text">
<string>bounds</string>
</property>
</item>
<item>
<property name="text">
<string>primitives</string>
</property>
</item>
<item>
<property name="text">
<string>none</string>
</property>
</item>
</widget>
</item>
<item row="6" column="0">
<widget class="QLabel" name="shadowResolutionLabel">
<property name="toolTip">
<string><html><head/><body><p>The resolution of each individual shadow map. Increasing it significantly improves shadow quality but may have a minor performance impact.</p></body></html></string>
</property>
</property>
</item>
<item>
<property name="text">
<property name="text">
<string>Shadow Map Resolution:</string>
<string>1024</string>
</property>
</widget>
</item>
<item row="6" column="1">
<widget class="QComboBox" name="shadowResolutionComboBox">
<item>
<property name="text">
<string>512</string>
</property>
</item>
<item>
<property name="text">
<string>1024</string>
</property>
</item>
<item>
<property name="text">
<string>2048</string>
</property>
</item>
<item>
<property name="text">
<string>4096</string>
</property>
</item>
</widget>
</item>
<item row="7" column="0">
<widget class="QCheckBox" name="shadowDistanceCheckBox">
<property name="toolTip">
<string><html><head/><body><p>The distance from the camera at which shadows completely disappear.</p></body></html></string>
</property>
</property>
</item>
<item>
<property name="text">
<property name="text">
<string>Shadow Distance Limit:</string>
<string>2048</string>
</property>
</widget>
</item>
<item row="7" column="1">
<widget class="QSpinBox" name="shadowDistanceSpinBox">
<property name="enabled">
<bool>false</bool>
</property>
<property name="toolTip">
<string><html><head/><body><p>64 game units is 1 real life yard or about 0.9 m</p></body></html></string>
</property>
<property name="suffix">
<string> unit(s)</string>
</property>
<property name="minimum">
<number>512</number>
</property>
<property name="maximum">
<number>81920</number>
</property>
<property name="value">
<number>8192</number>
</property>
</widget>
</item>
<item row="8" column="0">
<widget class="QLabel" name="fadeStartLabel">
<property name="toolTip">
<string><html><head/><body><p>The fraction of the limit above at which shadows begin to gradually fade away.</p></body></html></string>
</property>
</property>
</item>
<item>
<property name="text">
<property name="text">
<string>Fade Start Multiplier:</string>
<string>4096</string>
</property>
</property>
</widget>
</item>
</item>
</widget>
<item row="8" column="1">
</item>
<widget class="QDoubleSpinBox" name="fadeStartSpinBox">
<item row="7" column="0">
<property name="enabled">
<widget class="QCheckBox" name="shadowDistanceCheckBox">
<bool>false</bool>
<property name="toolTip">
</property>
<string><html><head/><body><p>The distance from the camera at which shadows completely disappear.</p></body></html></string>
<property name="decimals">
</property>
<number>2</number>
<property name="text">
</property>
<string>Shadow Distance Limit:</string>
<property name="minimum">
</property>
<double>0</double>
</widget>
</property>
</item>
<property name="maximum">
<item row="7" column="1">
<double>1</double>
<widget class="QSpinBox" name="shadowDistanceSpinBox">
</property>
<property name="enabled">
<property name="value">
<bool>false</bool>
<double>0.90</double>
</property>
</property>
<property name="toolTip">
</widget>
<string><html><head/><body><p>64 game units is 1 real life yard or about 0.9 m</p></body></html></string>
</item>
</property>
<property name="suffix">
</layout>
<string> unit(s)</string>
</widget>
</property>
<property name="minimum">
<number>512</number>
</property>
<property name="maximum">
<number>81920</number>
</property>
<property name="value">
<number>8192</number>
</property>
</widget>
</item>
<item row="8" column="0">
<widget class="QLabel" name="fadeStartLabel">
<property name="toolTip">
<string><html><head/><body><p>The fraction of the limit above at which shadows begin to gradually fade away.</p></body></html></string>
</property>
<property name="text">
<string>Fade Start Multiplier:</string>
</property>
</widget>
</item>
<item row="8" column="1">
<widget class="QDoubleSpinBox" name="fadeStartSpinBox">
<property name="enabled">
<bool>false</bool>
</property>
<property name="decimals">
<number>2</number>
</property>
<property name="minimum">
<double>0.000000000000000</double>
</property>
<property name="maximum">
<double>1.000000000000000</double>
</property>
<property name="value">
<double>0.900000000000000</double>
</property>
</widget>
</item>
</layout>
</item>
</item>
</layout>
</layout>
</widget>
</widget>