mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
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:
parent
08ea7232f7
commit
dd7e074791
@ -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
Loading…
Reference in New Issue
Block a user