Make syntax highlighting configurable

Add new options to the preferences dialog to change the colours and text
styles used in the SQL syntax highlighter.
This commit is contained in:
Martin Kleusberg
2013-03-30 15:06:26 +01:00
parent 340af96deb
commit d941073c25
6 changed files with 291 additions and 86 deletions

View File

@@ -4,6 +4,7 @@
#include <QDialog>
#include <QVariant>
#include <QHash>
class QTreeWidgetItem;
namespace Ui {
class PreferencesDialog;
@@ -25,6 +26,7 @@ private slots:
virtual void chooseLocation();
virtual void loadSettings();
virtual void saveSettings();
virtual void showColourDialog(QTreeWidgetItem* item, int column);
private:
Ui::PreferencesDialog *ui;