Skip to content
Permalink
Browse files
Added some tooltips for 3d widgets - I got bored of trying to remembe…
…r what the diffuse, specular etc mean.
  • Loading branch information
Tim Sutton committed Dec 18, 2021
1 parent 6a05593 commit 0144ef27df7aa8254d3e3a1081cd5c7db89be3d3
Showing with 39 additions and 9 deletions.
  1. +10 −1 src/ui/3d/goochmaterialwidget.ui
  2. +13 −1 src/ui/3d/phongmaterialwidget.ui
  3. +16 −7 src/ui/3d/phongtexturedmaterialwidgetbase.ui
@@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>394</width>
<height>230</height>
<height>326</height>
</rect>
</property>
<property name="windowTitle">
@@ -16,6 +16,9 @@
<layout class="QGridLayout" name="gridLayout">
<item row="4" column="0">
<widget class="QLabel" name="lblShininess">
<property name="toolTip">
<string>How shiny smooth surfaces are.</string>
</property>
<property name="text">
<string>Shininess</string>
</property>
@@ -30,6 +33,9 @@
</item>
<item row="0" column="0">
<widget class="QLabel" name="lblDiffuse">
<property name="toolTip">
<string>Color of light reflected from rough surfaces.</string>
</property>
<property name="text">
<string>Diffuse</string>
</property>
@@ -47,6 +53,9 @@
</item>
<item row="3" column="0">
<widget class="QLabel" name="lblSpecular">
<property name="toolTip">
<string>Color of light reflecting from smooth surfaces.</string>
</property>
<property name="text">
<string>Specular</string>
</property>
@@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>394</width>
<height>134</height>
<height>186</height>
</rect>
</property>
<property name="windowTitle">
@@ -16,6 +16,9 @@
<layout class="QGridLayout" name="gridLayout">
<item row="3" column="0">
<widget class="QLabel" name="lblShininess">
<property name="toolTip">
<string>How shiny smooth surfaces are.</string>
</property>
<property name="text">
<string>Shininess</string>
</property>
@@ -55,13 +58,19 @@
</item>
<item row="2" column="0">
<widget class="QLabel" name="lblSpecular">
<property name="toolTip">
<string>Color of light reflecting from smooth surfaces.</string>
</property>
<property name="text">
<string>Specular</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="lblDiffuse">
<property name="toolTip">
<string>Color of light reflected from rough surfaces.</string>
</property>
<property name="text">
<string>Diffuse</string>
</property>
@@ -76,6 +85,9 @@
</item>
<item row="1" column="0">
<widget class="QLabel" name="lblAmbient">
<property name="toolTip">
<string>Color of light that is scattered around the entire scene.</string>
</property>
<property name="text">
<string>Ambient</string>
</property>
@@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>394</width>
<height>197</height>
<height>252</height>
</rect>
</property>
<property name="windowTitle">
@@ -39,6 +39,9 @@
</item>
<item row="1" column="0">
<widget class="QLabel" name="lblSpecular">
<property name="toolTip">
<string>Color of light reflecting from smooth surfaces.</string>
</property>
<property name="text">
<string>Specular</string>
</property>
@@ -88,6 +91,9 @@
</item>
<item row="0" column="0">
<widget class="QLabel" name="lblAmbient">
<property name="toolTip">
<string>Color of light that is scattered around the entire scene.</string>
</property>
<property name="text">
<string>Ambient</string>
</property>
@@ -118,6 +124,9 @@
</item>
<item row="2" column="0">
<widget class="QLabel" name="lblShininess">
<property name="toolTip">
<string>How shiny smooth surfaces are.</string>
</property>
<property name="text">
<string>Shininess</string>
</property>
@@ -136,12 +145,6 @@
</layout>
</widget>
<customwidgets>
<customwidget>
<class>QgsImageSourceLineEdit</class>
<extends>QWidget</extends>
<header>qgsfilecontentsourcelineedit.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>QgsDoubleSpinBox</class>
<extends>QDoubleSpinBox</extends>
@@ -153,6 +156,12 @@
<header>qgscolorbutton.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>QgsImageSourceLineEdit</class>
<extends>QWidget</extends>
<header>qgsfilecontentsourcelineedit.h</header>
<container>1</container>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>btnAmbient</tabstop>

0 comments on commit 0144ef2

Please sign in to comment.