blob: a20f054cfe51154ef8830f2561d674d656a3a4cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
/** \file debugDialog.cpp
\brief Define the dialog to have debug information
\author alpha_one_x86 */
#include "DebugDialog.h"
#include "ui_debugDialog.h"
#ifdef ULTRACOPIER_PLUGIN_DEBUG_WINDOW
DebugDialog::DebugDialog(QWidget *parent) :
QWidget(parent),
ui(new Ui::debugDialog)
{
ui->setupUi(this);
}
DebugDialog::~DebugDialog()
{
delete ui;
}
void DebugDialog::setTransferList(const QStringList &list)
{
ui->tranferList->clear();
ui->tranferList->addItems(list);
}
void DebugDialog::setActiveTransfer(const int &activeTransfer)
{
ui->spinBoxActiveTransfer->setValue(activeTransfer);
}
void DebugDialog::setInodeUsage(const int &inodeUsage)
{
ui->spinBoxNumberOfInode->setValue(inodeUsage);
}
void DebugDialog::setTransferThreadList(const QStringList &list)
{
ui->transferThreadList->clear();
ui->transferThreadList->addItems(list);
}
#endif
|