mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-10 10:05:19 -04:00
Changes in ForumsDialog:
- modal window for creating new forum - refill forum and thread tree - enabled next and previous button - set enable/disable state of menu items Open problem: - last post time not updated git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2822 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
401dac86e9
commit
9cf20fd9fd
4 changed files with 491 additions and 261 deletions
|
@ -51,13 +51,8 @@ private slots:
|
|||
void checkUpdate();
|
||||
|
||||
void changedForum( QTreeWidgetItem *curr, QTreeWidgetItem *prev );
|
||||
void changedThread( QTreeWidgetItem *curr, QTreeWidgetItem *prev );
|
||||
void changedThread2();
|
||||
void changedThread();
|
||||
|
||||
void changeBox( int newrow );
|
||||
void updateMessages ( QTreeWidgetItem * item, int column );
|
||||
|
||||
void newmessage();
|
||||
|
||||
void replytomessage();
|
||||
//void print();
|
||||
|
@ -76,18 +71,31 @@ private slots:
|
|||
void unsubscribeToForum();
|
||||
|
||||
void showForumDetails();
|
||||
|
||||
|
||||
void previousMessage ();
|
||||
void nextMessage ();
|
||||
|
||||
private:
|
||||
|
||||
void forumSubscribe(bool subscribe);
|
||||
bool getCurrentMsg(std::string &cid, std::string &mid);
|
||||
void FillForums(QTreeWidgetItem *Forum, QList<QTreeWidgetItem *> &ChildList);
|
||||
void FillThreads(QList<QTreeWidgetItem *> &ThreadList);
|
||||
void FillChildren(QTreeWidgetItem *Parent, QTreeWidgetItem *NewParent);
|
||||
|
||||
QTreeWidgetItem *YourForums;
|
||||
QTreeWidgetItem *SubscribedForums;
|
||||
QTreeWidgetItem *PopularForums;
|
||||
QTreeWidgetItem *OtherForums;
|
||||
|
||||
std::string mCurrForumId;
|
||||
std::string mCurrThreadId;
|
||||
std::string mCurrPostId;
|
||||
|
||||
QFont mForumNameFont;
|
||||
QFont itemFont;
|
||||
QFont m_ForumNameFont;
|
||||
QFont m_ItemFont;
|
||||
int m_LastViewType;
|
||||
std::string m_LastForumID;
|
||||
|
||||
QHash<QString, QString> smileys;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue