add title and settings button
This commit is contained in:
37
qml/components/Title.qml
Normal file
37
qml/components/Title.qml
Normal 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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user