mirror of
https://github.com/redstrate/Auracite.git
synced 2025-05-09 03:57:44 +00:00
Pretty-up the main page of the deskto application
This commit is contained in:
parent
a779778f9c
commit
3009655964
3 changed files with 32 additions and 0 deletions
1
build.rs
1
build.rs
|
@ -3,6 +3,7 @@ use cxx_qt_build::{CxxQtBuilder, QmlModule};
|
||||||
fn main() {
|
fn main() {
|
||||||
if std::env::var("CARGO_CFG_TARGET_FAMILY").unwrap() != "wasm" {
|
if std::env::var("CARGO_CFG_TARGET_FAMILY").unwrap() != "wasm" {
|
||||||
CxxQtBuilder::new()
|
CxxQtBuilder::new()
|
||||||
|
.qrc("src/bin/auracite/resources.qrc")
|
||||||
.qt_module("Quick")
|
.qt_module("Quick")
|
||||||
.qml_module(QmlModule {
|
.qml_module(QmlModule {
|
||||||
uri: "zone.xiv.auracite",
|
uri: "zone.xiv.auracite",
|
||||||
|
|
|
@ -55,6 +55,28 @@ Kirigami.ApplicationWindow {
|
||||||
|
|
||||||
spacing: Kirigami.Units.largeSpacing
|
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 {
|
FormCard.FormCard {
|
||||||
Layout.topMargin: Kirigami.Units.largeSpacing
|
Layout.topMargin: Kirigami.Units.largeSpacing
|
||||||
|
|
||||||
|
@ -112,6 +134,10 @@ Kirigami.ApplicationWindow {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Item {
|
||||||
|
Layout.fillHeight: true
|
||||||
|
}
|
||||||
|
|
||||||
FormCard.FormCard {
|
FormCard.FormCard {
|
||||||
Layout.topMargin: Kirigami.Units.largeSpacing
|
Layout.topMargin: Kirigami.Units.largeSpacing
|
||||||
|
|
||||||
|
|
5
src/bin/auracite/resources.qrc
Normal file
5
src/bin/auracite/resources.qrc
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
<RCC>
|
||||||
|
<qresource prefix="/">
|
||||||
|
<file alias="zone.xiv.auracite.svg">../../../zone.xiv.auracite.svg</file>
|
||||||
|
</qresource>
|
||||||
|
</RCC>
|
Loading…
Add table
Reference in a new issue