Skip to content
Permalink
Browse files

Use QgsDoubleSpinBox for point size control, add default value

  • Loading branch information
nyalldawson committed Nov 18, 2020
1 parent af162a8 commit 7642b3ea085873f70371ed2f2439339401330c8a
Showing with 12 additions and 2 deletions.
  1. +4 −1 src/app/3d/qgspointcloud3dsymbolwidget.cpp
  2. +8 −1 src/ui/3d/qgspointcloud3dsymbolwidget.ui
@@ -22,7 +22,10 @@
QgsPointCloud3DSymbolWidget::QgsPointCloud3DSymbolWidget( QgsPointCloud3DSymbol *symbol, QWidget *parent )
: QWidget( parent )
{
this->setupUi( this );
setupUi( this );

mPointSizeSpinBox->setClearValue( 2.0 );

if ( symbol )
setSymbol( symbol );

@@ -12,7 +12,7 @@
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="1">
<widget class="QDoubleSpinBox" name="mPointSizeSpinBox">
<widget class="QgsDoubleSpinBox" name="mPointSizeSpinBox">
<property name="maximum">
<double>10.000000000000000</double>
</property>
@@ -43,6 +43,13 @@
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>QgsDoubleSpinBox</class>
<extends>QDoubleSpinBox</extends>
<header>qgsdoublespinbox.h</header>
</customwidget>
</customwidgets>
<resources/>
<connections/>
</ui>

0 comments on commit 7642b3e

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