Files
euri-packages/packages/calamares-branding-antergos-next-minimal/Slider.qml
T
c-ludenberg a43ebd898e feat: new Antergos NeXT Minimal (Xfce) edition — branding, theme, and packaging
Introduces a lightweight Xfce-based variant of Antergos NeXT to work
around the 2 GB GitHub Releases limit for the full Plasma ISO.

New packages in antergos-packages:
- calamares-branding-antergos-next-minimal: Calamares branding variant
  that says "Minimal (Xfce)" with a notesqml page explaining why this
  edition exists (Plasma ISO exceeded GitHub's 2 GB limit).
- antergos-xfce-theme: GTK 2.0/3.0/3.20 + xfwm4 theme based on Numix,
  recolored to Antergos brand accent (#4A9EFF). Includes xfce-notify-4.0,
  metacity-1, openbox-3, and unity support directories.

packages.yaml updated with both new packages in the build list.
2026-07-08 18:51:27 +02:00

86 lines
2.4 KiB
QML

import QtQuick 2.15
Item {
property list<Dia> slides
property int currentSlideIndex: 0
property int _currentSlideIndex: 0
function reset() {
currentSlideIndex = 0
_currentSlideIndex = 0
wrapper.opacity = 1
}
onCurrentSlideIndexChanged: {
if (currentSlideIndex >= slides.length) {
currentSlideIndex = 0
}
if (_currentSlideIndex !== currentSlideIndex) {
slideOut.start()
}
}
Item {
id: wrapper
anchors.fill: parent
Column {
anchors.centerIn: parent
width: parent.width
spacing: 0
Text {
id: titleText
font {
family: "Roboto"
weight: Font.Medium
pixelSize: 26
}
color: "#FFFFFF"
text: slides[_currentSlideIndex].title
wrapMode: Text.WordWrap
width: parent.width
lineHeight: 1.25
bottomPadding: 20
}
Text {
id: bodyText
width: parent.width
font {
family: "Roboto"
weight: Font.Normal
pixelSize: 14
}
color: "#C4C6D0"
text: slides[_currentSlideIndex].body
wrapMode: Text.WordWrap
lineHeight: 1.55
bottomPadding: 20
}
Text {
id: footerText
font {
family: "Roboto"
weight: Font.Medium
pixelSize: 12
}
color: "#8E9099"
text: slides[_currentSlideIndex].footer ?? ""
wrapMode: Text.WordWrap
width: parent.width
lineHeight: 1.4
}
}
}
SequentialAnimation {
id: slideOut
NumberAnimation { target: wrapper; property: "opacity"; to: 0; duration: 100; easing.type: Easing.OutQuad }
PropertyAction { target: wrapper; property: "opacity"; value: 0 }
ScriptAction { script: _currentSlideIndex = currentSlideIndex }
NumberAnimation { target: wrapper; property: "opacity"; to: 1; duration: 160; easing.type: Easing.InQuad }
}
}