1
Fork 0
mirror of https://github.com/redstrate/Auracite.git synced 2025-05-08 19:47:45 +00:00

Pretty-up the main page of the deskto application

This commit is contained in:
Joshua Goins 2025-05-07 21:12:58 -04:00
parent a779778f9c
commit 3009655964
3 changed files with 32 additions and 0 deletions

View file

@ -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",

View file

@ -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

View file

@ -0,0 +1,5 @@
<RCC>
<qresource prefix="/">
<file alias="zone.xiv.auracite.svg">../../../zone.xiv.auracite.svg</file>
</qresource>
</RCC>