Skip to content
Permalink
Browse files

[ui] harmonize QDialogButtonBox position in provider dialogs

This commit insures that the QDialogButtonBox widget (i.e.
help, add, build query, set filter) is always located at
the very bottom of the dialog. It helps make a better UX out
of the unified add layer dialog.
  • Loading branch information
nirvn committed Jun 19, 2017
1 parent 8c012da commit 61a46104efdc666be7f077e763528415e2797955
Showing with 14 additions and 14 deletions.
  1. +10 −10 src/ui/qgsdelimitedtextsourceselectbase.ui
  2. +2 −2 src/ui/qgsowssourceselectbase.ui
  3. +2 −2 src/ui/qgswmssourceselectbase.ui
@@ -1321,16 +1321,6 @@
</widget>
</widget>
</item>
<item>
<widget class="QDialogButtonBox" name="buttonBox">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Ok</set>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="lblStatus">
<property name="sizePolicy">
@@ -1344,6 +1334,16 @@
</property>
</widget>
</item>
<item>
<widget class="QDialogButtonBox" name="buttonBox">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Ok</set>
</property>
</widget>
</item>
</layout>
</widget>
<layoutdefault spacing="6" margin="11"/>
@@ -24,14 +24,14 @@
<bool>true</bool>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="3" column="0">
<item row="2" column="0">
<widget class="QDialogButtonBox" name="buttonBox">
<property name="standardButtons">
<set>QDialogButtonBox::Apply|QDialogButtonBox::Close|QDialogButtonBox::Help</set>
</property>
</widget>
</item>
<item row="4" column="0">
<item row="1" column="0">
<widget class="QLabel" name="mStatusLabel">
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Preferred">
@@ -24,14 +24,14 @@
<bool>true</bool>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="2" column="0">
<item row="3" column="0">
<widget class="QDialogButtonBox" name="buttonBox">
<property name="standardButtons">
<set>QDialogButtonBox::Close|QDialogButtonBox::Help</set>
</property>
</widget>
</item>
<item row="4" column="0">
<item row="2" column="0">
<widget class="QLabel" name="labelStatus">
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Preferred">

0 comments on commit 61a4610

Please sign in to comment.
You can’t perform that action at this time.