- PreferencesDialog::importSettings() calls MainWindow::reloadSettings() indirectly
- PreferencesDIalog::exportSettings() calls PreferencesDialog::saveSettings() when beginning
- Settings::importSettings() clear m_hCache
- Update Korean translation that can be translated from the above changes
According to Qt documentation:
> Reopening a QTemporaryFile after calling close() is safe. For as long as
> the QTemporaryFile object itself is not destroyed, the unique temporary
> file will exist and be kept open internally by QTemporaryFile.
Keeping the file open by DB4S means that later it cannot be opened by the
external application in Windows, since it is locked.
See issue #2402
* Change 'Preferences' to 'Settings' for natural expression. See the issue #2393
* Add filter for INI file
* Add 'Export Settings' and 'Import Settings' buttons In Preferences dialog
* Add validation of whether it is a normal settings file
- Delete old translation file(sqlb_ko_KR.qph).
- Translate for all translatable entries.
- Modify to maintain unity between words.
- Fix several typos and grammatical errors
This adds a new context menu action called "Freeze Columns" to the
context menu which appears when you right click the column headers in
a Browse Data dock. With this action all columns from the first up to
the clicked column are fixed in place when you scroll horizontally. This
can be used to make for example the id column always visible.
See issue #1888.
Two options are added for the command line:
-c [config_file]
--config [config_file]
We can also use environment variables without using options on the command line.
export DB4S_CONFIG_FILE=[config_file]
If there is an environment variable and use the -c or --config option, the environment variable is ignored.
See issue #2317.
Added a message handler so any Qt message sent before the main window is
visible will be shown to user in a message box. In principle, this is
designed for the informative command line arguments: '-h' and '-v', but
will improve also the error messages about not found arguments or any other
warning or error shown before the messages can be seen in the Log dock.
See issue #1069
sqlite allows to attach the same database file multiple times with
different alias names - as long as you're not running on shared cache
mode. So DB4S should not deny a user to do so.
DbStructureQItemViewFacade provides a simple read only interface to a
QAbstractItemView (e.g. QTreeView) that holds a model() of type
DBStructureModel.
It is designed to simplify the access to the actual selected node.
The Class follows the facade design pattern.
But it doesn't control the lifecycle of the itemView it is connected to.
This changes the different tabs in the Browse Data tab to docks. Docks
can be tabbed as well (which is also the default now) but also allow
free floating windows or split views.
See issues #756, #1465, #1905, #2229, #2283.
In Windows (related issue #1069) and maybe in macOS (related issue #1982)
output to console is inhibited.
This will allow these messages to be seen in our Error Log window.
* Add spin box for max recent files
* Set default value for max recent files
* Implement handling of max recent files value
* Add separator to separate the recent file list and the clear list action
This uses the name of the selected table for the tab titles in the
Browse Data tabs. When setting a custom tab title that title is
preserved.
See issue #2283.
Avoid a possible database busy warning when using the Browse Table
context menu action in the Database Structure tab. This happened because
of an unnecessary schema update.
Also do not refresh the view when changing between the main tabs. This
makes tab switching faster, makes sure the scroll position is not lost,
and avoid two queries instead of one when using the Browse Table action.
See issue #2283.
This adds a new tab widget inside the Browse Data tab which allows you
to create multiple TableBrowser widgets. This way you can browse
multiple tables at the same time and switch between them.
I don't consider this done. The UI for this is likely to change in the
future. This commit is just a first step towards this goal.
See issue #2283.
This adds a button called 'Yes. Don't ask again' to the collation
message box which asks you to confirm adding a default collation when
your database needs a custom collation.
See issue #2356.