* beautify DHT details

* Added to display the Bandwidth details,Turtle router, Global router into the DHT Window
* Now the DHT Details, will be a place to view all the details about the DHT, Bandwidth, Turtle & Global router and more.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7497 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2014-08-26 23:03:17 +00:00
parent 99b55fbe65
commit 3a8541291a
7 changed files with 758 additions and 410 deletions

View file

@ -117,16 +117,11 @@
*
****/
#define USE_DHTWINDOW 1
#define USE_BWCTRLWINDOW 1
#ifdef USE_DHTWINDOW
#include "dht/DhtWindow.h"
#endif
#ifdef USE_BWCTRLWINDOW
#include "bwctrl/BwCtrlWindow.h"
#endif
/* Images for toolbar icons */
//#define IMAGE_NETWORK2 ":/images/rs1.png"
@ -621,9 +616,6 @@ void MainWindow::createTrayIcon()
#ifdef USE_DHTWINDOW
trayMenu->addAction(QIcon(IMAGE_DHT), tr("DHT Details"), this, SLOT(showDhtWindow()));
#endif
#ifdef USE_BWCTRLWINDOW
trayMenu->addAction(QIcon(IMAGE_DHT), tr("Bandwidth Details"), this, SLOT(showBwCtrlWindow()));
#endif
#ifdef UNFINISHED
trayMenu->addAction(QIcon(IMAGE_UNFINISHED), tr("Applications"), this, SLOT(showApplWindow()));
@ -1112,16 +1104,6 @@ void MainWindow::showDhtWindow()
#endif
}
/** Shows Bandwitch Control window */
void MainWindow::showBwCtrlWindow()
{
#ifdef USE_BWCTRLWINDOW
BwCtrlWindow::showYourself();
#endif
}
/** Shows Application window */
#ifdef UNFINISHED
void MainWindow::showApplWindow()