Skip to content

Commit c7a4e5a

Browse files
committedMay 29, 2016
[needs-docs] Reword "delete" option in db connection dialog
Button has been changed to "remove", to make it clear that the button just removes the connection, it does not delete the database! (It was confusing for spatialite dbs) Also add tooltips to buttons for extra clarification.
1 parent e2abea6 commit c7a4e5a

File tree

1 file changed

+24
-4
lines changed

1 file changed

+24
-4
lines changed
 

‎src/ui/qgsdbsourceselectbase.ui‎

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@
1515
</property>
1616
<property name="windowIcon">
1717
<iconset>
18-
<normaloff/>
19-
</iconset>
18+
<normaloff>.</normaloff>.</iconset>
2019
</property>
2120
<property name="sizeGripEnabled">
2221
<bool>true</bool>
@@ -38,29 +37,41 @@
3837
<layout class="QHBoxLayout" name="horizontalLayout">
3938
<item>
4039
<widget class="QPushButton" name="btnConnect">
40+
<property name="toolTip">
41+
<string>Connect to selected database</string>
42+
</property>
4143
<property name="text">
4244
<string>Connect</string>
4345
</property>
4446
</widget>
4547
</item>
4648
<item>
4749
<widget class="QPushButton" name="btnNew">
50+
<property name="toolTip">
51+
<string>Create a new database connection</string>
52+
</property>
4853
<property name="text">
4954
<string>New</string>
5055
</property>
5156
</widget>
5257
</item>
5358
<item>
5459
<widget class="QPushButton" name="btnEdit">
60+
<property name="toolTip">
61+
<string>Edit selected database connection</string>
62+
</property>
5563
<property name="text">
5664
<string>Edit</string>
5765
</property>
5866
</widget>
5967
</item>
6068
<item>
6169
<widget class="QPushButton" name="btnDelete">
70+
<property name="toolTip">
71+
<string>Remove connection to selected database</string>
72+
</property>
6273
<property name="text">
63-
<string>Delete</string>
74+
<string>Remove</string>
6475
</property>
6576
</widget>
6677
</item>
@@ -158,7 +169,16 @@
158169
<bool>false</bool>
159170
</property>
160171
<layout class="QGridLayout">
161-
<property name="margin">
172+
<property name="leftMargin">
173+
<number>9</number>
174+
</property>
175+
<property name="topMargin">
176+
<number>9</number>
177+
</property>
178+
<property name="rightMargin">
179+
<number>9</number>
180+
</property>
181+
<property name="bottomMargin">
162182
<number>9</number>
163183
</property>
164184
<property name="spacing">

1 commit comments

Comments
 (1)

nirvn commented on May 29, 2016

@nirvn
Contributor

@nyalldawson , brilliant; after all these years, I would still get worried for a second when reading [ DELETE ].

Please sign in to comment.