mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-19 20:04:24 -04:00
added web interface to tray menu
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8181 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
bb2f131464
commit
7ba6b24122
4 changed files with 22 additions and 0 deletions
|
@ -108,6 +108,7 @@
|
|||
#include "gui/common/RsCollectionFile.h"
|
||||
#include "settings/rsettingswin.h"
|
||||
#include "settings/rsharesettings.h"
|
||||
#include "settings/WebuiPage.h"
|
||||
#include "common/StatusDefs.h"
|
||||
#include "gui/notifyqt.h"
|
||||
|
||||
|
@ -605,6 +606,7 @@ void MainWindow::createTrayIcon()
|
|||
trayMenu->addSeparator();
|
||||
//trayMenu->addAction(QIcon(IMAGE_RSM16), tr("Open Messenger"), this, SLOT(showMessengerWindow()));
|
||||
trayMenu->addAction(QIcon(IMAGE_MESSAGES), tr("Open Messages"), this, SLOT(showMess()));
|
||||
trayMenu->addAction(QIcon(":/images/emblem-web.png"), tr("Show web interface"), this, SLOT(showWebinterface()));
|
||||
trayMenu->addAction(QIcon(IMAGE_BWGRAPH), tr("Bandwidth Graph"), _bandwidthGraph, SLOT(showWindow()));
|
||||
trayMenu->addAction(QIcon(IMAGE_DHT), tr("Statistics"), this, SLOT(showStatisticsWindow()));
|
||||
|
||||
|
@ -1093,7 +1095,11 @@ void MainWindow::showMessengerWindow()
|
|||
void MainWindow::showStatisticsWindow()
|
||||
{
|
||||
StatisticsWindow::showYourself();
|
||||
}
|
||||
|
||||
void MainWindow::showWebinterface()
|
||||
{
|
||||
WebuiPage::showWebui();
|
||||
}
|
||||
|
||||
/** Shows Application window */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue