summaryrefslogtreecommitdiff
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
parent4583b16880e86610917814446fa0ad52fdabcedc (diff)
Qeduport wouldn't know the app window's ID
-rw-r--r--Header.ui.qml11
-rw-r--r--Home/Default.ui.qml3
2 files changed, 8 insertions, 6 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
}
diff --git a/Home/Default.ui.qml b/Home/Default.ui.qml
index bf2d2c6..8475cfd 100644
--- a/Home/Default.ui.qml
+++ b/Home/Default.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
@@ -21,7 +22,7 @@ Flickable {
Rectangle {
anchors.fill: parent
- color: window.Bootstrap.bodyBg
+ color: Window.window.Bootstrap.bodyBg
}
ColumnLayout {