diff --git a/build.rs b/build.rs index 6d17eeb..2421c4e 100644 --- a/build.rs +++ b/build.rs @@ -3,6 +3,7 @@ use cxx_qt_build::{CxxQtBuilder, QmlModule}; fn main() { if std::env::var("CARGO_CFG_TARGET_FAMILY").unwrap() != "wasm" { CxxQtBuilder::new() + .qrc("src/bin/auracite/resources.qrc") .qt_module("Quick") .qml_module(QmlModule { uri: "zone.xiv.auracite", diff --git a/src/bin/auracite/Main.qml b/src/bin/auracite/Main.qml index 1f475c7..2f6acd0 100644 --- a/src/bin/auracite/Main.qml +++ b/src/bin/auracite/Main.qml @@ -55,6 +55,28 @@ Kirigami.ApplicationWindow { spacing: Kirigami.Units.largeSpacing + Item { + Layout.fillHeight: true + } + + Image { + source: "qrc:/zone.xiv.auracite.svg" + + width: 500 + height: 500 + fillMode: Image.PreserveAspectFit + + Layout.fillWidth: true + Layout.margins: Kirigami.Units.largeSpacing * 3 + } + + QQC2.Label { + text: i18nc("@info:label", "Export your FFXIV character into portable, generic formats.") + horizontalAlignment: Text.AlignHCenter + + Layout.fillWidth: true + } + FormCard.FormCard { Layout.topMargin: Kirigami.Units.largeSpacing @@ -112,6 +134,10 @@ Kirigami.ApplicationWindow { } } + Item { + Layout.fillHeight: true + } + FormCard.FormCard { Layout.topMargin: Kirigami.Units.largeSpacing diff --git a/src/bin/auracite/resources.qrc b/src/bin/auracite/resources.qrc new file mode 100644 index 0000000..627d635 --- /dev/null +++ b/src/bin/auracite/resources.qrc @@ -0,0 +1,5 @@ + + + ../../../zone.xiv.auracite.svg + +