Replace dragon emoji with WildDragon logo images in QML UI
This commit is contained in:
parent
8cc9d2dc4d
commit
1da416fa4c
1 changed files with 21 additions and 3 deletions
|
|
@ -51,8 +51,16 @@ Page {
|
||||||
anchors.leftMargin: 12
|
anchors.leftMargin: 12
|
||||||
anchors.rightMargin: 12
|
anchors.rightMargin: 12
|
||||||
|
|
||||||
|
Image {
|
||||||
|
source: "qrc:/app/assets/wilddragon-icon.jpg"
|
||||||
|
width: 24
|
||||||
|
height: 24
|
||||||
|
fillMode: Image.PreserveAspectFit
|
||||||
|
smooth: true
|
||||||
|
}
|
||||||
|
|
||||||
Label {
|
Label {
|
||||||
text: qsTr("🐉 DragonRelay")
|
text: qsTr("DragonRelay")
|
||||||
font.pixelSize: 16
|
font.pixelSize: 16
|
||||||
font.bold: true
|
font.bold: true
|
||||||
}
|
}
|
||||||
|
|
@ -104,11 +112,21 @@ Page {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
spacing: 12
|
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 {
|
TextField {
|
||||||
id: urlField
|
id: urlField
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
placeholderText: qsTr("Relay URL e.g. http://10.0.0.5:8080")
|
placeholderText: qsTr("Relay URL e.g. https://relay.wilddragon.net")
|
||||||
text: "http://"
|
text: "https://"
|
||||||
inputMethodHints: Qt.ImhUrlCharactersOnly
|
inputMethodHints: Qt.ImhUrlCharactersOnly
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue