add title and settings button

This commit is contained in:
2026-11-13 22:09:48 +03:00
parent 4cf768439c
commit 928555cc7d
4 changed files with 102 additions and 24 deletions

37
qml/components/Title.qml Normal file
View File

@@ -0,0 +1,37 @@
import QtQuick 2.15
import QtQuick.Layouts 1.15
ColumnLayout {
id: root
Layout.fillWidth: true
spacing: 4
RowLayout {
spacing: 5
Text {
text: "Arch Linux Updater"
font.pixelSize: 20
font.bold: true
color: "#cdd6f4"
Layout.alignment: Qt.AlignBaseline
}
Text {
text: "v. " + Qt.application.version
font.pixelSize: 12
font.italic: true
color: "#6c7086"
Layout.alignment: Qt.AlignBaseline
}
}
Text {
text: "Можно обновить: "
Layout.fillWidth: true
wrapMode: Text.WordWrap
font.pixelSize: 12
color: "#6c7086"
}
}