added TabWidget to Messages

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3058 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2010-06-03 23:41:46 +00:00
parent 08ea7232f7
commit dd7e074791
2 changed files with 676 additions and 643 deletions

View File

@ -1274,18 +1274,28 @@ void MessagesDialog::insertMessages()
switch (listrow) {
case ROW_INBOX:
msgbox = RS_MSG_INBOX;
ui.tabWidget->setTabIcon ( 0, QIcon(":/images/folder-inbox.png") );
ui.tabWidget->setTabText ( 0, tr ("Inbox") );
break;
case ROW_OUTBOX:
msgbox = RS_MSG_OUTBOX;
ui.tabWidget->setTabIcon ( 0, QIcon(":/images/folder-outbox.png") );
ui.tabWidget->setTabText ( 0, tr ("Outbox") );
break;
case ROW_DRAFTBOX:
msgbox = RS_MSG_DRAFTBOX;
ui.tabWidget->setTabIcon ( 0, QIcon(":/images/folder-draft.png") );
ui.tabWidget->setTabText ( 0, tr ("Drafts") );
break;
case ROW_SENTBOX:
msgbox = RS_MSG_SENTBOX;
ui.tabWidget->setTabIcon ( 0, QIcon(":/images/folder-sent.png") );
ui.tabWidget->setTabText ( 0, tr ("Sent") );
break;
case ROW_TRASHBOX:
bTrash = true;
ui.tabWidget->setTabIcon ( 0, QIcon(":/images/folder-trash.png") );
ui.tabWidget->setTabText ( 0, tr ("Trash") );
break;
default:
bFill = false;

File diff suppressed because it is too large Load Diff