Vidalia
0.3.1
src
vidalia
plugin
DebugDialog.h
Go to the documentation of this file.
1
/*
2
** This file is part of Vidalia, and is subject to the license terms in the
3
** LICENSE file, found in the top level directory of this distribution. If you
4
** did not receive the LICENSE file with this file, you may obtain it from the
5
** Vidalia source package distributed by the Vidalia Project at
6
** http://www.torproject.org/projects/vidalia.html. No part of Vidalia,
7
** including this file, may be copied, modified, propagated, or distributed
8
** except according to the terms described in the LICENSE file.
9
*/
10
11
/*
12
** \file DebugDialog.h
13
** \brief Simple dialog to see exceptions, syntaxis problems, and general
14
** output for pluging
15
*/
16
17
#ifndef DEBUGDIALOG_H
18
#define DEBUGDIALOG_H
19
20
#include <QtGui>
21
22
#include "ui_DebugDialog.h"
23
24
class
DebugDialog
:
public
QDialog
25
{
26
Q_OBJECT
27
28
public
:
29
DebugDialog
(QWidget *parent = 0);
30
~DebugDialog
();
31
32
void
fillText
(QTextEdit *tedit, QStringList buffer);
33
34
static
void
outputDebug
(
const
QString &msg);
35
static
void
syntaxDebug
(
const
QString &msg);
36
static
void
exceptDebug
(
const
QString &msg);
37
38
static
void
clear
();
39
40
private
:
41
static
QStringList
outputBuffer
;
42
static
QStringList
syntaxBuffer
;
43
static
QStringList
exceptBuffer
;
44
45
Ui::DebugDialog
ui
;
46
};
47
48
#endif
49
DebugDialog::outputBuffer
static QStringList outputBuffer
Definition:
DebugDialog.h:41
DebugDialog
Definition:
DebugDialog.h:24
DebugDialog::ui
Ui::DebugDialog ui
Definition:
DebugDialog.h:45
DebugDialog::syntaxDebug
static void syntaxDebug(const QString &msg)
Definition:
DebugDialog.cpp:52
DebugDialog::exceptDebug
static void exceptDebug(const QString &msg)
Definition:
DebugDialog.cpp:58
DebugDialog::clear
static void clear()
Definition:
DebugDialog.cpp:64
DebugDialog::DebugDialog
DebugDialog(QWidget *parent=0)
Definition:
DebugDialog.cpp:23
DebugDialog::syntaxBuffer
static QStringList syntaxBuffer
Definition:
DebugDialog.h:42
DebugDialog::fillText
void fillText(QTextEdit *tedit, QStringList buffer)
Definition:
DebugDialog.cpp:36
DebugDialog::exceptBuffer
static QStringList exceptBuffer
Definition:
DebugDialog.h:43
DebugDialog::~DebugDialog
~DebugDialog()
Definition:
DebugDialog.cpp:33
DebugDialog::outputDebug
static void outputDebug(const QString &msg)
Definition:
DebugDialog.cpp:46
Generated by
1.8.17