projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't put loaded formats directly in the format cache
[quassel.git]
/
src
/
qtui
/
qtuistyle.h
diff --git
a/src/qtui/qtuistyle.h
b/src/qtui/qtuistyle.h
index
d3276f1
..
d2e7051
100644
(file)
--- a/
src/qtui/qtuistyle.h
+++ b/
src/qtui/qtuistyle.h
@@
-1,5
+1,5
@@
/***************************************************************************
/***************************************************************************
- * Copyright (C) 2005-0
8
by the Quassel Project *
+ * Copyright (C) 2005-0
9
by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-22,20
+22,28
@@
#define QTUISTYLE_H_
#include "uistyle.h"
#define QTUISTYLE_H_
#include "uistyle.h"
+#include "qtuisettings.h"
class QtUiStyle : public UiStyle {
class QtUiStyle : public UiStyle {
+ Q_OBJECT
public:
public:
- QtUiStyle();
+ QtUiStyle(
QObject *parent = 0
);
virtual ~QtUiStyle();
virtual inline qreal firstColumnSeparator() const { return 6; }
virtual inline qreal secondColumnSeparator() const { return 6; }
virtual ~QtUiStyle();
virtual inline qreal firstColumnSeparator() const { return 6; }
virtual inline qreal secondColumnSeparator() const { return 6; }
- virtual inline QColor highlightColor() const { return _highlightColor; }
- virtual void setHighlightColor(const QColor &);
+
+public slots:
+ void generateSettingsQss() const;
+
+private slots:
+ void updateTimestampFormatString();
private:
private:
- QColor _highlightColor;
+ QString color(const QString &key, QtUiStyleSettings &settings) const;
+ QString msgTypeQss(const QString &msgType, const QString &key, QtUiStyleSettings &settings) const;
+ QString senderQss(int i, QtUiStyleSettings &settings) const;
};
#endif
};
#endif