Skip to content

Commit

Permalink
Reword delete button in service connection dialog
Browse files Browse the repository at this point in the history
Similar to c7a4e5a
  • Loading branch information
yjacolin committed Aug 22, 2016
1 parent c47b4ca commit e38401e
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 3 deletions.
14 changes: 13 additions & 1 deletion src/ui/qgsowssourceselectbase.ui
Expand Up @@ -68,6 +68,9 @@
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QPushButton" name="mConnectButton">
<property name="toolTip">
<string>Connect to selected service</string>
</property>
<property name="enabled">
<bool>false</bool>
</property>
Expand All @@ -78,13 +81,19 @@
</item>
<item>
<widget class="QPushButton" name="mNewButton">
<property name="toolTip">
<string>Create a new service connection</string>
</property>
<property name="text">
<string>&amp;New</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="mEditButton">
<property name="toolTip">
<string>Edit selected service connection</string>
</property>
<property name="enabled">
<bool>false</bool>
</property>
Expand All @@ -95,11 +104,14 @@
</item>
<item>
<widget class="QPushButton" name="mDeleteButton">
<property name="toolTip">
<string>Remove connection to selected service</string>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Delete</string>
<string>Remove</string>
</property>
</widget>
</item>
Expand Down
12 changes: 12 additions & 0 deletions src/ui/qgssourceselectdialogbase.ui
Expand Up @@ -24,6 +24,9 @@
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QPushButton" name="btnConnect">
<property name="toolTip">
<string>Connect to selected database</string>
</property>
<property name="enabled">
<bool>false</bool>
</property>
Expand All @@ -34,13 +37,19 @@
</item>
<item>
<widget class="QPushButton" name="btnNew">
<property name="toolTip">
<string>Create a new database connection</string>
</property>
<property name="text">
<string>&amp;New</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="btnEdit">
<property name="toolTip">
<string>Edit selected database connection</string>
</property>
<property name="enabled">
<bool>false</bool>
</property>
Expand All @@ -51,6 +60,9 @@
</item>
<item>
<widget class="QPushButton" name="btnDelete">
<property name="toolTip">
<string>Remove connection to selected database</string>
</property>
<property name="enabled">
<bool>false</bool>
</property>
Expand Down
14 changes: 13 additions & 1 deletion src/ui/qgswfssourceselectbase.ui
Expand Up @@ -53,6 +53,9 @@
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QPushButton" name="btnConnect">
<property name="toolTip">
<string>Connect to selected service</string>
</property>
<property name="enabled">
<bool>false</bool>
</property>
Expand All @@ -63,13 +66,19 @@
</item>
<item>
<widget class="QPushButton" name="btnNew">
<property name="toolTip">
<string>Create a new service connection</string>
</property>
<property name="text">
<string>&amp;New</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="btnEdit">
<property name="toolTip">
<string>Edit selected service connection</string>
</property>
<property name="enabled">
<bool>false</bool>
</property>
Expand All @@ -80,11 +89,14 @@
</item>
<item>
<widget class="QPushButton" name="btnDelete">
<property name="toolTip">
<string>Remove connection to selected service</string>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Delete</string>
<string>Remove</string>
</property>
</widget>
</item>
Expand Down
14 changes: 13 additions & 1 deletion src/ui/qgswmssourceselectbase.ui
Expand Up @@ -66,6 +66,9 @@
</item>
<item row="1" column="0" colspan="2">
<widget class="QPushButton" name="btnConnect">
<property name="toolTip">
<string>Connect to selected service</string>
</property>
<property name="enabled">
<bool>false</bool>
</property>
Expand All @@ -76,13 +79,19 @@
</item>
<item row="1" column="2" colspan="2">
<widget class="QPushButton" name="btnNew">
<property name="toolTip">
<string>Create a new service connection</string>
</property>
<property name="text">
<string>&amp;New</string>
</property>
</widget>
</item>
<item row="1" column="4">
<widget class="QPushButton" name="btnEdit">
<property name="toolTip">
<string>Edit selected service connection</string>
</property>
<property name="enabled">
<bool>false</bool>
</property>
Expand All @@ -93,11 +102,14 @@
</item>
<item row="1" column="5">
<widget class="QPushButton" name="btnDelete">
<property name="toolTip">
<string>Remove connection to selected service</string>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Delete</string>
<string>Remove</string>
</property>
</widget>
</item>
Expand Down

0 comments on commit e38401e

Please sign in to comment.