Skip to content
Permalink
Browse files

Some label changes to 3D directional lights

Remove colon at the end of label
Add units suffix to widgets
and clean ui file
  • Loading branch information
DelazJ authored and nyalldawson committed Sep 24, 2020
1 parent 50f7a0e commit c06482eda7c544542a430e39fc7ae48613af4396
Showing with 17 additions and 11 deletions.
  1. +9 −9 src/ui/3d/qgslightswidget.ui
  2. +8 −2 src/ui/3d/shadowrenderingsettingswidget.ui
@@ -216,7 +216,7 @@
<layout class="QGridLayout" name="gridLayout_4">
<item row="1" column="0" colspan="3">
<layout class="QGridLayout" name="gridLayout_3">
<item row="4" column="1">
<item row="3" column="1">
<widget class="QDoubleSpinBox" name="spinDirectionZ">
<property name="decimals">
<number>1</number>
@@ -229,7 +229,7 @@
</property>
</widget>
</item>
<item row="5" column="1">
<item row="4" column="1">
<widget class="QgsColorButton" name="btnDirectionalColor">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
@@ -245,28 +245,28 @@
</property>
</widget>
</item>
<item row="6" column="0">
<item row="5" column="0">
<widget class="QLabel" name="label_14">
<property name="text">
<string>Intensity</string>
</property>
</widget>
</item>
<item row="2" column="0" rowspan="2">
<item row="2" column="0">
<widget class="QLabel" name="label_13">
<property name="text">
<string>Y</string>
</property>
</widget>
</item>
<item row="4" column="0">
<item row="3" column="0">
<widget class="QLabel" name="label_10">
<property name="text">
<string>Z</string>
</property>
</widget>
</item>
<item row="2" column="1" rowspan="2">
<item row="2" column="1">
<widget class="QDoubleSpinBox" name="spinDirectionY">
<property name="decimals">
<number>1</number>
@@ -292,7 +292,7 @@
</property>
</widget>
</item>
<item row="6" column="1">
<item row="5" column="1">
<widget class="QDoubleSpinBox" name="spinDirectionalIntensity">
<property name="decimals">
<number>1</number>
@@ -302,7 +302,7 @@
</property>
</widget>
</item>
<item row="5" column="0">
<item row="4" column="0">
<widget class="QLabel" name="label_16">
<property name="text">
<string>Color</string>
@@ -319,7 +319,7 @@
<item row="0" column="0" colspan="2">
<widget class="QLabel" name="label_11">
<property name="text">
<string>Light direction:</string>
<string>Light direction</string>
</property>
</widget>
</item>
@@ -6,15 +6,15 @@
<rect>
<x>0</x>
<y>0</y>
<width>350</width>
<width>416</width>
<height>139</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QLabel" name="labelUsedDirectionalLight">
<property name="text">
<string>Used directional light</string>
<string>Directional light</string>
</property>
</widget>
</item>
@@ -30,6 +30,9 @@
</item>
<item row="1" column="1">
<widget class="QDoubleSpinBox" name="shadowRenderinMaximumDistanceSpinBox">
<property name="suffix">
<string> map units</string>
</property>
<property name="maximum">
<double>9999999999.000000000000000</double>
</property>
@@ -67,6 +70,9 @@
</item>
<item row="3" column="1">
<widget class="QSpinBox" name="shadowMapResolutionSpinBox">
<property name="suffix">
<string> px</string>
</property>
<property name="minimum">
<number>128</number>
</property>

0 comments on commit c06482e

Please sign in to comment.
You can’t perform that action at this time.