mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-12 19:12:28 -04:00
* 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:
parent
99b55fbe65
commit
3a8541291a
7 changed files with 758 additions and 410 deletions
|
@ -165,7 +165,7 @@ QSize BWListDelegate::sizeHint(const QStyleOptionViewItem & /*option*/, const QM
|
|||
|
||||
/**************************************************************************************************/
|
||||
/********************************************** STATIC WINDOW *************************************/
|
||||
BwCtrlWindow * BwCtrlWindow::mInstance = NULL;
|
||||
/*BwCtrlWindow * BwCtrlWindow::mInstance = NULL;
|
||||
|
||||
void BwCtrlWindow::showYourself()
|
||||
{
|
||||
|
@ -187,14 +187,14 @@ void BwCtrlWindow::releaseInstance()
|
|||
if (mInstance) {
|
||||
delete mInstance;
|
||||
}
|
||||
}
|
||||
}*/
|
||||
|
||||
/********************************************** STATIC WINDOW *************************************/
|
||||
|
||||
|
||||
|
||||
BwCtrlWindow::BwCtrlWindow(QWidget *parent) :
|
||||
QMainWindow(parent),
|
||||
QWidget(parent),
|
||||
ui(new Ui::BwCtrlWindow)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
|
@ -204,6 +204,8 @@ BwCtrlWindow::BwCtrlWindow(QWidget *parent) :
|
|||
BWDelegate = new BWListDelegate();
|
||||
ui->bwTreeWidget->setItemDelegate(BWDelegate);
|
||||
|
||||
//ui->tabWidget->addTab(dhtdetails = new DhtWindow(),QIcon(), tr("DHT"));
|
||||
|
||||
|
||||
// tick for gui update.
|
||||
QTimer *timer = new QTimer(this);
|
||||
|
@ -213,10 +215,11 @@ BwCtrlWindow::BwCtrlWindow(QWidget *parent) :
|
|||
|
||||
BwCtrlWindow::~BwCtrlWindow()
|
||||
{
|
||||
delete ui;
|
||||
mInstance = NULL;
|
||||
//delete ui;
|
||||
//mInstance = NULL;
|
||||
}
|
||||
|
||||
/*
|
||||
void BwCtrlWindow::changeEvent(QEvent *e)
|
||||
{
|
||||
QMainWindow::changeEvent(e);
|
||||
|
@ -227,7 +230,7 @@ void BwCtrlWindow::changeEvent(QEvent *e)
|
|||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}*/
|
||||
|
||||
void BwCtrlWindow::update()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue