diff options
| author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-04-11 16:07:10 +0800 |
|---|---|---|
| committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-04-11 16:07:10 +0800 |
| commit | 6f46e95ed7e02bc16aaf26393942383ce8667e13 (patch) | |
| tree | 3cf8f401e3ae9d0cffda3a09ee0f6a4a3905eca2 /Header.ui.qml | |
| parent | e47f0a86a8f7960d608945861aba1c522ba31eda (diff) | |
Qeduport now relies on Qootstrap
Qeduport should now be installed to the system too.
When used from app, Qeduport will refer to libqootstrap installed
in the system.
When used from Designer / Design Studio, Qeduport will refer to
the non attached property QML version instead.
Diffstat (limited to 'Header.ui.qml')
| -rw-r--r-- | Header.ui.qml | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Header.ui.qml b/Header.ui.qml index 3262240..8d4b506 100644 --- a/Header.ui.qml +++ b/Header.ui.qml @@ -2,6 +2,7 @@ import QtQuick 2.15 import QtQuick.Controls 2.15 import QtQuick.Layouts 1.15 import QtGraphicalEffects 1.15 +import Bootstrap 5.3 import Eduport 1.4 import "DropShadow" as DrpShdw import "Button" as Btn @@ -300,7 +301,8 @@ ToolBar { } Loader { - property string imageSource: profileImageSource + property string imageSource: + profileImageSource property int imageWidth: 48 property int imageHeight: 48 property real maskRadius: 48 @@ -391,7 +393,8 @@ ToolBar { } text: qsTr("Light") checked: Eduport.mode - == Eduport.Mode + == Bootstrap + .Mode .Light enabled: !checked Layout.fillWidth: true @@ -406,7 +409,8 @@ ToolBar { } text: qsTr("Dark") checked: Eduport.mode - == Eduport.Mode + == Bootstrap + .Mode .Dark enabled: !checked Layout.fillWidth: true |