summaryrefslogtreecommitdiff
path: root/ApplicationWindow.qml
diff options
context:
space:
mode:
authorErik Prabowo Kamal <erik@darapsa.org>2025-12-09 20:32:11 +0800
committerErik Prabowo Kamal <erik@darapsa.org>2025-12-09 20:32:11 +0800
commit54357cfb6648b6d129d75d0a77f135028c7160fe (patch)
treefa8ff404b5cbc02b926f891fc6e99d462fb01a96 /ApplicationWindow.qml
parent765fc04a928bfdc8845b38a52fd04e59a295107d (diff)
Update the project & QML files to be Qt6 compatible
https://doc.qt.io/qt-6/qtquickcontrols-changes-qt6.html#changes-to-applicationwindow
Diffstat (limited to 'ApplicationWindow.qml')
-rw-r--r--ApplicationWindow.qml18
1 files changed, 8 insertions, 10 deletions
diff --git a/ApplicationWindow.qml b/ApplicationWindow.qml
index 72df372..8695461 100644
--- a/ApplicationWindow.qml
+++ b/ApplicationWindow.qml
@@ -1,16 +1,14 @@
-import QtQuick 2.15
-import QtQuick.Templates 2.15
-import Bootstrap 5.3
+import QtQuick
+import QtQuick.Templates
+import Bootstrap
ApplicationWindow {
id: window
color: Bootstrap.bodyBg
- overlay {
- modal: Rectangle {
- color: Color.transparent(window.palette.shadow, .5)
- }
- modeless: Rectangle {
- color: Color.transparent(window.palette.shadow, .15)
- }
+ Overlay.modal: Rectangle {
+ color: Color.transparent(window.palette.shadow, .5)
+ }
+ Overlay.modeless: Rectangle {
+ color: Color.transparent(window.palette.shadow, .15)
}
}