Skip to content

Commit

Permalink
Minor tweaks to tiled scene 3d renderer widget
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson authored and wonder-sk committed Aug 22, 2023
1 parent 4771c9a commit e8fd732
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/app/3d/qgstiledscenelayer3drendererwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ QgsTiledSceneLayer3DPropertiesWidget::QgsTiledSceneLayer3DPropertiesWidget( QWid
{
setupUi( this );

mMaxErrorSpinBox->setClearValue( 50 );

connect( mMaxErrorSpinBox, qOverload<double>( &QgsDoubleSpinBox::valueChanged ), this, &QgsTiledSceneLayer3DPropertiesWidget::widgetChanged );
connect( mShowBoundingBoxesCheckBox, &QCheckBox::clicked, this, &QgsTiledSceneLayer3DPropertiesWidget::widgetChanged );
}
Expand Down
14 changes: 13 additions & 1 deletion src/ui/3d/qgstiledscenelayer3dpropertieswidget.ui
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,18 @@
</rect>
</property>
<layout class="QGridLayout" name="gridLayout">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item row="0" column="1">
<widget class="QgsDoubleSpinBox" name="mMaxErrorSpinBox">
<property name="suffix">
Expand All @@ -30,7 +42,7 @@
<item row="0" column="0">
<widget class="QLabel" name="lblMaxError">
<property name="text">
<string>Maximum error</string>
<string>Maximum screen space error</string>
</property>
</widget>
</item>
Expand Down

0 comments on commit e8fd732

Please sign in to comment.