You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added some texts to the "What's This" information of some buttons or other
widgets that lacked them. This will help the user to discover the provided
features.
Specifically, help is added for the filter fields and the remote dock.
See discussions in issues #1311 and #1312.
Copy file name to clipboardExpand all lines: src/MainWindow.ui
+49-1Lines changed: 49 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -154,6 +154,9 @@ You can drag SQL sentences from an object row and drop them into other applicati
154
154
<propertyname="toolTip">
155
155
<string>Clear all filters</string>
156
156
</property>
157
+
<propertyname="whatsThis">
158
+
<string>This button clears all the filters set in the header input fields for the currently browsed table.</string>
159
+
</property>
157
160
<propertyname="text">
158
161
<string/>
159
162
</property>
@@ -168,6 +171,9 @@ You can drag SQL sentences from an object row and drop them into other applicati
168
171
<propertyname="toolTip">
169
172
<string>Save the current filter, sort column and display formats as a view</string>
170
173
</property>
174
+
<propertyname="whatsThis">
175
+
<string>This button saves the current setting of the browsed table (filters, display formats and order column) as an SQL view that you can later browse or use in SQL statements.</string>
176
+
</property>
171
177
<propertyname="text">
172
178
<string>...</string>
173
179
</property>
@@ -209,7 +215,7 @@ You can drag SQL sentences from an object row and drop them into other applicati
209
215
<string>Delete the current record</string>
210
216
</property>
211
217
<propertyname="whatsThis">
212
-
<string>This button deletes the record currently selected in the database</string>
218
+
<string>This button deletes the record or records currently selected in the table</string>
213
219
</property>
214
220
<propertyname="text">
215
221
<string>Delete Record</string>
@@ -1060,6 +1066,9 @@ You can drag SQL sentences from an object row and drop them into other applicati
1060
1066
<height>30</height>
1061
1067
</size>
1062
1068
</property>
1069
+
<propertyname="whatsThis">
1070
+
<string>This button clears the contents of the SQL logs</string>
1071
+
</property>
1063
1072
<propertyname="text">
1064
1073
<string>&Clear</string>
1065
1074
</property>
@@ -1069,6 +1078,9 @@ You can drag SQL sentences from an object row and drop them into other applicati
1069
1078
</item>
1070
1079
<item>
1071
1080
<widgetclass="QStackedWidget"name="stackLog">
1081
+
<propertyname="whatsThis">
1082
+
<string>This panel lets you examine a log of all SQL commands issued by the application or by yourself</string>
1083
+
</property>
1072
1084
<propertyname="currentIndex">
1073
1085
<number>0</number>
1074
1086
</property>
@@ -1268,6 +1280,9 @@ You can drag SQL sentences from the Schema column and drop them into the SQL edi
1268
1280
<propertyname="statusTip">
1269
1281
<string>Close the current database file</string>
1270
1282
</property>
1283
+
<propertyname="whatsThis">
1284
+
<string>This button closes the connection to the currently open database file</string>
1285
+
</property>
1271
1286
<propertyname="shortcut">
1272
1287
<string>Ctrl+W</string>
1273
1288
</property>
@@ -1563,6 +1578,9 @@ You can drag SQL sentences from the Schema column and drop them into the SQL edi
1563
1578
<propertyname="text">
1564
1579
<string>Open &tab</string>
1565
1580
</property>
1581
+
<propertyname="whatsThis">
1582
+
<string>This button opens a new tab for the SQL editor</string>
1583
+
</property>
1566
1584
<propertyname="shortcut">
1567
1585
<string>Ctrl+T</string>
1568
1586
</property>
@@ -1578,6 +1596,9 @@ You can drag SQL sentences from the Schema column and drop them into the SQL edi
Copy file name to clipboardExpand all lines: src/RemoteDock.ui
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -74,7 +74,11 @@
74
74
</layout>
75
75
</item>
76
76
<item>
77
-
<widgetclass="QTreeView"name="treeStructure"/>
77
+
<widgetclass="QTreeView"name="treeStructure">
78
+
<propertyname="whatsThis">
79
+
<string><html><head/><body><p>In this pane, remote databases from dbhub.io website can be added to DB4S. First you need an identity:</p><ol style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;"><li style=" margin-top:12px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Login to the dbhub.io website (use your GitHub credentials or whatever you want)</li><li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Click the button to create a DB4S certificate (that's your identity). That'll give you a certificate file (save it to your local disk).</li><li style=" margin-top:0px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Go to the Remote tab in DB4S Preferences. Click the button to add a new certificate to DB4S and choose the just downloaded certificate file.</li></ol><p>Now the Remote panel shows your identity and you can add remote databases.</p></body></html></string>
0 commit comments