Skip to content

Commit

Permalink
GUI: Use sorted layout/spacer names in governance UIs
Browse files Browse the repository at this point in the history
Cleans up some instances of duplicate item names, which results in
build-time warnings.

Github-Pull: #2663
Rebased-From: 943159e
  • Loading branch information
Fuzzbawls authored and furszy committed Dec 11, 2021
1 parent dfeb3c7 commit 5925150
Show file tree
Hide file tree
Showing 4 changed files with 59 additions and 59 deletions.
42 changes: 21 additions & 21 deletions src/qt/pivx/forms/governancewidget.ui
Expand Up @@ -19,7 +19,7 @@
<property name="windowTitle">
<string notr="true">N/A</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_2" stretch="2,1">
<layout class="QHBoxLayout" name="horizontalLayout_1" stretch="2,1">
<property name="spacing">
<number>0</number>
</property>
Expand All @@ -37,7 +37,7 @@
</property>
<item>
<widget class="QWidget" name="left" native="true">
<layout class="QVBoxLayout" name="verticalLayout_3" stretch="0,0,1,0">
<layout class="QVBoxLayout" name="verticalLayout_1" stretch="0,0,1,0">
<property name="leftMargin">
<number>0</number>
</property>
Expand All @@ -58,7 +58,7 @@
<height>60</height>
</size>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<layout class="QHBoxLayout" name="horizontalLayout_2">
<property name="spacing">
<number>0</number>
</property>
Expand All @@ -75,7 +75,7 @@
<number>0</number>
</property>
<item>
<layout class="QVBoxLayout" name="verticalLayout_8">
<layout class="QVBoxLayout" name="verticalLayout_2">
<property name="spacing">
<number>5</number>
</property>
Expand Down Expand Up @@ -116,7 +116,7 @@
<height>0</height>
</size>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_4">
<layout class="QHBoxLayout" name="horizontalLayout_3">
<property name="leftMargin">
<number>0</number>
</property>
Expand Down Expand Up @@ -144,7 +144,7 @@
<height>0</height>
</size>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_5">
<layout class="QHBoxLayout" name="horizontalLayout_4">
<property name="leftMargin">
<number>0</number>
</property>
Expand Down Expand Up @@ -199,7 +199,7 @@
</property>
<item>
<widget class="QWidget" name="containerWarning" native="true">
<layout class="QVBoxLayout" name="verticalLayout_21">
<layout class="QVBoxLayout" name="verticalLayout_4">
<property name="spacing">
<number>6</number>
</property>
Expand All @@ -226,7 +226,7 @@
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<layout class="QHBoxLayout" name="horizontalLayout11" stretch="0,2">
<layout class="QHBoxLayout" name="horizontalLayout_5" stretch="0,2">
<property name="spacing">
<number>3</number>
</property>
Expand Down Expand Up @@ -288,7 +288,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<layout class="QVBoxLayout" name="verticalLayout_5">
<property name="spacing">
<number>0</number>
</property>
Expand Down Expand Up @@ -356,7 +356,7 @@
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<layout class="QVBoxLayout" name="verticalLayout_7" stretch="8">
<layout class="QVBoxLayout" name="verticalLayout_6" stretch="8">
<property name="spacing">
<number>0</number>
</property>
Expand Down Expand Up @@ -386,7 +386,7 @@
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<layout class="QVBoxLayout" name="verticalLayout_7">
<property name="spacing">
<number>12</number>
</property>
Expand Down Expand Up @@ -451,7 +451,7 @@
</item>
<item>
<widget class="QWidget" name="right" native="true">
<layout class="QVBoxLayout" name="verticalLayout_5">
<layout class="QVBoxLayout" name="verticalLayout_8">
<property name="leftMargin">
<number>0</number>
</property>
Expand All @@ -465,7 +465,7 @@
<number>0</number>
</property>
<item>
<layout class="QVBoxLayout" name="verticalLayout_4" stretch="0,0,0">
<layout class="QVBoxLayout" name="verticalLayout_9" stretch="0,0,0">
<property name="spacing">
<number>6</number>
</property>
Expand All @@ -480,7 +480,7 @@
</widget>
</item>
<item>
<spacer name="verticalSpacer_4">
<spacer name="verticalSpacer_1">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
Expand All @@ -503,7 +503,7 @@
<height>200</height>
</size>
</property>
<layout class="QVBoxLayout" name="verticalLayout_6">
<layout class="QVBoxLayout" name="verticalLayout_10">
<property name="leftMargin">
<number>0</number>
</property>
Expand Down Expand Up @@ -548,7 +548,7 @@
</item>
<item>
<widget class="QWidget" name="widget" native="true">
<layout class="QVBoxLayout" name="verticalLayout_10">
<layout class="QVBoxLayout" name="verticalLayout_11">
<property name="spacing">
<number>3</number>
</property>
Expand Down Expand Up @@ -617,7 +617,7 @@
</widget>
</item>
<item>
<spacer name="verticalSpacer_7">
<spacer name="verticalSpacer_4">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
Expand All @@ -634,7 +634,7 @@
</item>
<item>
<widget class="QWidget" name="widget_2" native="true">
<layout class="QVBoxLayout" name="verticalLayout_9">
<layout class="QVBoxLayout" name="verticalLayout_12">
<property name="spacing">
<number>3</number>
</property>
Expand Down Expand Up @@ -665,7 +665,7 @@
</widget>
</item>
<item>
<spacer name="verticalSpacer_6">
<spacer name="verticalSpacer_5">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
Expand Down Expand Up @@ -703,7 +703,7 @@
</widget>
</item>
<item>
<spacer name="verticalSpacer_8">
<spacer name="verticalSpacer_6">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
Expand All @@ -717,7 +717,7 @@
</item>
<item>
<widget class="QWidget" name="containerSuperblockInfo" native="true">
<layout class="QHBoxLayout" name="horizontalLayout">
<layout class="QHBoxLayout" name="horizontalLayout_6">
<property name="spacing">
<number>4</number>
</property>
Expand Down
24 changes: 12 additions & 12 deletions src/qt/pivx/forms/proposalcard.ui
Expand Up @@ -28,7 +28,7 @@
<height>200</height>
</size>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<layout class="QVBoxLayout" name="verticalLayout_1">
<property name="spacing">
<number>0</number>
</property>
Expand Down Expand Up @@ -61,7 +61,7 @@
<property name="styleSheet">
<string notr="true"/>
</property>
<layout class="QVBoxLayout" name="verticalLayout_3" stretch="4,4,2,4">
<layout class="QVBoxLayout" name="verticalLayout_2" stretch="4,4,2,4">
<property name="leftMargin">
<number>12</number>
</property>
Expand All @@ -75,7 +75,7 @@
<number>12</number>
</property>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<layout class="QHBoxLayout" name="horizontalLayout_1">
<property name="spacing">
<number>0</number>
</property>
Expand All @@ -87,7 +87,7 @@
</widget>
</item>
<item>
<spacer name="horizontalSpacer_4">
<spacer name="horizontalSpacer_1">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
Expand Down Expand Up @@ -128,7 +128,7 @@
</item>
<item>
<widget class="QWidget" name="widget" native="true">
<layout class="QHBoxLayout" name="horizontalLayout">
<layout class="QHBoxLayout" name="horizontalLayout_2">
<property name="spacing">
<number>0</number>
</property>
Expand All @@ -152,7 +152,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<layout class="QVBoxLayout" name="verticalLayout_3">
<property name="spacing">
<number>5</number>
</property>
Expand Down Expand Up @@ -189,7 +189,7 @@
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
Expand Down Expand Up @@ -273,7 +273,7 @@
<height>0</height>
</size>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_4">
<layout class="QHBoxLayout" name="horizontalLayout_3">
<property name="spacing">
<number>0</number>
</property>
Expand All @@ -294,7 +294,7 @@
</widget>
</item>
<item>
<spacer name="horizontalSpacer_5">
<spacer name="horizontalSpacer_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
Expand Down Expand Up @@ -323,9 +323,9 @@
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<layout class="QHBoxLayout" name="horizontalLayout_4">
<item>
<spacer name="horizontalSpacer_2">
<spacer name="horizontalSpacer_4">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
Expand Down Expand Up @@ -357,7 +357,7 @@
</widget>
</item>
<item>
<spacer name="horizontalSpacer_3">
<spacer name="horizontalSpacer_5">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
Expand Down
18 changes: 9 additions & 9 deletions src/qt/pivx/forms/proposalinfodialog.ui
Expand Up @@ -28,7 +28,7 @@
<property name="styleSheet">
<string notr="true"/>
</property>
<layout class="QVBoxLayout" name="verticalLayout_3">
<layout class="QVBoxLayout" name="verticalLayout_1">
<property name="spacing">
<number>0</number>
</property>
Expand Down Expand Up @@ -61,15 +61,15 @@
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<layout class="QVBoxLayout" name="verticalLayout_2">
<property name="leftMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<layout class="QHBoxLayout" name="horizontalLayout_1">
<property name="spacing">
<number>0</number>
</property>
Expand Down Expand Up @@ -184,7 +184,7 @@
<height>450</height>
</size>
</property>
<layout class="QVBoxLayout" name="verticalLayout_4">
<layout class="QVBoxLayout" name="verticalLayout_3">
<property name="leftMargin">
<number>0</number>
</property>
Expand Down Expand Up @@ -230,7 +230,7 @@ background:transparent;
background:transparent;
}</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_7">
<layout class="QVBoxLayout" name="verticalLayout_4">
<property name="spacing">
<number>0</number>
</property>
Expand All @@ -251,7 +251,7 @@ background:transparent;
</property>
<item>
<widget class="QWidget" name="content" native="true">
<layout class="QVBoxLayout" name="verticalLayout_2">
<layout class="QVBoxLayout" name="verticalLayout_5">
<property name="leftMargin">
<number>16</number>
</property>
Expand All @@ -263,7 +263,7 @@ background:transparent;
</property>
<item>
<widget class="QWidget" name="contentID" native="true">
<layout class="QHBoxLayout" name="horizontalLayout_12" stretch="0,0">
<layout class="QHBoxLayout" name="horizontalLayout_2" stretch="0,0">
<property name="leftMargin">
<number>0</number>
</property>
Expand Down Expand Up @@ -343,7 +343,7 @@ background:transparent;
</item>
<item>
<widget class="QWidget" name="contentName" native="true">
<layout class="QHBoxLayout" name="horizontalLayout_12" stretch="0,0">
<layout class="QHBoxLayout" name="horizontalLayout_3" stretch="0,0">
<property name="leftMargin">
<number>0</number>
</property>
Expand Down Expand Up @@ -609,7 +609,7 @@ background:transparent;
</item>
<item>
<widget class="QWidget" name="contentUrl" native="true">
<layout class="QHBoxLayout" name="horizontalLayout_12" stretch="0,0">
<layout class="QHBoxLayout" name="horizontalLayout_4" stretch="0,0">
<property name="leftMargin">
<number>0</number>
</property>
Expand Down

0 comments on commit 5925150

Please sign in to comment.