summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-11-28 20:29:13 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-11-28 20:29:13 (GMT)
commited9a0f344ba78525254cacfb0f446a666b385a40 (patch)
tree9263463d2c76835ff68b136ff4080490f78f7e66 /Swift/QtUI/QtXMLConsoleWidget.h
parent5c2567847c73f6095206dfbd451fe2f26f4056aa (diff)
downloadswift-ed9a0f344ba78525254cacfb0f446a666b385a40.zip
swift-ed9a0f344ba78525254cacfb0f446a666b385a40.tar.bz2
Add checkbox for tracing input/output in debug console.
Diffstat (limited to 'Swift/QtUI/QtXMLConsoleWidget.h')
-rw-r--r--Swift/QtUI/QtXMLConsoleWidget.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Swift/QtUI/QtXMLConsoleWidget.h b/Swift/QtUI/QtXMLConsoleWidget.h
index 0d5a10d..0a10762 100644
--- a/Swift/QtUI/QtXMLConsoleWidget.h
+++ b/Swift/QtUI/QtXMLConsoleWidget.h
@@ -4,6 +4,7 @@
#include "QtTabbable.h"
class QTextEdit;
+class QCheckBox;
namespace Swift {
class QtXMLConsoleWidget : public QtTabbable, public XMLConsoleWidget {
@@ -22,9 +23,10 @@ namespace Swift {
virtual void closeEvent(QCloseEvent* event);
virtual void showEvent(QShowEvent* event);
- void appendText(const String& data);
+ void appendTextIfEnabled(const String& data);
private:
QTextEdit* textEdit;
+ QCheckBox* enabled;
};
}