summaryrefslogtreecommitdiff
path: root/client/debug.h
diff options
context:
space:
mode:
authordeva <deva>2010-08-18 11:00:35 +0000
committerdeva <deva>2010-08-18 11:00:35 +0000
commit1db5fd50a64224a67fe2e2ccc9ef0d3479bb5aed (patch)
treea7dab3759ce06dae3cc16ac3910a586e7148943e /client/debug.h
parentbf621982a4ea570035615495e656d68d8e66f4e7 (diff)
Add 'clear' toolbutton.
Diffstat (limited to 'client/debug.h')
-rw-r--r--client/debug.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/client/debug.h b/client/debug.h
index ebafce5..f10efd8 100644
--- a/client/debug.h
+++ b/client/debug.h
@@ -27,7 +27,7 @@
*/
#ifndef __PRACRO_DEBUG_H__
-#include <QDialog>
+#include <QMainWindow>
#include <QListWidget>
#include <QCloseEvent>
#include <QTimer>
@@ -39,7 +39,7 @@ typedef enum {
_log
} debug_class;
-class DebugWindow : public QDialog {
+class DebugWindow : public QMainWindow {
Q_OBJECT
public:
DebugWindow();
@@ -50,6 +50,9 @@ public:
protected:
void closeEvent(QCloseEvent *event);
+private slots:
+ void clear();
+
private:
QListWidget *lst;
QTimer timer;