2026-07-03 23:43:02 +02:00
|
|
|
import QtQuick 2.15
|
|
|
|
|
import Qt5Compat.GraphicalEffects
|
2026-06-18 18:38:53 +02:00
|
|
|
|
2026-06-23 17:34:08 +02:00
|
|
|
Item {
|
|
|
|
|
id: root
|
2026-07-03 23:43:02 +02:00
|
|
|
width: 920
|
|
|
|
|
height: 630
|
2026-06-23 17:34:08 +02:00
|
|
|
|
2026-07-03 23:43:02 +02:00
|
|
|
function onActivate() {
|
|
|
|
|
timer.restart()
|
|
|
|
|
slider.reset()
|
2026-06-23 17:34:08 +02:00
|
|
|
}
|
|
|
|
|
|
2026-07-03 23:43:02 +02:00
|
|
|
function onLeave() {
|
2026-06-23 17:34:08 +02:00
|
|
|
}
|
|
|
|
|
|
2026-06-18 18:38:53 +02:00
|
|
|
Timer {
|
2026-06-23 17:34:08 +02:00
|
|
|
id: timer
|
2026-07-03 23:43:02 +02:00
|
|
|
interval: 12000
|
2026-06-23 17:34:08 +02:00
|
|
|
running: true
|
2026-06-18 18:38:53 +02:00
|
|
|
repeat: true
|
2026-06-29 21:28:18 +02:00
|
|
|
onTriggered: slider.currentSlideIndex++
|
2026-06-18 18:38:53 +02:00
|
|
|
}
|
|
|
|
|
|
2026-06-23 17:34:08 +02:00
|
|
|
MouseArea {
|
2026-06-23 01:18:22 +02:00
|
|
|
anchors.fill: parent
|
2026-07-03 23:43:02 +02:00
|
|
|
cursorShape: Qt.PointingHandCursor
|
2026-06-23 17:34:08 +02:00
|
|
|
onClicked: {
|
2026-07-03 23:43:02 +02:00
|
|
|
timer.restart()
|
|
|
|
|
slider.currentSlideIndex++
|
2026-06-23 17:34:08 +02:00
|
|
|
}
|
|
|
|
|
}
|
2026-06-23 01:18:22 +02:00
|
|
|
|
2026-06-29 21:28:18 +02:00
|
|
|
Image {
|
|
|
|
|
id: background
|
2026-06-23 17:34:08 +02:00
|
|
|
anchors.fill: parent
|
2026-06-29 21:28:18 +02:00
|
|
|
source: "background.jpg"
|
2026-07-03 23:43:02 +02:00
|
|
|
sourceSize.width: parent.width
|
|
|
|
|
sourceSize.height: parent.height
|
2026-06-29 21:28:18 +02:00
|
|
|
fillMode: Image.PreserveAspectCrop
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Rectangle {
|
2026-07-03 23:43:02 +02:00
|
|
|
anchors.fill: parent
|
|
|
|
|
color: Qt.rgba(0, 0, 0, 0.55)
|
|
|
|
|
}
|
2026-06-29 21:28:18 +02:00
|
|
|
|
2026-07-03 23:43:02 +02:00
|
|
|
Rectangle {
|
|
|
|
|
anchors.fill: parent
|
|
|
|
|
gradient: Gradient {
|
|
|
|
|
GradientStop { position: 0.0; color: Qt.rgba(0, 0, 0, 0.15) }
|
|
|
|
|
GradientStop { position: 0.5; color: "transparent" }
|
|
|
|
|
GradientStop { position: 1.0; color: Qt.rgba(0, 0, 0, 0.3) }
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Rectangle {
|
|
|
|
|
id: card
|
|
|
|
|
width: 460
|
|
|
|
|
height: 380
|
|
|
|
|
radius: 12
|
|
|
|
|
anchors.centerIn: parent
|
|
|
|
|
anchors.horizontalCenterOffset: 40
|
|
|
|
|
color: "#2B2930"
|
|
|
|
|
|
|
|
|
|
layer.enabled: true
|
|
|
|
|
layer.effect: DropShadow {
|
|
|
|
|
transparentBorder: true
|
|
|
|
|
radius: 40
|
|
|
|
|
samples: 56
|
|
|
|
|
color: Qt.rgba(0, 0, 0, 0.5)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Rectangle {
|
|
|
|
|
anchors.fill: parent
|
|
|
|
|
radius: 12
|
|
|
|
|
color: "transparent"
|
|
|
|
|
border { color: Qt.rgba(1, 1, 1, 0.04); width: 1 }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Item {
|
2026-06-23 01:18:22 +02:00
|
|
|
anchors {
|
2026-06-23 17:34:08 +02:00
|
|
|
fill: parent
|
2026-07-03 23:43:02 +02:00
|
|
|
margins: 32
|
2026-06-23 01:18:22 +02:00
|
|
|
}
|
2026-06-23 17:34:08 +02:00
|
|
|
|
2026-07-03 23:43:02 +02:00
|
|
|
Slider {
|
|
|
|
|
id: slider
|
|
|
|
|
anchors.fill: parent
|
|
|
|
|
slides: [
|
|
|
|
|
Dia {
|
|
|
|
|
title: qsTr("Welcome to Antergos NeXT")
|
2026-07-24 20:00:08 +02:00
|
|
|
body: qsTr("Artix Linux, dinit init, rolling release.")
|
|
|
|
|
footer: qsTr("Choose your desktop environment during setup")
|
2026-07-03 23:43:02 +02:00
|
|
|
},
|
|
|
|
|
Dia {
|
|
|
|
|
title: qsTr("Desktop Environments")
|
2026-07-24 20:00:08 +02:00
|
|
|
body: qsTr("Plasma, Xfce, Cinnamon, MATE, LXQt, i3, Sway, Hyprland, COSMIC.")
|
|
|
|
|
footer: qsTr("A curated selection — pick your favorite")
|
2026-07-03 23:43:02 +02:00
|
|
|
},
|
|
|
|
|
Dia {
|
2026-07-24 20:00:08 +02:00
|
|
|
title: qsTr("Init System")
|
|
|
|
|
body: qsTr("dinit — fast, parallel service boot. Optional runit and s6 available.")
|
|
|
|
|
footer: qsTr("Modern init, modern system")
|
|
|
|
|
},
|
|
|
|
|
Dia {
|
|
|
|
|
title: qsTr("Two Installer Modes")
|
|
|
|
|
body: qsTr("Online: full DE, DM, and package selection. Offline: Plasma pre-configured, ready to go.")
|
|
|
|
|
footer: qsTr("You choose how you install")
|
|
|
|
|
},
|
|
|
|
|
Dia {
|
|
|
|
|
title: qsTr("Features")
|
|
|
|
|
body: qsTr("Full AUR access. KDE Plasma live session. Calamares installer. Latest packages from Artix repos.")
|
|
|
|
|
footer: qsTr("Everything you need, nothing you don't")
|
2026-07-03 23:43:02 +02:00
|
|
|
},
|
|
|
|
|
Dia {
|
|
|
|
|
title: qsTr("Open Source")
|
2026-07-24 20:00:08 +02:00
|
|
|
body: qsTr("Built by the community. Transparent, free, and always will be.")
|
2026-07-03 23:43:02 +02:00
|
|
|
footer: qsTr("github.com/Antergos-NeXT")
|
|
|
|
|
},
|
|
|
|
|
Dia {
|
|
|
|
|
title: qsTr("Almost Done")
|
2026-07-24 20:00:08 +02:00
|
|
|
body: qsTr("Your system is being configured with your selected desktop and packages.")
|
2026-07-03 23:43:02 +02:00
|
|
|
footer: qsTr("Reboot and enjoy Antergos NeXT")
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Image {
|
|
|
|
|
id: logo
|
|
|
|
|
source: "antergos-logo.png"
|
|
|
|
|
width: 140
|
|
|
|
|
height: 40
|
|
|
|
|
fillMode: Image.PreserveAspectFit
|
|
|
|
|
anchors {
|
|
|
|
|
bottom: parent.bottom
|
|
|
|
|
bottomMargin: 20
|
|
|
|
|
left: parent.left
|
|
|
|
|
leftMargin: 24
|
|
|
|
|
}
|
|
|
|
|
opacity: 0.45
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Row {
|
|
|
|
|
anchors {
|
|
|
|
|
bottom: parent.bottom
|
|
|
|
|
bottomMargin: 20
|
|
|
|
|
horizontalCenter: parent.horizontalCenter
|
|
|
|
|
}
|
|
|
|
|
spacing: 6
|
|
|
|
|
|
|
|
|
|
Repeater {
|
|
|
|
|
model: slider.slides.length
|
|
|
|
|
|
|
|
|
|
Rectangle {
|
|
|
|
|
width: index == slider.currentSlideIndex ? 22 : 7
|
|
|
|
|
height: 7
|
|
|
|
|
radius: 3.5
|
|
|
|
|
color: index == slider.currentSlideIndex ? "#4A9EFF" : "#8E9099"
|
|
|
|
|
opacity: index == slider.currentSlideIndex ? 1 : 0.35
|
|
|
|
|
Behavior on width { NumberAnimation { duration: 250 } }
|
|
|
|
|
Behavior on color { ColorAnimation { duration: 200 } }
|
|
|
|
|
}
|
2026-06-18 18:38:53 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|