56 lines
1.0 KiB
QML
56 lines
1.0 KiB
QML
import QtQuick
|
|
import QtQuick.Controls
|
|
import QtQuick.Layouts
|
|
|
|
import archpack
|
|
import "qml/components" as Components
|
|
import "qml/buttons" as Buttons
|
|
|
|
ApplicationWindow {
|
|
id: root
|
|
title: "Arch Linux Updater"
|
|
width: 740
|
|
height: 960
|
|
minimumWidth: 740
|
|
minimumHeight: 560
|
|
maximumWidth: 1080
|
|
maximumHeight: 1460
|
|
visible: true
|
|
color: Theme.color1
|
|
|
|
ColumnLayout {
|
|
id: mainLayout
|
|
anchors.fill: parent
|
|
anchors.margins: Theme.baseMargins
|
|
spacing: Theme.baseSpacing
|
|
|
|
RowLayout {
|
|
id: headerLayout
|
|
Layout.maximumWidth: Number.POSITIVE_INFINITY
|
|
|
|
Components.Title {
|
|
id: title
|
|
Layout.maximumWidth: Number.POSITIVE_INFINITY
|
|
Layout.alignment: Qt.AlignBottom
|
|
}
|
|
|
|
Buttons.Settings {
|
|
id: settingsButton
|
|
Layout.alignment: Qt.AlignBottom
|
|
}
|
|
}
|
|
|
|
Components.Line { id: line }
|
|
|
|
Components.Tabs {
|
|
id: tabs
|
|
Layout.alignment: Qt.AlignTop
|
|
parentWidth: mainLayout.width
|
|
}
|
|
|
|
Item {
|
|
Layout.fillHeight: true
|
|
}
|
|
}
|
|
}
|