Significant changes to the GUI to introduce new display style.

* Completed much of General Msg Dialog.
 * Completed much of ChannelFeed.
 * Added Channel Messages to News Feed.
 * Connected Blog/Channels to GeneralMsgDialog.
 * Improved SubFileItem display.
 * Completed ChanGroup/Menu/MsgItems.
 * Added SubDestItem for use in GeneralMsgDialog.
 * Generalise CreateForum to cover Channels as well.
 * Restricted CreateForum to public forums/private channels.
 * Demo of Drag-N-Drop Files for Linux (filesystem->GenMsgDialog)
 * Updates to rsiface stuff (blog/channels/types)



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@621 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
drbob 2008-06-24 04:36:45 +00:00
parent b9ccbd54e8
commit c6a595c7db
26 changed files with 1489 additions and 206 deletions

View file

@ -20,6 +20,7 @@
****************************************************************/
#include <QtGui>
#include "rsiface/rschannels.h"
#include "ChanMenuItem.h"
#include <iostream>
@ -50,8 +51,18 @@ void ChanMenuItem::updateItemStatic()
std::cerr << std::endl;
#endif
titleLabel->setText(QString::fromStdString(mChanId));
descLabel->setText("Brand new exciting Ever asvljh ljdsafl kjdsahfl kjsahf; kjsahdf; kljashfdl;kjhasfkl; asvljh ljdsafl kjdsahfl kjsahf; kjsahdf; kljashfdl;kjhasfkl; asvljh ljdsafl kjdsahfl kjsahf; kjsahdf; kljashfdl;kjhasfkl; asvljh ljdsafl kjdsahfl kjsahf; kjsahdf; kljashfdl;kjhasfkl; asvljh ljdsafl kjdsahfl kjsahf; kjsahdf; kljashfdl;kjhasfkl; asvljh ljdsafl kjdsahfl kjsahf; kjsahdf; kljashfdl;kjhasfkl; asvljh ljdsafl kjdsahfl kjsahf; kjsahdf; kljashfdl;kjhasfkl; asvljh ljdsafl kjdsahfl kjsahf; kjsahdf; kljashfdl;kjhasfkl; ");
/* extract details from channels */
ChannelInfo ci;
if ((rsChannels) && (rsChannels->getChannelInfo(mChanId, ci)))
{
titleLabel->setText(QString::fromStdWString(ci.channelName));
descLabel->setText(QString::fromStdWString(ci.channelDesc));
}
else
{
titleLabel->setText("Unknown Channel");
descLabel->setText("No Description");
}
}
@ -84,4 +95,9 @@ void ChanMenuItem::toggle()
/*********** SPECIFIC FUNCTIOSN ***********************/
void ChanMenuItem::mousePressEvent ( QMouseEvent * event )
{
selectMe( mChanId );
}