Moved some internal stylesheets to the file Standard.qss.

Reworked some elements in the standard gui.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5521 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2012-09-07 17:30:23 +00:00
parent 807fb1f1f3
commit 3d341b3817
46 changed files with 1154 additions and 1561 deletions

View file

@ -111,15 +111,11 @@ void PeerItem::updateItemStatic()
titleLabel->setText(title);
/* set textcolor for peer name */
QString nameStr("<span style=\"font-size:14pt; font-weight:500;color:#990033;\">%1</span>");
RsPeerDetails details;
if (rsPeers->getPeerDetails(mPeerId, details))
{
/* set peer name */
QString peername = QString::fromUtf8(details.name.c_str());
peernameLabel->setText(nameStr.arg(peername));
peerNameLabel->setText(QString::fromUtf8(details.name.c_str()));
QDateTime date = QDateTime::fromTime_t(details.lastConnect);
QString stime = date.toString("dd.MMMM yyyy hh:mm");
@ -166,9 +162,6 @@ void PeerItem::updateItem()
std::cerr << std::endl;
#endif
if(!RsAutoUpdatePage::eventsLocked()) {
/* set textcolor for peer name */
QString nameStr("<span style=\"font-size:14pt; font-weight:500;color:#990033;\">%1</span>");
RsPeerDetails details;
if (!rsPeers->getPeerDetails(mPeerId, details))
{