Added new Gui Design changes from Pheonom, Added new ListWidget for Page selection, via settings can switch to use List or Toolbar AddFrameListeInsteadOfToolBar_v0.6_7357.patch

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7360 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2014-05-10 02:38:47 +00:00
parent 31962ea0c5
commit bcff888eb7
27 changed files with 1174 additions and 493 deletions

View file

@ -5,6 +5,8 @@
#include "ui_ChatLobbyWidget.h"
#include "RsAutoUpdatePage.h"
#define IMAGE_CHATLOBBY ":/images/chat_32.png"
class RSTreeWidgetItemCompareRole;
class ChatTabWidget ;
class ChatLobbyDialog ;
@ -17,7 +19,7 @@ struct ChatLobbyInfoStruct
time_t last_typing_event ;
};
class ChatLobbyWidget : public RsAutoUpdatePage, Ui::ChatLobbyWidget
class ChatLobbyWidget : public RsAutoUpdatePage
{
Q_OBJECT
@ -28,6 +30,10 @@ public:
/** Default destructor */
~ChatLobbyWidget();
virtual QIcon iconPixmap() const { return QIcon(IMAGE_CHATLOBBY) ; } //MainPage
virtual QString pageName() const { return tr("Chat Lobbies") ; } //MainPage
virtual QString helpText() const { return ""; } //MainPage
virtual void updateDisplay();
void setCurrentChatPage(ChatLobbyDialog *) ; // used by ChatLobbyDialog to raise.
@ -85,8 +91,11 @@ private:
/** Defines the actions for the header context menu */
QAction* showUserCountAct;
QAction* showTopicAct;
QAction* showSubscribeAct;
int getNumColVisible();
QAction* showTopicAct;
QAction* showSubscribeAct;
int getNumColVisible();
/* UI - from Designer */
Ui::ChatLobbyWidget ui;
};