Styles for public chat, private chat and history.

RetroShare has a standard style for each type, but the user can define their own styles.
The external directories "style/public", "style/private" and "style/history" are scanned for subdirs with user defined style informations.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3453 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2010-09-07 15:49:31 +00:00
parent 452faffa4b
commit 6bd6c50502
24 changed files with 1537 additions and 684 deletions

View file

@ -202,7 +202,7 @@ PeersDialog::PeersDialog(QWidget *parent)
mCurrentFont.fromString(Settings->valueFromGroup("Chat", QString::fromUtf8("ChatScreenFont")).toString());
ui.lineEdit->setFont(mCurrentFont);
style.setStylePath(":/qss/chat/public");
style.setStyleFromSettings(ChatStyle::TYPE_PUBLIC);
style.loadEmoticons();
setChatInfo(tr("Welcome to RetroShare's group chat."), QString::fromUtf8("blue"));