set a item foreground color for Inbox when get a new message, set gridsize for listwidget to 18

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2475 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2010-03-03 16:22:32 +00:00
parent 235d468ef4
commit 759ae94033
2 changed files with 4 additions and 2 deletions

View File

@ -1260,6 +1260,7 @@ void MessagesDialog::updateMessageSummaryList()
qf.setBold(true);
item->setFont(qf);
item->setIcon(QIcon(":/images/folder-inbox-new.png"));
item->setForeground(QBrush(QColor(49, 106, 197)));
}
else
{
@ -1270,7 +1271,8 @@ void MessagesDialog::updateMessageSummaryList()
QFont qf = item->font();
qf.setBold(false);
item->setFont(qf);
item->setIcon(QIcon(":/images/folder-inbox.png"));
item->setIcon(QIcon(":/images/folder-inbox.png"));
item->setForeground(QBrush(QColor(0, 0, 0)));
}
if(newOutboxCount != 0)

View File

@ -957,7 +957,7 @@ border-image: url(:/images/closepressed.png)
<property name="gridSize">
<size>
<width>100</width>
<height>16</height>
<height>18</height>
</size>
</property>
<property name="modelColumn">