Commit Graph

70 Commits

Author SHA1 Message Date
Samir Aguiar a5d6e6df7a preferencesdialog: Add country flag to language combo box
See issue #182.
2015-02-13 23:49:33 +01:00
Samir Aguiar 774e428b30 preferencesdialog: Suffix to identify system and default languages
Also, move the selected language to the top of the language
combo box.
2015-02-13 23:44:55 +01:00
Samir Aguiar 0b6f0f45e0 preferencesdialog: Restore ability to change default location
Commit ae03113 broke the UI: the signal triggered when pressing
the button to change the default location and the tab order
had been lost.

See issue #197.
2015-02-06 19:56:16 +01:00
Samir Aguiar ae031137b3 preferencesdialog: Move default location option to General tab 2015-01-21 23:06:02 +01:00
Samir Aguiar 6d6544043d preferencesdialog: New combobox to change application language
The behavior remains basically as before: when first launched
the application will try to load a translation for the user's
locale, and if one cannot be found it defaults to English.
The difference is that now this is remembered so that upon
further launches the program will go straight to the matching
locale.

See issue #182.
2015-01-21 23:06:02 +01:00
Martin Kleusberg 9207e46a5e Add option to remove all line breaks in the DB Schema view
Add an option to the preferences dialog (by default disabled) which,
when activated, removes all line breaks from the Schema column in the
Database Structure tab and the DB Schema pane. Especially if there are
many tables this might make things clearer.
2014-10-17 15:37:22 +02:00
Peinthor Rene fea0821e56 Fix bad default Preference dialog size #2 2014-05-05 20:01:16 +02:00
Martin Kleusberg 7a81189d50 PreferencesDialog: New settings for font size of SQL editor and log
Add two new settings to allow changing the font size inside the SQL log
and the SQL editor.

Increase the default font size from 8 to 9 - better a bit too big on
some systems than too small on others.

Also do some restructuring in the MainWindow to avoid duplicate code to
reload settings.
2013-06-07 20:57:58 +02:00
Martin Kleusberg 5a3cfda826 SyntaxHighlighter: Add SQLite functions
Also highlight the names of functions supported by SQLite such as COUNT.
2013-05-16 21:16:37 +02:00
Martin Kleusberg 0de7ff8564 SqlTextEdit: Highlight current line 2013-05-04 21:10:50 +02:00
Martin Kleusberg 2d8cad27eb PreferencesDialog: Add new tab for extension loading
Add new settings to preferences dialog for automated loading of
extensions for all databases.
2013-05-03 16:01:52 +02:00
Martin Kleusberg 7799ef1865 Make number of rows to prefetch when doing lazy population configuarable
Add a new option to the settings dialog to allow changing the number of
rows to get at a time.
2013-04-24 20:25:36 +02:00
Martin Kleusberg 8e44d53e63 Simplify and improve code of last commit 2013-03-30 16:47:27 +01:00
Martin Kleusberg d941073c25 Make syntax highlighting configurable
Add new options to the preferences dialog to change the colours and text
styles used in the SQL syntax highlighter.
2013-03-30 15:06:26 +01:00
Peinthor Rene 7eb385b28d remove the defaultnewdata setting
it is useless now
2013-03-24 21:27:36 +01:00
Martin Kleusberg abb1c2af3e Remove the defaulttext settings field
Remove the settings field for setting the default text. It's not used at
all and I honestly have no idea what it could be useful for.
2013-03-17 16:14:37 +01:00
Martin Kleusberg 2165e544a2 Move all settings logic to the preferences dialog
Read and write the settings only from the preferences dialog.

Remove all the copies of some settings which were stored in nearly every
dialog class individually.

Simplify the settings dialog code by removing all those not really
needed slots.
2013-03-17 16:09:28 +01:00
Peinthor Rene d6533747b4 rework database encoding settings and conversions 2013-02-23 13:00:07 +01:00
Peinthor Rene f8e51cc07a add a foreign key setting
to open database with foreign keys enabled
2013-01-29 18:26:29 +01:00
Martin Kleusberg 24c3eca2e5 Rename dialog files and classes
Rename the files and classes for the dialogs to share all the same
naming pattern. This should make navigation in the code a bit easier.
Do not include dialogs not rewritten yet; they'll be edited as they are
redesigned.
2013-01-08 21:19:01 +01:00