mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-10 23:30:14 -04:00
Added new Card View for Posted
This commit is contained in:
parent
ec65341105
commit
54d0d8ab8b
17 changed files with 1591 additions and 49 deletions
|
@ -29,6 +29,7 @@
|
|||
class RsPostedGroup;
|
||||
class RsPostedPost;
|
||||
class PostedItem;
|
||||
class PostedCardView;
|
||||
|
||||
namespace Ui {
|
||||
class PostedListWidget;
|
||||
|
@ -79,16 +80,21 @@ private slots:
|
|||
void showNext();
|
||||
void showPrev();
|
||||
|
||||
void setViewMode(int viewMode);
|
||||
|
||||
private:
|
||||
void processSettings(bool load);
|
||||
void updateShowText();
|
||||
|
||||
int viewMode();
|
||||
|
||||
/*!
|
||||
* Only removes it from layout
|
||||
*/
|
||||
void shallowClearPosts();
|
||||
|
||||
void loadPost(const RsPostedPost &post);
|
||||
void loadPostCardView(const RsPostedPost &post);
|
||||
|
||||
void insertPostedDetails(const RsPostedGroup &group);
|
||||
|
||||
|
@ -115,6 +121,9 @@ private:
|
|||
QMap<RsGxsMessageId, PostedItem*> mPosts;
|
||||
QList<PostedItem*> mPostItems;
|
||||
|
||||
QMap<RsGxsMessageId, PostedCardView*> mCVPosts;
|
||||
QList<PostedCardView*> mPostCardView;
|
||||
|
||||
/* UI - from Designer */
|
||||
Ui::PostedListWidget *ui;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue