Skip to content
Permalink
Browse files
Improve the static dataset groupbox
harmonize margins and add tooltip to comboboxes
  • Loading branch information
DelazJ authored and nyalldawson committed Nov 5, 2021
1 parent 2be05e2 commit 307833a90684d43aef507e6650d70f48e5241865
Showing with 11 additions and 2 deletions.
  1. +1 −0 src/gui/mesh/qgsmeshstaticdatasetwidget.cpp
  2. +10 −2 src/ui/mesh/qgsmeshstaticdatasetwidgetbase.ui
@@ -21,6 +21,7 @@ QgsMeshStaticDatasetWidget::QgsMeshStaticDatasetWidget( QWidget *parent ): QWidg
{
setupUi( this );

this->layout()->setContentsMargins( 0, 0, 0, 0 );
mDatasetScalarModel = new QgsMeshDatasetListModel( this );
mScalarDatasetComboBox->setModel( mDatasetScalarModel );
mDatasetVectorModel = new QgsMeshDatasetListModel( this );
@@ -28,7 +28,11 @@
</spacer>
</item>
<item row="3" column="2">
<widget class="QComboBox" name="mVectorDatasetComboBox"/>
<widget class="QComboBox" name="mVectorDatasetComboBox">
<property name="toolTip">
<string>Select the timestamp to use for the vector dataset group display</string>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QLabel" name="label_3">
@@ -45,7 +49,11 @@
</widget>
</item>
<item row="3" column="0">
<widget class="QComboBox" name="mScalarDatasetComboBox"/>
<widget class="QComboBox" name="mScalarDatasetComboBox">
<property name="toolTip">
<string>Select the timestamp to use for the scalar dataset group display</string>
</property>
</widget>
</item>
<item row="0" column="1" rowspan="4">
<widget class="Line" name="line">

0 comments on commit 307833a

Please sign in to comment.