Alisa/native/Main.qml

31 lines
831 B
QML
Raw Normal View History

2024-07-08 16:08:21 +02:00
import QtQuick
import QtQuick.Window
import QtQuick.Layouts
Window {
2024-07-09 17:50:34 +02:00
SystemPalette { id: activeColors; colorGroup: SystemPalette.Active }
SystemPalette { id: inactiveColors; colorGroup: SystemPalette.Inactive }
SystemPalette { id: disabledColors; colorGroup: SystemPalette.Disabled }
2024-07-09 12:36:14 +02:00
2024-07-08 16:08:21 +02:00
id: root
width: 640
height: 480
visible: true
2024-07-09 17:50:34 +02:00
color: active ? activeColors.window : inactiveColors.window
2024-07-08 16:08:21 +02:00
2024-07-09 17:50:34 +02:00
title: qsTr("Alisa - License Managment")
2024-07-08 16:08:21 +02:00
Rectangle {
2024-07-09 17:50:34 +02:00
id: s1
2024-07-08 16:08:21 +02:00
anchors {
top: parent.top
left: parent.left
2024-07-09 17:50:34 +02:00
right: parent.rightali
2024-07-08 16:08:21 +02:00
}
height: 50
2024-07-09 17:50:34 +02:00
border.width: 5
border.color: root.active ? activeColors.accent : inactiveColors.accent
color: root.active ? activeColors.midlight : inactiveColors.midlight
2024-07-08 16:08:21 +02:00
}
}