Skip to content

Commit

Permalink
fix(style_manager): remove duplicate widgets
Browse files Browse the repository at this point in the history
  • Loading branch information
smaspons committed Nov 19, 2024
1 parent d913912 commit 2c68248
Showing 1 changed file with 31 additions and 58 deletions.
89 changes: 31 additions & 58 deletions core/ui/toolbars/utilities/style_manager.ui
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,16 @@
<string/>
</property>
<layout class="QGridLayout" name="verticalLayout_3">
<item row="2" column="0" colspan="12">
<widget class="QTableView" name="tbl_style">
<property name="sortingEnabled">
<bool>true</bool>
<item row="1" column="8">
<widget class="QPushButton" name="btn_delete_style">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Delete style</string>
</property>
</widget>
</item>
Expand All @@ -34,16 +40,10 @@
</property>
</widget>
</item>
<item row="1" column="3">
<widget class="QPushButton" name="btn_delete_group">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string/>
<item row="2" column="0" colspan="10">
<widget class="QTableView" name="tbl_style">
<property name="sortingEnabled">
<bool>true</bool>
</property>
</widget>
</item>
Expand All @@ -66,97 +66,70 @@
</property>
</widget>
</item>
<item row="1" column="10">
<widget class="QPushButton" name="btn_delete_style">
<item row="1" column="3">
<widget class="QPushButton" name="btn_delete_group">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Delete style</string>
<string/>
</property>
</widget>
</item>
<item row="1" column="9">
<widget class="QPushButton" name="btn_update_style">
<widget class="QPushButton" name="btn_refresh_all">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Update style</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QComboBox" name="cmb_stylegroup">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
<string>Refresh all </string>
</property>
</widget>
</item>
<item row="1" column="11">
<widget class="QPushButton" name="btn_refresh_all">
<item row="1" column="6">
<widget class="QPushButton" name="btn_add_style">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Refresh all </string>
<string>Add style</string>
</property>
</widget>
</item>
<item row="1" column="8">
<widget class="QPushButton" name="btn_add_style">
<item row="1" column="7">
<widget class="QPushButton" name="btn_update_style">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Add style</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="lbl_filter_name">
<property name="text">
<string>Filter by: layername</string>
</property>
</widget>
</item>
<item row="2" column="0" colspan="12">
<widget class="QTableView" name="tbl_style">
<property name="sortingEnabled">
<bool>true</bool>
<string>Update style</string>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QPushButton" name="btn_add_group">
<item row="1" column="1">
<widget class="QComboBox" name="cmb_stylegroup">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="1" column="3">
<widget class="QPushButton" name="btn_delete_group">
<item row="1" column="2">
<widget class="QPushButton" name="btn_add_group">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
Expand All @@ -168,7 +141,7 @@
</property>
</widget>
</item>
<item row="1" column="4" colspan="4">
<item row="1" column="4" colspan="2">
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
Expand All @@ -188,7 +161,7 @@
</property>
</widget>
</item>
<item row="4" column="0" colspan="12">
<item row="4" column="0" colspan="10">
<layout class="QGridLayout" name="lyt_buttons">
<property name="topMargin">
<number>0</number>
Expand Down

0 comments on commit 2c68248

Please sign in to comment.