Skip to content

Commit 31c3739

Browse files
authored
Merge pull request #3420 from yjacolin/rewordWMSConnexion
Reword delete button in service connection dialog
2 parents 7ddaf90 + e38401e commit 31c3739

4 files changed

+51
-3
lines changed

src/ui/qgsowssourceselectbase.ui

+13-1
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@
6868
<layout class="QHBoxLayout" name="horizontalLayout_3">
6969
<item>
7070
<widget class="QPushButton" name="mConnectButton">
71+
<property name="toolTip">
72+
<string>Connect to selected service</string>
73+
</property>
7174
<property name="enabled">
7275
<bool>false</bool>
7376
</property>
@@ -78,13 +81,19 @@
7881
</item>
7982
<item>
8083
<widget class="QPushButton" name="mNewButton">
84+
<property name="toolTip">
85+
<string>Create a new service connection</string>
86+
</property>
8187
<property name="text">
8288
<string>&amp;New</string>
8389
</property>
8490
</widget>
8591
</item>
8692
<item>
8793
<widget class="QPushButton" name="mEditButton">
94+
<property name="toolTip">
95+
<string>Edit selected service connection</string>
96+
</property>
8897
<property name="enabled">
8998
<bool>false</bool>
9099
</property>
@@ -95,11 +104,14 @@
95104
</item>
96105
<item>
97106
<widget class="QPushButton" name="mDeleteButton">
107+
<property name="toolTip">
108+
<string>Remove connection to selected service</string>
109+
</property>
98110
<property name="enabled">
99111
<bool>false</bool>
100112
</property>
101113
<property name="text">
102-
<string>Delete</string>
114+
<string>Remove</string>
103115
</property>
104116
</widget>
105117
</item>

src/ui/qgssourceselectdialogbase.ui

+12
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@
2424
<layout class="QHBoxLayout" name="horizontalLayout">
2525
<item>
2626
<widget class="QPushButton" name="btnConnect">
27+
<property name="toolTip">
28+
<string>Connect to selected database</string>
29+
</property>
2730
<property name="enabled">
2831
<bool>false</bool>
2932
</property>
@@ -34,13 +37,19 @@
3437
</item>
3538
<item>
3639
<widget class="QPushButton" name="btnNew">
40+
<property name="toolTip">
41+
<string>Create a new database connection</string>
42+
</property>
3743
<property name="text">
3844
<string>&amp;New</string>
3945
</property>
4046
</widget>
4147
</item>
4248
<item>
4349
<widget class="QPushButton" name="btnEdit">
50+
<property name="toolTip">
51+
<string>Edit selected database connection</string>
52+
</property>
4453
<property name="enabled">
4554
<bool>false</bool>
4655
</property>
@@ -51,6 +60,9 @@
5160
</item>
5261
<item>
5362
<widget class="QPushButton" name="btnDelete">
63+
<property name="toolTip">
64+
<string>Remove connection to selected database</string>
65+
</property>
5466
<property name="enabled">
5567
<bool>false</bool>
5668
</property>

src/ui/qgswfssourceselectbase.ui

+13-1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@
5353
<layout class="QHBoxLayout" name="horizontalLayout">
5454
<item>
5555
<widget class="QPushButton" name="btnConnect">
56+
<property name="toolTip">
57+
<string>Connect to selected service</string>
58+
</property>
5659
<property name="enabled">
5760
<bool>false</bool>
5861
</property>
@@ -63,13 +66,19 @@
6366
</item>
6467
<item>
6568
<widget class="QPushButton" name="btnNew">
69+
<property name="toolTip">
70+
<string>Create a new service connection</string>
71+
</property>
6672
<property name="text">
6773
<string>&amp;New</string>
6874
</property>
6975
</widget>
7076
</item>
7177
<item>
7278
<widget class="QPushButton" name="btnEdit">
79+
<property name="toolTip">
80+
<string>Edit selected service connection</string>
81+
</property>
7382
<property name="enabled">
7483
<bool>false</bool>
7584
</property>
@@ -80,11 +89,14 @@
8089
</item>
8190
<item>
8291
<widget class="QPushButton" name="btnDelete">
92+
<property name="toolTip">
93+
<string>Remove connection to selected service</string>
94+
</property>
8395
<property name="enabled">
8496
<bool>false</bool>
8597
</property>
8698
<property name="text">
87-
<string>Delete</string>
99+
<string>Remove</string>
88100
</property>
89101
</widget>
90102
</item>

src/ui/qgswmssourceselectbase.ui

+13-1
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@
6666
</item>
6767
<item row="1" column="0" colspan="2">
6868
<widget class="QPushButton" name="btnConnect">
69+
<property name="toolTip">
70+
<string>Connect to selected service</string>
71+
</property>
6972
<property name="enabled">
7073
<bool>false</bool>
7174
</property>
@@ -76,13 +79,19 @@
7679
</item>
7780
<item row="1" column="2" colspan="2">
7881
<widget class="QPushButton" name="btnNew">
82+
<property name="toolTip">
83+
<string>Create a new service connection</string>
84+
</property>
7985
<property name="text">
8086
<string>&amp;New</string>
8187
</property>
8288
</widget>
8389
</item>
8490
<item row="1" column="4">
8591
<widget class="QPushButton" name="btnEdit">
92+
<property name="toolTip">
93+
<string>Edit selected service connection</string>
94+
</property>
8695
<property name="enabled">
8796
<bool>false</bool>
8897
</property>
@@ -93,11 +102,14 @@
93102
</item>
94103
<item row="1" column="5">
95104
<widget class="QPushButton" name="btnDelete">
105+
<property name="toolTip">
106+
<string>Remove connection to selected service</string>
107+
</property>
96108
<property name="enabled">
97109
<bool>false</bool>
98110
</property>
99111
<property name="text">
100-
<string>Delete</string>
112+
<string>Remove</string>
101113
</property>
102114
</widget>
103115
</item>

0 commit comments

Comments
 (0)