added view button

let left toolbar moveable to right side.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1144 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2009-04-29 17:07:28 +00:00
parent 1cc8639305
commit 88fa2715d5
4 changed files with 104 additions and 44 deletions

View file

@ -17,30 +17,30 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
****************************************************************/
#ifndef _CONNECTIONSDIALOG_H
#define _CONNECTIONSDIALOG_H
#include <QFileDialog>
****************************************************************/
#ifndef _CONNECTIONSDIALOG_H
#define _CONNECTIONSDIALOG_H
#include <QFileDialog>
//#include <config/rsharesettings.h>
#include "mainpage.h"
#include "ui_NetworkDialog.h"
#include "mainpage.h"
#include "ui_NetworkDialog.h"
#include "connect/ConnectDialog.h"
class NetworkDialog : public MainPage
{
Q_OBJECT
public:
/** Default Constructor */
NetworkDialog(QWidget *parent = 0);
/** Default Destructor */
class NetworkDialog : public MainPage
{
Q_OBJECT
public:
/** Default Constructor */
NetworkDialog(QWidget *parent = 0);
/** Default Destructor */
void showpeerdetails(std::string id);
@ -48,52 +48,58 @@ public slots:
void insertConnect();
std::string loadneighbour();
/* void loadneighbour(); */
void setLogInfo(QString info, QColor color=QApplication::palette().color(QPalette::WindowText));
void setLogInfo(QString info, QColor color=QApplication::palette().color(QPalette::WindowText));
private slots:
void makeFriend() ;
void denyFriend() ;
void deleteCert() ;
void peerdetails();
/** Create the context popup menu and it's submenus */
void peerdetails();
/** Create the context popup menu and it's submenus */
void connecttreeWidgetCostumPopupMenu( QPoint point );
/** Called when user clicks "Load Cert" to choose location of a Cert file */
void loadcert();
/** Called when user clicks "Load Cert" to choose location of a Cert file */
void loadcert();
void authneighbour();
void addneighbour();
void on_actionClearLog_triggered();
void on_actionClearLog_triggered();
void displayInfoLogMenu(const QPoint& pos);
void on_actionTabsright_activated();
void on_actionTabsnorth_activated();
void on_actionTabssouth_activated();
void on_actionTabswest_activated();
private:
QTreeWidgetItem *getCurrentNeighbour();
/** Define the popup menus for the Context menu */
QMenu* contextMnu;
/** Defines the actions for the context menu */
QAction* peerdetailsAct;
QAction* denyFriendAct;
QAction* deleteCertAct;
QAction* makefriendAct;
/** Define the popup menus for the Context menu */
QMenu* contextMnu;
/** Defines the actions for the context menu */
QAction* peerdetailsAct;
QAction* denyFriendAct;
QAction* deleteCertAct;
QAction* makefriendAct;
QAction* authAct;
QAction* loadcertAct;
QAction* loadcertAct;
/* connection dialog */
ConnectDialog *connectdialog;
QTreeWidget *connecttreeWidget;
class NetworkView *networkview;
/** Qt Designer generated object */
Ui::NetworkDialog ui;
};
#endif
/** Qt Designer generated object */
Ui::NetworkDialog ui;
};
#endif