mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Fixed to display latest events at the Top of the Widget.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3365 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
328bb4aacf
commit
6c04a4a147
@ -160,7 +160,7 @@ void NewsFeed::addFeedItemPeerConnect(RsFeedItem &fi)
|
||||
/* store */
|
||||
|
||||
/* add to layout */
|
||||
verticalLayout->addWidget(pi);
|
||||
verticalLayout->insertWidget(0, pi);
|
||||
|
||||
#ifdef NEWS_DEBUG
|
||||
std::cerr << "NewsFeed::addFeedItemPeerConnect()";
|
||||
@ -178,7 +178,7 @@ void NewsFeed::addFeedItemPeerDisconnect(RsFeedItem &fi)
|
||||
/* store */
|
||||
|
||||
/* add to layout */
|
||||
verticalLayout->addWidget(pi);
|
||||
verticalLayout->insertWidget(0, pi);
|
||||
|
||||
|
||||
|
||||
@ -197,7 +197,7 @@ void NewsFeed::addFeedItemPeerHello(RsFeedItem &fi)
|
||||
/* store */
|
||||
|
||||
/* add to layout */
|
||||
verticalLayout->addWidget(pi);
|
||||
verticalLayout->insertWidget(0, pi);
|
||||
|
||||
|
||||
#ifdef NEWS_DEBUG
|
||||
@ -215,7 +215,7 @@ void NewsFeed::addFeedItemPeerNew(RsFeedItem &fi)
|
||||
/* store */
|
||||
|
||||
/* add to layout */
|
||||
verticalLayout->addWidget(pi);
|
||||
verticalLayout->insertWidget(0, pi);
|
||||
|
||||
#ifdef NEWS_DEBUG
|
||||
std::cerr << "NewsFeed::addFeedItemPeerNew()";
|
||||
@ -232,7 +232,7 @@ void NewsFeed::addFeedItemChanNew(RsFeedItem &fi)
|
||||
/* store in list */
|
||||
|
||||
/* add to layout */
|
||||
verticalLayout->addWidget(cni);
|
||||
verticalLayout->insertWidget(0, cni);
|
||||
|
||||
#ifdef NEWS_DEBUG
|
||||
std::cerr << "NewsFeed::addFeedItemChanNew()";
|
||||
@ -249,7 +249,7 @@ void NewsFeed::addFeedItemChanUpdate(RsFeedItem &fi)
|
||||
/* store in list */
|
||||
|
||||
/* add to layout */
|
||||
verticalLayout->addWidget(cni);
|
||||
verticalLayout->insertWidget(0, cni);
|
||||
|
||||
#ifdef NEWS_DEBUG
|
||||
std::cerr << "NewsFeed::addFeedItemChanUpdate()";
|
||||
@ -266,7 +266,7 @@ void NewsFeed::addFeedItemChanMsg(RsFeedItem &fi)
|
||||
/* store in forum list */
|
||||
|
||||
/* add to layout */
|
||||
verticalLayout->addWidget(cm);
|
||||
verticalLayout->insertWidget(0, cm);
|
||||
|
||||
#ifdef NEWS_DEBUG
|
||||
std::cerr << "NewsFeed::addFeedItemChanMsg()";
|
||||
@ -284,7 +284,7 @@ void NewsFeed::addFeedItemForumNew(RsFeedItem &fi)
|
||||
mForumNewItems.push_back(fni);
|
||||
|
||||
/* add to layout */
|
||||
verticalLayout->addWidget(fni);
|
||||
verticalLayout->insertWidget(0, fni);
|
||||
|
||||
|
||||
#ifdef NEWS_DEBUG
|
||||
@ -303,7 +303,7 @@ void NewsFeed::addFeedItemForumUpdate(RsFeedItem &fi)
|
||||
mForumNewItems.push_back(fni);
|
||||
|
||||
/* add to layout */
|
||||
verticalLayout->addWidget(fni);
|
||||
verticalLayout->insertWidget(0, fni);
|
||||
|
||||
#ifdef NEWS_DEBUG
|
||||
std::cerr << "NewsFeed::addFeedItemForumUpdate()";
|
||||
@ -320,7 +320,7 @@ void NewsFeed::addFeedItemForumMsg(RsFeedItem &fi)
|
||||
/* store in forum list */
|
||||
|
||||
/* add to layout */
|
||||
verticalLayout->addWidget(fm);
|
||||
verticalLayout->insertWidget(0, fm);
|
||||
|
||||
#ifdef NEWS_DEBUG
|
||||
std::cerr << "NewsFeed::addFeedItemForumMsg()";
|
||||
@ -337,7 +337,7 @@ void NewsFeed::addFeedItemBlogNew(RsFeedItem &fi)
|
||||
/* store in list */
|
||||
|
||||
/* add to layout */
|
||||
verticalLayout->addWidget(bni);
|
||||
verticalLayout->insertWidget(0, bni);
|
||||
#endif
|
||||
|
||||
#ifdef NEWS_DEBUG
|
||||
@ -355,7 +355,7 @@ void NewsFeed::addFeedItemBlogMsg(RsFeedItem &fi)
|
||||
/* store in forum list */
|
||||
|
||||
/* add to layout */
|
||||
verticalLayout->addWidget(bm);
|
||||
verticalLayout->insertWidget(0, bm);
|
||||
#endif
|
||||
|
||||
#ifdef NEWS_DEBUG
|
||||
@ -382,7 +382,7 @@ void NewsFeed::addFeedItemMessage(RsFeedItem &fi)
|
||||
/* store in list */
|
||||
|
||||
/* add to layout */
|
||||
verticalLayout->addWidget(mi);
|
||||
verticalLayout->insertWidget(0, mi);
|
||||
|
||||
#ifdef NEWS_DEBUG
|
||||
std::cerr << "NewsFeed::addFeedItemMessage()";
|
||||
|
@ -23,7 +23,7 @@
|
||||
<item row="0" column="0">
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
<property name="leftMargin">
|
||||
<number>0</number>
|
||||
<number>6</number>
|
||||
</property>
|
||||
<property name="topMargin">
|
||||
<number>6</number>
|
||||
@ -67,7 +67,7 @@ p, li { white-space: pre-wrap; }
|
||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||
p, li { white-space: pre-wrap; }
|
||||
</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;">
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:9pt; font-weight:600;">News Feed</span></p></body></html></string>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:9pt; font-weight:600;">Friends Storm</span></p></body></html></string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
Loading…
Reference in New Issue
Block a user