* Fixed Messages Dialogs QLabels

* Fixed Online and Message Toaster to look bether .
* Update stylesheets for bold fonts for Subject,From,Date,To, Subject Text
* Set for From Text Label Blue font.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@814 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2008-11-17 03:03:23 +00:00
parent cfe139ca9a
commit df7cbc58e6
25 changed files with 768 additions and 166 deletions

View File

@ -1101,7 +1101,7 @@ void p3ConnectMgr::tickMonitors()
if (notify)
{
notify->AddPopupMessage(RS_POPUP_CONNECT,
peer.id, "Peer Online: ");
peer.id, "Online: ");
notify->AddFeedItem(RS_FEED_ITEM_PEER_CONNECT, peer.id, "", "");

View File

@ -148,7 +148,7 @@ int p3MsgService::incomingMsgs()
if (notify)
{
notify->AddPopupMessage(RS_POPUP_MSG, mi->PeerId(),
"New Message from: ");
"from: ");
std::ostringstream out;
out << mi->msgId;

View File

@ -504,7 +504,7 @@
<property name="contextMenuPolicy" >
<enum>Qt::DefaultContextMenu</enum>
</property>
<layout class="QGridLayout" name="gridLayout" >
<layout class="QGridLayout" >
<item row="0" column="0" >
<widget class="QPushButton" name="newmessageButton" >
<property name="minimumSize" >
@ -526,7 +526,7 @@ p, li { white-space: pre-wrap; }
&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">New Message&lt;/p>&lt;/body>&lt;/html></string>
</property>
<property name="styleSheet" >
<string notr="true" />
<string/>
</property>
<property name="text" >
<string/>
@ -563,7 +563,7 @@ p, li { white-space: pre-wrap; }
&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">reply to selected message&lt;/p>&lt;/body>&lt;/html></string>
</property>
<property name="styleSheet" >
<string notr="true" />
<string/>
</property>
<property name="text" >
<string/>
@ -597,7 +597,7 @@ p, li { white-space: pre-wrap; }
&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">remove selected message&lt;/p>&lt;/body>&lt;/html></string>
</property>
<property name="styleSheet" >
<string notr="true" />
<string/>
</property>
<property name="text" >
<string/>
@ -646,7 +646,7 @@ p, li { white-space: pre-wrap; }
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0" >
<property name="sizeHint" >
<size>
<width>602</width>
<height>24</height>
@ -698,8 +698,7 @@ p, li { white-space: pre-wrap; }
<string>Inbox</string>
</property>
<property name="icon" >
<iconset resource="images.qrc" >
<normaloff>:/images/folder-inbox.png</normaloff>:/images/folder-inbox.png</iconset>
<iconset resource="images.qrc" >:/images/folder-inbox.png</iconset>
</property>
</item>
<item>
@ -707,8 +706,7 @@ p, li { white-space: pre-wrap; }
<string>Outbox</string>
</property>
<property name="icon" >
<iconset resource="images.qrc" >
<normaloff>:/images/folder-outbox.png</normaloff>:/images/folder-outbox.png</iconset>
<iconset resource="images.qrc" >:/images/folder-outbox.png</iconset>
</property>
</item>
<item>
@ -716,8 +714,7 @@ p, li { white-space: pre-wrap; }
<string>Draft</string>
</property>
<property name="icon" >
<iconset resource="images.qrc" >
<normaloff>:/images/folder-draft.png</normaloff>:/images/folder-draft.png</iconset>
<iconset resource="images.qrc" >:/images/folder-draft.png</iconset>
</property>
</item>
<item>
@ -725,8 +722,7 @@ p, li { white-space: pre-wrap; }
<string>Sent</string>
</property>
<property name="icon" >
<iconset resource="images.qrc" >
<normaloff>:/images/folder-sent.png</normaloff>:/images/folder-sent.png</iconset>
<iconset resource="images.qrc" >:/images/folder-sent.png</iconset>
</property>
</item>
</widget>
@ -758,8 +754,7 @@ p, li { white-space: pre-wrap; }
<string/>
</property>
<property name="icon" >
<iconset resource="images.qrc" >
<normaloff>:/images/attachment.png</normaloff>:/images/attachment.png</iconset>
<iconset resource="images.qrc" >:/images/attachment.png</iconset>
</property>
</column>
<column>
@ -782,6 +777,18 @@ p, li { white-space: pre-wrap; }
<layout class="QVBoxLayout" >
<item>
<layout class="QHBoxLayout" >
<property name="spacing" >
<number>6</number>
</property>
<property name="leftMargin" >
<number>0</number>
</property>
<property name="topMargin" >
<number>0</number>
</property>
<property name="bottomMargin" >
<number>0</number>
</property>
<item>
<layout class="QVBoxLayout" >
<item>
@ -792,7 +799,7 @@ p, li { white-space: pre-wrap; }
<property name="sizeType" >
<enum>QSizePolicy::Preferred</enum>
</property>
<property name="sizeHint" stdset="0" >
<property name="sizeHint" >
<size>
<width>20</width>
<height>40</height>
@ -804,8 +811,14 @@ p, li { white-space: pre-wrap; }
</item>
<item>
<layout class="QGridLayout" >
<property name="horizontalSpacing" >
<number>0</number>
</property>
<property name="verticalSpacing" >
<number>3</number>
</property>
<item row="0" column="0" >
<widget class="QLabel" name="label_16" >
<widget class="QLabel" name="subjectlabel" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
<horstretch>0</horstretch>
@ -815,7 +828,7 @@ p, li { white-space: pre-wrap; }
<property name="minimumSize" >
<size>
<width>60</width>
<height>10</height>
<height>12</height>
</size>
</property>
<property name="maximumSize" >
@ -847,7 +860,7 @@ p, li { white-space: pre-wrap; }
<property name="minimumSize" >
<size>
<width>0</width>
<height>10</height>
<height>12</height>
</size>
</property>
<property name="maximumSize" >
@ -862,7 +875,7 @@ p, li { white-space: pre-wrap; }
</widget>
</item>
<item row="1" column="0" >
<widget class="QLabel" name="label_7" >
<widget class="QLabel" name="fromlabel" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
<horstretch>0</horstretch>
@ -872,7 +885,7 @@ p, li { white-space: pre-wrap; }
<property name="minimumSize" >
<size>
<width>60</width>
<height>10</height>
<height>12</height>
</size>
</property>
<property name="maximumSize" >
@ -904,7 +917,7 @@ p, li { white-space: pre-wrap; }
<property name="minimumSize" >
<size>
<width>0</width>
<height>10</height>
<height>12</height>
</size>
</property>
<property name="maximumSize" >
@ -919,7 +932,7 @@ p, li { white-space: pre-wrap; }
</widget>
</item>
<item row="2" column="0" >
<widget class="QLabel" name="label_12" >
<widget class="QLabel" name="datelabel" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
<horstretch>0</horstretch>
@ -929,7 +942,7 @@ p, li { white-space: pre-wrap; }
<property name="minimumSize" >
<size>
<width>60</width>
<height>10</height>
<height>12</height>
</size>
</property>
<property name="maximumSize" >
@ -961,7 +974,7 @@ p, li { white-space: pre-wrap; }
<property name="minimumSize" >
<size>
<width>0</width>
<height>10</height>
<height>12</height>
</size>
</property>
<property name="maximumSize" >
@ -976,7 +989,7 @@ p, li { white-space: pre-wrap; }
</widget>
</item>
<item row="3" column="0" >
<widget class="QLabel" name="label_14" >
<widget class="QLabel" name="tolabel" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
<horstretch>0</horstretch>
@ -986,7 +999,7 @@ p, li { white-space: pre-wrap; }
<property name="minimumSize" >
<size>
<width>60</width>
<height>10</height>
<height>12</height>
</size>
</property>
<property name="maximumSize" >
@ -1018,7 +1031,7 @@ p, li { white-space: pre-wrap; }
<property name="minimumSize" >
<size>
<width>0</width>
<height>10</height>
<height>12</height>
</size>
</property>
<property name="maximumSize" >
@ -1050,10 +1063,22 @@ p, li { white-space: pre-wrap; }
<layout class="QHBoxLayout" >
<item>
<layout class="QGridLayout" >
<property name="margin" >
<property name="leftMargin" >
<number>0</number>
</property>
<property name="spacing" >
<property name="topMargin" >
<number>0</number>
</property>
<property name="rightMargin" >
<number>0</number>
</property>
<property name="bottomMargin" >
<number>0</number>
</property>
<property name="horizontalSpacing" >
<number>6</number>
</property>
<property name="verticalSpacing" >
<number>6</number>
</property>
<item row="0" column="1" >
@ -1095,8 +1120,7 @@ p, li { white-space: pre-wrap; }
<string/>
</property>
<property name="icon" >
<iconset resource="images.qrc" >
<normaloff>:/images/edit_remove24.png</normaloff>:/images/edit_remove24.png</iconset>
<iconset resource="images.qrc" >:/images/edit_remove24.png</iconset>
</property>
</widget>
</item>
@ -1107,7 +1131,7 @@ p, li { white-space: pre-wrap; }
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0" >
<property name="sizeHint" >
<size>
<width>351</width>
<height>20</height>
@ -1127,8 +1151,7 @@ p, li { white-space: pre-wrap; }
<string/>
</property>
<property name="icon" >
<iconset resource="images.qrc" >
<normaloff>:/images/down.png</normaloff>:/images/down.png</iconset>
<iconset resource="images.qrc" >:/images/down.png</iconset>
</property>
</widget>
</item>

View File

@ -4,7 +4,7 @@
/* Customize the toolbar. */
QToolBar {
border-image: url(qss/black/backgroundblack.png);
border-image: url(:qss/black/backgroundblack.png);
}
@ -123,17 +123,17 @@ QPushButton#nviewsettingsButton
QPushButton
{
border-image: url(qss/black/button.png) ;
border-image: url(:qss/black/button.png) ;
}
QPushButton:hover
{
border-image: url(qss/black/button_hover.png);
border-image: url(:qss/black/button_hover.png);
}
QPushButton:pressed
{
border-image: url(qss/black/button_pressed.png) ;
border-image: url(:qss/black/button_pressed.png) ;
}
@ -144,7 +144,7 @@ background-color: #F9F9F9;
QLineEdit
{
border-image: url(qss/black/border.png) 4;
border-image: url(:qss/black/border.png) 4;
border-width: 3;
}
@ -162,39 +162,39 @@ font: bold;
QRadioButton::indicator::unchecked {
image: url(qss/black/checkBox.png);
image: url(:qss/black/checkBox.png);
}
QRadioButton::indicator:unchecked:hover {
image: url(qss/black/checkBox_hover.png);
image: url(:qss/black/checkBox_hover.png);
}
QRadioButton::indicator::checked {
image: url(qss/black/checkBox_selected.png);
image: url(:qss/black/checkBox_selected.png);
}
QRadioButton::indicator:checked:hover {
image: url(qss/black/checkBox_hoverAndSelected.png);
image: url(:qss/black/checkBox_hoverAndSelected.png);
}
QCheckBox::indicator:unchecked {
image: url(qss/black/checkBox.png);
image: url(:qss/black/checkBox.png);
}
QCheckBox::indicator:unchecked:hover {
image: url(qss/black/checkBox_hover.png);
image: url(:qss/black/checkBox_hover.png);
}
QCheckBox::indicator:checked {
image: url(qss/black/checkBox_selected.png);
image: url(:qss/black/checkBox_selected.png);
}
QCheckBox::indicator:checked:hover {
image: url(qss/black/checkBox_hoverAndSelected.png);
image: url(:qss/black/checkBox_hoverAndSelected.png);
}
QMenu {
@ -225,8 +225,8 @@ QTreeWidget::item:selected { /* when user selects item using mouse or keyboard *
}
QFrame#messengerframetop{
border-image: url(qss/black/backgroundblack.png);
border-image: url(:qss/black/backgroundblack.png);
}

View File

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "MessageToaster.h"
#include "ui_MessageToaster.h"
@ -24,30 +24,30 @@
#include "QtToaster.h"
#include <QtGui/QtGui>
MessageToaster::MessageToaster()
: QObject(NULL) {
_messageToasterWidget = new QWidget(NULL);
_ui = new Ui::MessageToaster();
_ui->setupUi(_messageToasterWidget);
_ui = new Ui::MessageToaster();
_ui->setupUi(_messageToasterWidget);
connect(_ui->messageButton, SIGNAL(clicked()), SLOT(chatButtonSlot()));
connect(_ui->closeButton, SIGNAL(clicked()), SLOT(close()));
_toaster = new QtToaster(_messageToasterWidget, _ui->windowFrame);
_toaster->setTimeOnTop(5000);
}
_toaster->setTimeOnTop(5000);
}
MessageToaster::~MessageToaster() {
delete _ui;
}
void MessageToaster::setMessage(const QString & message) {
_ui->messageButton->setText(message);
}
void MessageToaster::setMessage(const QString & message) {
_ui->messagelabel2->setText(message);
}
void MessageToaster::setPixmap(const QPixmap & pixmap) {
_ui->pixmaplabel->setPixmap(pixmap);
@ -56,12 +56,12 @@ void MessageToaster::setPixmap(const QPixmap & pixmap) {
void MessageToaster::show() {
_toaster->show();
}
void MessageToaster::close() {
_toaster->close();
}
void MessageToaster::chatButtonSlot() {
chatButtonClicked();
close();
}
void MessageToaster::close() {
_toaster->close();
}
void MessageToaster::chatButtonSlot() {
chatButtonClicked();
close();
}

View File

@ -10,10 +10,22 @@
</rect>
</property>
<layout class="QGridLayout" >
<property name="margin" >
<property name="leftMargin" >
<number>0</number>
</property>
<property name="spacing" >
<property name="topMargin" >
<number>0</number>
</property>
<property name="rightMargin" >
<number>0</number>
</property>
<property name="bottomMargin" >
<number>0</number>
</property>
<property name="horizontalSpacing" >
<number>0</number>
</property>
<property name="verticalSpacing" >
<number>0</number>
</property>
<item row="0" column="0" >
@ -25,87 +37,42 @@
<enum>QFrame::Raised</enum>
</property>
<layout class="QGridLayout" >
<property name="margin" >
<property name="leftMargin" >
<number>0</number>
</property>
<property name="spacing" >
<property name="topMargin" >
<number>0</number>
</property>
<property name="rightMargin" >
<number>0</number>
</property>
<property name="bottomMargin" >
<number>0</number>
</property>
<property name="horizontalSpacing" >
<number>0</number>
</property>
<property name="verticalSpacing" >
<number>0</number>
</property>
<item row="2" column="0" >
<spacer>
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" >
<size>
<width>398</width>
<height>201</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="0" >
<layout class="QGridLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item row="0" column="2" >
<widget class="QPushButton" name="messageButton" >
<property name="text" >
<string>message</string>
</property>
<property name="icon" >
<iconset resource="../images.qrc" >:/images/folder-inbox.png</iconset>
</property>
</widget>
</item>
<item row="0" column="0" >
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" >
<size>
<width>124</width>
<height>56</height>
</size>
</property>
</spacer>
</item>
<item row="0" column="1" >
<widget class="QLabel" name="pixmaplabel" >
<property name="text" >
<string/>
</property>
<property name="pixmap" >
<pixmap/>
</property>
</widget>
</item>
<item row="0" column="3" >
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" >
<size>
<width>124</width>
<height>56</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item row="0" column="0" >
<layout class="QGridLayout" >
<property name="margin" >
<property name="leftMargin" >
<number>0</number>
</property>
<property name="spacing" >
<property name="topMargin" >
<number>0</number>
</property>
<property name="rightMargin" >
<number>0</number>
</property>
<property name="bottomMargin" >
<number>0</number>
</property>
<property name="horizontalSpacing" >
<number>0</number>
</property>
<property name="verticalSpacing" >
<number>0</number>
</property>
<item row="0" column="2" >
@ -149,8 +116,123 @@
</property>
</spacer>
</item>
<item row="0" column="0" >
<widget class="QLabel" name="pixmaplabel" >
<property name="text" >
<string/>
</property>
</widget>
</item>
</layout>
</item>
<item row="1" column="0" >
<layout class="QGridLayout" >
<property name="leftMargin" >
<number>0</number>
</property>
<property name="topMargin" >
<number>0</number>
</property>
<property name="rightMargin" >
<number>0</number>
</property>
<property name="bottomMargin" >
<number>0</number>
</property>
<property name="horizontalSpacing" >
<number>6</number>
</property>
<property name="verticalSpacing" >
<number>6</number>
</property>
<item row="0" column="0" >
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" >
<size>
<width>119</width>
<height>56</height>
</size>
</property>
</spacer>
</item>
<item row="0" column="1" >
<widget class="QPushButton" name="messageButton" >
<property name="text" >
<string>New Message</string>
</property>
<property name="icon" >
<iconset resource="../images.qrc" >:/images/folder-inbox.png</iconset>
</property>
</widget>
</item>
<item row="0" column="2" >
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" >
<size>
<width>119</width>
<height>56</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item row="2" column="0" >
<layout class="QGridLayout" >
<item row="0" column="0" >
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" >
<size>
<width>111</width>
<height>21</height>
</size>
</property>
</spacer>
</item>
<item row="0" column="1" >
<widget class="QLabel" name="messagelabel2" >
<property name="text" >
<string/>
</property>
</widget>
</item>
<item row="0" column="2" >
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" >
<size>
<width>111</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item row="3" column="0" >
<spacer>
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" >
<size>
<width>366</width>
<height>91</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>

View File

@ -238,4 +238,36 @@ QFrame#Chatbuttonframe{
border-image: url(qss/black/backgroundblack.png);
}
}
QLabel#subjectText{
font: bold 12px;
}
QLabel#subjectlabel{
font: bold 12px;
}
QLabel#fromlabel{
font: bold 12px;
}
QLabel#datelabel{
font: bold 12px;
}
QLabel#tolabel{
font: bold 12px;
}
QLabel#fromText{
font: bold ;
color: blue;
}

View File

@ -71,4 +71,35 @@ QFrame#Chatbuttonframe{
border-image: url(qss/blue/blue.png);
}
}
QLabel#subjectText{
font: bold 12px;
}
QLabel#subjectlabel{
font: bold 12px;
}
QLabel#fromlabel{
font: bold 12px;
}
QLabel#datelabel{
font: bold 12px;
}
QLabel#tolabel{
font: bold 12px;
}
QLabel#fromText{
font: bold ;
color: blue;
}

View File

@ -20,4 +20,35 @@ QFrame#Chatbuttonframe{
border-image: url(qss/default/rsdefault.png);
}
}
QLabel#subjectText{
font: bold 12px;
}
QLabel#subjectlabel{
font: bold 12px;
}
QLabel#fromlabel{
font: bold 12px;
}
QLabel#datelabel{
font: bold 12px;
}
QLabel#tolabel{
font: bold 12px;
}
QLabel#fromText{
font: bold ;
color: blue;
}

View File

@ -125,4 +125,35 @@ QFrame#messengerframetop{
border-image: url(qss/ed2k/backed2k.png);
}
}
QLabel#subjectText{
font: bold 12px;
}
QLabel#subjectlabel{
font: bold 12px;
}
QLabel#fromlabel{
font: bold 12px;
}
QLabel#datelabel{
font: bold 12px;
}
QLabel#tolabel{
font: bold 12px;
}
QLabel#fromText{
font: bold ;
color: blue;
}

View File

@ -31,3 +31,34 @@ QPushButton#cancelButton {
max-width: 77px;
}
QLabel#subjectText{
font: bold 12px;
}
QLabel#subjectlabel{
font: bold 12px;
}
QLabel#fromlabel{
font: bold 12px;
}
QLabel#datelabel{
font: bold 12px;
}
QLabel#tolabel{
font: bold 12px;
}
QLabel#fromText{
font: bold ;
color: blue;
}

View File

@ -127,4 +127,35 @@ QFrame#Chatbuttonframe{
border-image: url(qss/orangesurfer/main.png);
}
}
QLabel#subjectText{
font: bold 12px;
}
QLabel#subjectlabel{
font: bold 12px;
}
QLabel#fromlabel{
font: bold 12px;
}
QLabel#datelabel{
font: bold 12px;
}
QLabel#tolabel{
font: bold 12px;
}
QLabel#fromText{
font: bold ;
color: blue;
}

View File

@ -127,4 +127,35 @@ QFrame#messengerframetop{
border-image: url(qss/over/backover.png);
}
}
QLabel#subjectText{
font: bold 12px;
}
QLabel#subjectlabel{
font: bold 12px;
}
QLabel#fromlabel{
font: bold 12px;
}
QLabel#datelabel{
font: bold 12px;
}
QLabel#tolabel{
font: bold 12px;
}
QLabel#fromText{
font: bold ;
color: blue;
}

View File

@ -48,4 +48,35 @@ QFrame#Chatbuttonframe{
border-image: url(qss/qlive/qb.png);
}
}
QLabel#subjectText{
font: bold 12px;
}
QLabel#subjectlabel{
font: bold 12px;
}
QLabel#fromlabel{
font: bold 12px;
}
QLabel#datelabel{
font: bold 12px;
}
QLabel#tolabel{
font: bold 12px;
}
QLabel#fromText{
font: bold ;
color: blue;
}

View File

@ -149,4 +149,35 @@ QFrame#Chatbuttonframe{
border-image: url(qss/redscorpion/red.png);
}
}
QLabel#subjectText{
font: bold 12px;
}
QLabel#subjectlabel{
font: bold 12px;
}
QLabel#fromlabel{
font: bold 12px;
}
QLabel#datelabel{
font: bold 12px;
}
QLabel#tolabel{
font: bold 12px;
}
QLabel#fromText{
font: bold ;
color: blue;
}

View File

@ -69,3 +69,34 @@ QFrame#Chatbuttonframe{
border-image: url(qss/silver/silver.png);
}
QLabel#subjectText{
font: bold 12px;
}
QLabel#subjectlabel{
font: bold 12px;
}
QLabel#fromlabel{
font: bold 12px;
}
QLabel#datelabel{
font: bold 12px;
}
QLabel#tolabel{
font: bold 12px;
}
QLabel#fromText{
font: bold ;
color: blue;
}

View File

@ -108,4 +108,35 @@ QFrame#Chatbuttonframe{
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,
stop:0 #6F6F6F, stop:1 #979797);
}
}
QLabel#subjectText{
font: bold 12px;
}
QLabel#subjectlabel{
font: bold 12px;
}
QLabel#fromlabel{
font: bold 12px;
}
QLabel#datelabel{
font: bold 12px;
}
QLabel#tolabel{
font: bold 12px;
}
QLabel#fromText{
font: bold ;
color: blue;
}

View File

@ -39,4 +39,35 @@ QFrame#Chatbuttonframe{
border-image: url(qss/skin2/background.png);
}
}
QLabel#subjectText{
font: bold 12px;
}
QLabel#subjectlabel{
font: bold 12px;
}
QLabel#fromlabel{
font: bold 12px;
}
QLabel#datelabel{
font: bold 12px;
}
QLabel#tolabel{
font: bold 12px;
}
QLabel#fromText{
font: bold ;
color: blue;
}

View File

@ -167,4 +167,35 @@ QFrame#Chatbuttonframe{
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #BDDF7D, stop: 1 #49881F);
}
}
QLabel#subjectText{
font: bold 12px;
}
QLabel#subjectlabel{
font: bold 12px;
}
QLabel#fromlabel{
font: bold 12px;
}
QLabel#datelabel{
font: bold 12px;
}
QLabel#tolabel{
font: bold 12px;
}
QLabel#fromText{
font: bold ;
color: blue;
}

View File

@ -43,4 +43,35 @@ QFrame#Chatbuttonframe{
border-image: url(qss/wx/wx.png);
}
}
QLabel#subjectText{
font: bold 12px;
}
QLabel#subjectlabel{
font: bold 12px;
}
QLabel#fromlabel{
font: bold 12px;
}
QLabel#datelabel{
font: bold 12px;
}
QLabel#tolabel{
font: bold 12px;
}
QLabel#fromText{
font: bold ;
color: blue;
}

View File

@ -111,4 +111,35 @@ QFrame#Chatbuttonframe{
border-image: url(qss/yaba/yaba.png);
}
}
QLabel#subjectText{
font: bold 12px;
}
QLabel#subjectlabel{
font: bold 12px;
}
QLabel#fromlabel{
font: bold 12px;
}
QLabel#datelabel{
font: bold 12px;
}
QLabel#tolabel{
font: bold 12px;
}
QLabel#fromText{
font: bold ;
color: blue;
}

View File

@ -110,4 +110,34 @@ QFrame#Chatbuttonframe{
border-image: url(qss/yeah/yeah.png);
}
}
QLabel#subjectText{
font: bold 12px;
}
QLabel#subjectlabel{
font: bold 12px;
}
QLabel#fromlabel{
font: bold 12px;
}
QLabel#datelabel{
font: bold 12px;
}
QLabel#tolabel{
font: bold 12px;
}
QLabel#fromText{
font: bold ;
color: blue;
}

View File

@ -8,7 +8,7 @@
/* Customize the toolbar. */
QToolBar {
border-image: url(qss/orangesurfer/main.png);
border-image: url(:qss/orangesurfer/main.png);
}

View File

@ -1,11 +1,12 @@
.QWidget{
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #77AEF1, stop: 0.4 #86BBF7);
}
/* Customize the toolbar. */
QToolBar {
border-image: url(qss/qlive/qb.png);
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #77AEF1, stop: 0.4 #86BBF7);
}
QMenu {

View File

@ -187,7 +187,7 @@ static time_t lastTs = 0;
{
/* id the name */
std::string name = rsPeers->getPeerName(id);
std::string realmsg = msg + name;
std::string realmsg = msg + "<strong>" + name + "</strong>";
switch(type)
{
case RS_POPUP_MSG: