Commit Graph

12 Commits

Author SHA1 Message Date
Peinthor Rene
de1fb9ff2f qt5: full qt5 compability
ifdef rest of the code which can't be ported 100%
add CMake option USE_QT5 to use qt5 ;)
Thanks to stretchtiberius for initial patch
2014-02-14 00:28:42 +01:00
Peinthor Rene
1bac11348f include cleanup 2013-09-19 22:55:35 +02:00
Martin Kleusberg
a6c30fea0a Don't call populateTable() twice on startup when it's not needed
We need to call MainWindow::populateTable() when an SQL script was
executed during startup to make sure the latest data is shown. There is
however no need to do so when no SQL script was specified.
2013-06-18 20:46:50 +02:00
Martin Kleusberg
04b431d3f1 Add rough implementation of some command line options
Support some additional command line options for opening and running SQL
scripts directly.

Don't just take the first argument as a SQLite database to open as it
could be a command line option - Qt and X11 have some default ones.
2013-05-14 18:12:11 +02:00
Peinthor Rene
f2e5747a0a ifdef out the special mac code for now
it needs more fixing and I can't test it.
2013-03-31 10:27:22 +02:00
Peinthor Rene
d54bb46964 and another type mismatch on mac 2013-03-31 10:21:11 +02:00
Peinthor Rene
805944eab9 fix compile error on mac 2013-03-31 10:15:25 +02:00
Martin Kleusberg
a0c209efd8 Get rid of some global variables
Remove two global variables storing the application short name which is
the same as the organisation name and the application icon which is only
used in one place.
2013-01-20 15:16:35 +01:00
Martin Kleusberg
d05e90e495 Improve translatability of the application
Head towards a translatable application by loading translation files for
the current locale and using tr() where ever it's needed.
2013-01-18 18:11:07 +01:00
Martin Kleusberg
e7d213c546 Set text codec to UTF8 fixing the handling of special characters
Set the encoding used by Qt to UTF8. This fixes the wrong appearance of
special characters caused by SQLite using UTF8 and the application
ISO-8859 or whatever.
2013-01-05 14:48:13 +01:00
Martin Kleusberg
4bebed0365 Change company name
There isn't really any company behind this project, so why name one?
2013-01-02 20:31:14 +01:00
Martin Kleusberg
eef1c04020 Rename files to match class names 2013-01-02 19:01:47 +01:00