mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-21 11:31:00 -06:00
Fixed inconsistencies in new toolbar buttons
Restored menu entries for 'Open Project' and 'Save Project'. They were
accidentally removed in 8fbf44bffe
Set the status-tip to all the toolbar buttons for consistency. This
displays a message in the status bar when hovering over the toolbar button,
and (depending on platform), when the menu entry is the current. Set to the
the same text than the tool-tip following previous example.
Both tips for 'Close Database' were added.
This commit is contained in:
@@ -914,6 +914,8 @@
|
||||
<addaction name="menuImport"/>
|
||||
<addaction name="menuExport"/>
|
||||
<addaction name="separator"/>
|
||||
<addaction name="actionOpenProject"/>
|
||||
<addaction name="actionSaveProject"/>
|
||||
<addaction name="separator"/>
|
||||
<addaction name="fileExitAction"/>
|
||||
</widget>
|
||||
@@ -1237,6 +1239,12 @@
|
||||
<property name="text">
|
||||
<string>&Close Database</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Close the current database file</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Close the current database file</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string>Ctrl+W</string>
|
||||
</property>
|
||||
@@ -1258,6 +1266,9 @@
|
||||
<property name="toolTip">
|
||||
<string>Revert database to last saved state</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Revert database to last saved state</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This option is used to revert the current database file to its last saved state. All changes made since the last save operation are lost.</string>
|
||||
</property>
|
||||
@@ -1279,6 +1290,9 @@
|
||||
<property name="toolTip">
|
||||
<string>Write changes to the database file</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Write changes to the database file</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>This option is used to save changes to the database file.</string>
|
||||
</property>
|
||||
@@ -1687,6 +1701,9 @@
|
||||
<property name="toolTip">
|
||||
<string>Add another database file to the current database connection</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Add another database file to the current database connection</string>
|
||||
</property>
|
||||
<property name="menuRole">
|
||||
<enum>QAction::NoRole</enum>
|
||||
</property>
|
||||
|
||||
Reference in New Issue
Block a user