From 918c589c657be0c0885610d2eaafcd21a3ab1ba9 Mon Sep 17 00:00:00 2001
From: Přemysl Eric Janouch
Date: Tue, 3 Dec 2024 15:25:21 +0100
Subject: Add a Qt Widgets frontend to xC
This is very much a work in progress, though functional.
Qt Widgets are basically non-working on Android,
though Qt Quick requires a radically different approach.
---
xT/xT.cpp | 1723 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 1723 insertions(+)
create mode 100644 xT/xT.cpp
(limited to 'xT/xT.cpp')
diff --git a/xT/xT.cpp b/xT/xT.cpp
new file mode 100644
index 0000000..0f6de57
--- /dev/null
+++ b/xT/xT.cpp
@@ -0,0 +1,1723 @@
+/*
+ * xT.cpp: Qt frontend for xC
+ *
+ * Copyright (c) 2024, Přemysl Eric Janouch
+ *
+ * Permission to use, copy, modify, and/or distribute this software for any
+ * purpose with or without fee is hereby granted.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
+ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
+ * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ *
+ */
+
+#include "xC-proto.cpp"
+#include "config.h"
+
+#include
+#include
+#include