Skip to content

Commit

Permalink
[auth] Morph push button to toolbutton for consistency and Mac compat…
Browse files Browse the repository at this point in the history
…ibility
  • Loading branch information
elpaso committed Sep 29, 2017
1 parent 7804e04 commit 4582135
Showing 1 changed file with 27 additions and 41 deletions.
68 changes: 27 additions & 41 deletions src/ui/auth/qgsauthconfigselect.ui
Expand Up @@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>546</width>
<height>90</height>
<width>547</width>
<height>94</height>
</rect>
</property>
<property name="windowTitle">
Expand Down Expand Up @@ -47,7 +47,27 @@
</property>
</widget>
</item>
<item row="0" column="0" colspan="6">
<item row="1" column="1">
<widget class="QToolButton" name="btnConfigEdit">
<property name="toolTip">
<string>Edit selected configuration</string>
</property>
<property name="text">
<string>Edit</string>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QToolButton" name="btnConfigRemove">
<property name="toolTip">
<string>Delete selected configuration</string>
</property>
<property name="text">
<string>Delete</string>
</property>
</widget>
</item>
<item row="0" column="0" colspan="5">
<widget class="QFrame" name="frConfigMsg">
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
Expand Down Expand Up @@ -79,7 +99,7 @@
</widget>
</item>
<item>
<widget class="QPushButton" name="btnConfigMsgClear">
<widget class="QToolButton" name="btnConfigMsgClear">
<property name="minimumSize">
<size>
<width>26</width>
Expand All @@ -104,51 +124,19 @@
<height>22</height>
</size>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="1" column="4">
<widget class="QPushButton" name="btnConfigAdd">
<item row="1" column="3">
<widget class="QToolButton" name="btnConfigAdd">
<property name="toolTip">
<string>Create a new authentication configuration</string>
</property>
<property name="text">
<string>New</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QPushButton" name="btnConfigRemove">
<property name="toolTip">
<string>Delete selected configuration</string>
</property>
<property name="text">
<string>Delete</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QPushButton" name="btnConfigEdit">
<property name="toolTip">
<string>Edit selected configuration</string>
</property>
<property name="text">
<string>Edit</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
Expand All @@ -173,8 +161,6 @@
<tabstop>btnConfigMsgClear</tabstop>
<tabstop>cmbConfigSelect</tabstop>
</tabstops>
<resources>
<include location="../../../images/images.qrc"/>
</resources>
<resources/>
<connections/>
</ui>

0 comments on commit 4582135

Please sign in to comment.