aboutsummaryrefslogtreecommitdiffstats
path: root/demo/DebugConsole.qml
diff options
context:
space:
mode:
Diffstat (limited to 'demo/DebugConsole.qml')
-rw-r--r--demo/DebugConsole.qml34
1 files changed, 0 insertions, 34 deletions
diff --git a/demo/DebugConsole.qml b/demo/DebugConsole.qml
deleted file mode 100644
index 9a5a9ff..0000000
--- a/demo/DebugConsole.qml
+++ /dev/null
@@ -1,34 +0,0 @@
-pragma ComponentBehavior: Bound
-
-import QtQuick
-import QtQuick.Controls
-
-Rectangle {
- id: debugRoot
-
- function appendLog(msg: string): void {
- let ts = new Date().toLocaleTimeString(Qt.locale(), "HH:mm:ss.zzz");
- debugLog.text += "[" + ts + "] " + msg + "\n";
- debugLog.cursorPosition = debugLog.text.length;
- }
-
- border.color: "#444"
- color: "#1e1e1e"
- radius: 4
-
- ScrollView {
- anchors.fill: parent
- anchors.margins: 4
-
- TextArea {
- id: debugLog
-
- background: null
- color: "#cccccc"
- font.family: "monospace"
- font.pointSize: 9
- readOnly: true
- wrapMode: TextEdit.Wrap
- }
- }
-}