aboutsummaryrefslogtreecommitdiffstats
path: root/desktop/modules/deckit/DeckItServicesPage.qml
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/modules/deckit/DeckItServicesPage.qml')
-rw-r--r--desktop/modules/deckit/DeckItServicesPage.qml37
1 files changed, 37 insertions, 0 deletions
diff --git a/desktop/modules/deckit/DeckItServicesPage.qml b/desktop/modules/deckit/DeckItServicesPage.qml
new file mode 100644
index 0000000..e02cf16
--- /dev/null
+++ b/desktop/modules/deckit/DeckItServicesPage.qml
@@ -0,0 +1,37 @@
+// Copyright (C) 2026 Danilo M. <danix@danix.xyz>
+//
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License version 2 as
+// published by the Free Software Foundation.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+import QtQuick
+import "../.."
+import "../qtmaildir"
+
+// deck-it's Services page: where the OBS, LLM, printer and build VM panels connect.
+Column {
+ id: col
+ spacing: 6
+ readonly property var st: DeckIt.store
+ function def(section, key) { return col.st.fallback(section, key); }
+
+ Small { visible: DeckIt.defaultsError !== ""; color: Theme.red; text: DeckIt.defaultsError }
+
+ Setting { store: col.st; section: "obs"; key: "host"; label: "OBS host"
+ placeholder: col.st.placeholder("obs", "host") }
+ Setting { store: col.st; section: "obs"; key: "port"; label: "OBS port"; kind: "int"; min: 1; max: 65535
+ placeholder: col.st.placeholder("obs", "port") }
+ Setting { store: col.st; section: "obs"; key: "password"; label: "OBS password"
+ hint: "obs-websocket's; empty reads the one OBS stores in its own config." }
+ Setting { store: col.st; section: "llm"; key: "url"; label: "LLM dashboard URL"
+ placeholder: col.st.placeholder("llm", "url") }
+ Setting { store: col.st; section: "k1c"; key: "url"; label: "K1C Moonraker"
+ placeholder: "http://ip:7125"; hint: "The printer's Moonraker address, for the K1C tab. Empty: no printer." }
+ Setting { store: col.st; section: "sbbuilder"; key: "host"; label: "Build VM host"
+ placeholder: col.st.placeholder("sbbuilder", "host"); hint: "ssh host alias; runs sbb-remote jobs there." }
+}