summaryrefslogtreecommitdiffstats
path: root/filestreemodel.h
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2010-12-22 16:59:12 +0100
committerArno <am@disconnect.de>2010-12-26 20:49:27 +0100
commit7bb7295a9033c0a6729b301e7c9b76393539e29a (patch)
treedf92ec2f09e1cf6797fde07dc495efb051c94b74 /filestreemodel.h
parent832d48d3b9249db178f649d00c5c7134bea2becb (diff)
downloadSheMov-7bb7295a9033c0a6729b301e7c9b76393539e29a.tar.gz
SheMov-7bb7295a9033c0a6729b301e7c9b76393539e29a.tar.bz2
SheMov-7bb7295a9033c0a6729b301e7c9b76393539e29a.zip
Made colors configurable
Added a tab to ConfigurationDialog to make some colors configurable. It works somehow. The font color isn't evaluated yet, since I'm not convinced that it is a good idea. But one problem is that calling qApp->setPalette() doesn't propagate to non visible child dialogs. Dunno if it's worth fixing.
Diffstat (limited to 'filestreemodel.h')
-rw-r--r--filestreemodel.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/filestreemodel.h b/filestreemodel.h
index 7acca2c..23e5f75 100644
--- a/filestreemodel.h
+++ b/filestreemodel.h
@@ -12,6 +12,7 @@
#include <QList>
#include <QHash>
#include <QMap>
+#include <QColor>
#include "smtreemodel.h"
@@ -56,6 +57,9 @@ class FilesTreeModel : public SmTreeModel {
void readCache();
void writeCache();
+ public slots:
+ void readSettings();
+
private:
//functions
void populate(QSqlQuery &filesQuery);
@@ -80,6 +84,7 @@ class FilesTreeModel : public SmTreeModel {
SeriesTreeModel *mSeriesModel;
int mMode;
const int mMagic;
+ QColor mLocalColor;
};
#endif // FILESTREEMODEL_H