Skip to content

Commit

Permalink
[gui] Place 'Copy service' button just below the other tab controls
Browse files Browse the repository at this point in the history
  • Loading branch information
gacarrillor authored and 3nids committed Apr 17, 2024
1 parent f67d269 commit f360bbb
Showing 1 changed file with 59 additions and 47 deletions.
106 changes: 59 additions & 47 deletions pg_service_parser/ui/pg_service_dialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -174,22 +174,45 @@
<attribute name="title">
<string>Copy</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<layout class="QGridLayout" name="gridLayout_2">
<item row="2" column="1">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Preferred</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>71</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="0">
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>354</width>
<height>22</height>
</size>
</property>
</spacer>
</item>
<item row="0" column="0" colspan="2">
<layout class="QGridLayout" name="gridLayout">
<property name="sizeConstraint">
<enum>QLayout::SetDefaultConstraint</enum>
</property>
<item row="0" column="2">
<widget class="QComboBox" name="cboTargetService">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="editable">
<bool>false</bool>
<item row="1" column="1">
<widget class="QRadioButton" name="radCreate">
<property name="text">
<string>Create new</string>
</property>
</widget>
</item>
Expand All @@ -203,23 +226,6 @@
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QRadioButton" name="radCreate">
<property name="text">
<string>Create new</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QComboBox" name="cboSourceService">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QLineEdit" name="txtNewService">
<property name="placeholderText">
Expand All @@ -230,32 +236,38 @@
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
<item row="0" column="2">
<widget class="QComboBox" name="cboTargetService">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
<property name="editable">
<bool>false</bool>
</property>
</spacer>
</widget>
</item>
<item>
<widget class="QPushButton" name="btnCopyService">
<property name="text">
<string>Copy service</string>
<item row="0" column="0">
<widget class="QComboBox" name="cboSourceService">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
</layout>
</item>
<item row="1" column="1">
<widget class="QPushButton" name="btnCopyService">
<property name="text">
<string>Copy service</string>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
Expand Down

0 comments on commit f360bbb

Please sign in to comment.