blob: 3d48857687575b6cc57a6d4b7423d2ff744caee5 (
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
|
/** \file debugDialog.h
\brief Define the dialog to have debug information
\author alpha_one_x86
\version 0.3
\date 2010 */
#ifndef DEBUGDAILOG_H
#define DEBUGDAILOG_H
#include "Environment.h"
#ifdef ULTRACOPIER_PLUGIN_DEBUG_WINDOW
#include <QWidget>
namespace Ui {
class debugDialog;
}
/// \brief class to the dialog to have debug information
class debugDialog : public QWidget
{
Q_OBJECT
public:
explicit debugDialog(QWidget *parent = 0);
~debugDialog();
/// \brief to set the transfer list, limited in result to not slow down the application
void setTransferList(const QStringList &list);
/// \brief show the transfer thread, it show be a thread pool in normal time
void setTransferThreadList(const QStringList &list);
/// \brief show how many transfer is active
void setActiveTransfer(int activeTransfer);
/// \brief show many many inode is manipulated
void setInodeUsage(int inodeUsage);
private:
Ui::debugDialog *ui;
};
#endif // ULTRACOPIER_PLUGIN_DEBUG_WINDOW
#endif // DEBUGDAILOG_H
|