RetroShare/retroshare-gui/src/gui/feeds/ChanMenuItem.h
drbob c6a595c7db 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
2008-06-24 04:36:45 +00:00

64 lines
1.5 KiB
C++

/****************************************************************
* RetroShare is distributed under the following license:
*
* Copyright (C) 2008 Robert Fernie
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
****************************************************************/
#ifndef _CHAN_MENU_ITEM_DIALOG_H
#define _CHAN_MENU_ITEM_DIALOG_H
#include "ui_ChanMenuItem.h"
#include <string>
class SubFileItem;
class ChanMenuItem : public QWidget, private Ui::ChanMenuItem
{
Q_OBJECT
public:
/** Default Constructor */
ChanMenuItem(std::string chanId);
/** Default Destructor */
void updateItemStatic();
void small();
signals:
void selectMe( std::string );
private slots:
/* default stuff */
void toggle();
void updateItem();
protected:
virtual void mousePressEvent ( QMouseEvent * event );
private:
std::string mChanId;
};
#endif