Skip to content

Commit

Permalink
Update UI
Browse files Browse the repository at this point in the history
  • Loading branch information
geoyee committed Dec 20, 2021
1 parent a392a63 commit 8fa1a30
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 5 deletions.
1 change: 0 additions & 1 deletion buildseg/buildSeg.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,6 @@ def init_setting(self):
self.dlg.mQfwParams.setFilter("*.pdiparams")
self.dlg.mQfwShape.setFilter("*.shp")
self.dlg.mMapLayerComboBoxR.setFilters(QgsMapLayerProxyModel.RasterLayer)
self.dlg.ccbSimplify.setChecked(True)
# Add event
self.dlg.mQfwParams.fileChanged.connect(self.select_params_file) # load params
self.dlg.mQfwShape.fileChanged.connect(self.select_shp_save)
Expand Down
24 changes: 20 additions & 4 deletions buildseg/buildSeg_dialog_base.ui
Original file line number Diff line number Diff line change
Expand Up @@ -164,13 +164,13 @@
<widget class="QCheckBox" name="ccbSimplify">
<property name="minimumSize">
<size>
<width>231</width>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>231</width>
<width>200</width>
<height>16777215</height>
</size>
</property>
Expand All @@ -183,15 +183,31 @@
<property name="text">
<string>Simplify polygons</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_6">
<item>
<spacer name="horizontalSpacer_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="lblThreshold">
<property name="minimumSize">
<size>
<width>96</width>
<width>0</width>
<height>30</height>
</size>
</property>
Expand All @@ -216,7 +232,7 @@
</property>
<property name="maximumSize">
<size>
<width>200</width>
<width>500</width>
<height>16777215</height>
</size>
</property>
Expand Down

0 comments on commit 8fa1a30

Please sign in to comment.