summaryrefslogtreecommitdiff
path: root/Header.ui.qml
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-04-13 15:33:58 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-04-13 15:33:58 +0800
commita7656f3f6d2a5b8d5655bc88150a907884483b9e (patch)
tree614a962d6cc69d304bb2f116cf0c6b2024d622e5 /Header.ui.qml
parent4583b16880e86610917814446fa0ad52fdabcedc (diff)
Qeduport wouldn't know the app window's ID
Diffstat (limited to 'Header.ui.qml')
-rw-r--r--Header.ui.qml11
1 files changed, 6 insertions, 5 deletions
diff --git a/Header.ui.qml b/Header.ui.qml
index a1b5a21..9072dc7 100644
--- a/Header.ui.qml
+++ b/Header.ui.qml
@@ -1,5 +1,6 @@
import QtQuick 2.15
import QtQuick.Controls 2.15
+import QtQuick.Window 2.15
import QtQuick.Layouts 1.15
import QtGraphicalEffects 1.15
import Bootstrap 5.3
@@ -32,7 +33,7 @@ ToolBar {
horizontalPadding: 15
background: Rectangle {
implicitHeight: 70
- color: window.Bootstrap.bodyBg
+ color: Window.window.Bootstrap.bodyBg
}
ToolButton {
@@ -61,9 +62,9 @@ ToolBar {
id: rectangle
anchors.fill: parent
radius: 5.2
- color: window.Bootstrap.mode
+ color: Window.window.Bootstrap.mode
? Eduport.bsDark
- : window.Bootstrap.bodyBg
+ : Window.window.Bootstrap.bodyBg
}
DrpShdw.Box {
@@ -80,7 +81,7 @@ ToolBar {
contentItem: Rectangle {
implicitWidth: width
implicitHeight: 1
- color: window.Bootstrap.mode
+ color: Window.window.Bootstrap.mode
? Eduport.bsGray300
: Eduport.bsGray500
}
@@ -281,7 +282,7 @@ ToolBar {
? Eduport.bsDropdownLinkHoverBg
: Eduport.mode
? Eduport.bsDark
- : window
+ : Window.window
.Bootstrap.bodyBg
radius: 5.2
}