projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Well this is my deferred christmas present: signalproxy should be threadsafe now...
[quassel.git]
/
src
/
qtopia
/
qtopiauistyle.cpp
diff --git
a/src/qtopia/qtopiauistyle.cpp
b/src/qtopia/qtopiauistyle.cpp
index
2716b22
..
5876eae
100644
(file)
--- a/
src/qtopia/qtopiauistyle.cpp
+++ b/
src/qtopia/qtopiauistyle.cpp
@@
-5,7
+5,7
@@
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
- * (at your option)
any later version.
*
+ * (at your option)
version 3.
*
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
@@
-19,12
+19,14
@@
***************************************************************************/
#include "qtopiauistyle.h"
***************************************************************************/
#include "qtopiauistyle.h"
+#include "settings.h"
-QtopiaUiStyle::QtopiaUiStyle() : UiStyle() {
+QtopiaUiStyle::QtopiaUiStyle() : UiStyle(
"QtopiaUiStyle"
) {
QTextCharFormat def;
QTextCharFormat def;
- def.setFont(QFont("Verdana",6));
- setFormat(None, def);
+ def.setForeground(QBrush("#000000"));
+ def.setFont(QFont("Verdana",5));
+ setFormat(None, def, Settings::Default);
// We need to just set our internal formats; everything else is done by the base class...
// We need to just set our internal formats; everything else is done by the base class...
@@
-32,81
+34,81
@@
QtopiaUiStyle::QtopiaUiStyle() : UiStyle() {
QTextCharFormat plainMsg;
plainMsg.setForeground(QBrush("#000000"));
QTextCharFormat plainMsg;
plainMsg.setForeground(QBrush("#000000"));
- setFormat(PlainMsg, plainMsg);
+ setFormat(PlainMsg, plainMsg
, Settings::Default
);
QTextCharFormat notice;
notice.setForeground(QBrush("#000080"));
QTextCharFormat notice;
notice.setForeground(QBrush("#000080"));
- setFormat(NoticeMsg, notice);
+ setFormat(NoticeMsg, notice
, Settings::Default
);
QTextCharFormat server;
server.setForeground(QBrush("#000080"));
QTextCharFormat server;
server.setForeground(QBrush("#000080"));
- setFormat(ServerMsg, server);
+ setFormat(ServerMsg, server
, Settings::Default
);
QTextCharFormat error;
error.setForeground(QBrush("#ff0000"));
QTextCharFormat error;
error.setForeground(QBrush("#ff0000"));
- setFormat(ErrorMsg, error);
+ setFormat(ErrorMsg, error
, Settings::Default
);
QTextCharFormat join;
join.setForeground(QBrush("#008000"));
QTextCharFormat join;
join.setForeground(QBrush("#008000"));
- setFormat(JoinMsg, join);
+ setFormat(JoinMsg, join
, Settings::Default
);
QTextCharFormat part;
QTextCharFormat part;
- part.setForeground(QBrush("#
cd5c5c
"));
- setFormat(PartMsg, part);
+ part.setForeground(QBrush("#
ff0000
"));
+ setFormat(PartMsg, part
, Settings::Default
);
QTextCharFormat quit;
QTextCharFormat quit;
- quit.setForeground(QBrush("#
cd5c5c
"));
- setFormat(QuitMsg, quit);
+ quit.setForeground(QBrush("#
ff0000
"));
+ setFormat(QuitMsg, quit
, Settings::Default
);
QTextCharFormat kick;
QTextCharFormat kick;
- kick.setForeground(QBrush("#
cd5c5c
"));
- setFormat(KickMsg, kick);
+ kick.setForeground(QBrush("#
ff0000
"));
+ setFormat(KickMsg, kick
, Settings::Default
);
QTextCharFormat nren;
nren.setForeground(QBrush("#6a5acd"));
QTextCharFormat nren;
nren.setForeground(QBrush("#6a5acd"));
- setFormat(RenameMsg, nren);
+ setFormat(RenameMsg, nren
, Settings::Default
);
QTextCharFormat mode;
mode.setForeground(QBrush("#4682b4"));
QTextCharFormat mode;
mode.setForeground(QBrush("#4682b4"));
- setFormat(ModeMsg, mode);
+ setFormat(ModeMsg, mode
, Settings::Default
);
QTextCharFormat action;
action.setFontItalic(true);
action.setForeground(QBrush("#8b008b"));
QTextCharFormat action;
action.setFontItalic(true);
action.setForeground(QBrush("#8b008b"));
- setFormat(ActionMsg, action);
+ setFormat(ActionMsg, action
, Settings::Default
);
// Internal message element formats
QTextCharFormat ts;
ts.setForeground(QBrush("#808080"));
// Internal message element formats
QTextCharFormat ts;
ts.setForeground(QBrush("#808080"));
- setFormat(Timestamp, ts);
+ setFormat(Timestamp, ts
, Settings::Default
);
QTextCharFormat sender;
sender.setAnchor(true);
sender.setForeground(QBrush("#000080"));
QTextCharFormat sender;
sender.setAnchor(true);
sender.setForeground(QBrush("#000080"));
- setFormat(Sender, sender);
+ setFormat(Sender, sender
, Settings::Default
);
QTextCharFormat nick;
nick.setAnchor(true);
nick.setFontWeight(QFont::Bold);
QTextCharFormat nick;
nick.setAnchor(true);
nick.setFontWeight(QFont::Bold);
- setFormat(Nick, nick);
+ setFormat(Nick, nick
, Settings::Default
);
QTextCharFormat hostmask;
hostmask.setFontItalic(true);
QTextCharFormat hostmask;
hostmask.setFontItalic(true);
- setFormat(Hostmask, hostmask);
+ setFormat(Hostmask, hostmask
, Settings::Default
);
QTextCharFormat channel;
channel.setAnchor(true);
channel.setFontWeight(QFont::Bold);
QTextCharFormat channel;
channel.setAnchor(true);
channel.setFontWeight(QFont::Bold);
- setFormat(ChannelName, channel);
+ setFormat(ChannelName, channel
, Settings::Default
);
QTextCharFormat flags;
flags.setFontWeight(QFont::Bold);
QTextCharFormat flags;
flags.setFontWeight(QFont::Bold);
- setFormat(ModeFlags, flags);
+ setFormat(ModeFlags, flags
, Settings::Default
);
QTextCharFormat url;
url.setFontUnderline(true);
url.setAnchor(true);
QTextCharFormat url;
url.setFontUnderline(true);
url.setAnchor(true);
- setFormat(Url, url);
+ setFormat(Url, url
, Settings::Default
);
}
}