From 1da416fa4c3838fd99afb3da47a6384dd97e2897 Mon Sep 17 00:00:00 2001 From: ZGaetano Date: Wed, 6 May 2026 22:24:42 -0400 Subject: [PATCH] Replace dragon emoji with WildDragon logo images in QML UI --- app/gui/DragonRelayView.qml | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/app/gui/DragonRelayView.qml b/app/gui/DragonRelayView.qml index 194a91a..d278b52 100644 --- a/app/gui/DragonRelayView.qml +++ b/app/gui/DragonRelayView.qml @@ -51,8 +51,16 @@ Page { anchors.leftMargin: 12 anchors.rightMargin: 12 + Image { + source: "qrc:/app/assets/wilddragon-icon.jpg" + width: 24 + height: 24 + fillMode: Image.PreserveAspectFit + smooth: true + } + Label { - text: qsTr("🐉 DragonRelay") + text: qsTr("DragonRelay") font.pixelSize: 16 font.bold: true } @@ -104,11 +112,21 @@ Page { anchors.fill: parent spacing: 12 + // Logo + Image { + Layout.alignment: Qt.AlignHCenter + source: "qrc:/app/assets/wilddragon-logo.jpg" + width: 80 + height: 80 + fillMode: Image.PreserveAspectFit + smooth: true + } + TextField { id: urlField Layout.fillWidth: true - placeholderText: qsTr("Relay URL e.g. http://10.0.0.5:8080") - text: "http://" + placeholderText: qsTr("Relay URL e.g. https://relay.wilddragon.net") + text: "https://" inputMethodHints: Qt.ImhUrlCharactersOnly }