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 /imports/Bootstrap | |
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 'imports/Bootstrap')
-rw-r--r-- | imports/Bootstrap/Bootstrap.qml | 14 | ||||
-rw-r--r-- | imports/Bootstrap/qmldir | 2 |
2 files changed, 16 insertions, 0 deletions
diff --git a/imports/Bootstrap/Bootstrap.qml b/imports/Bootstrap/Bootstrap.qml new file mode 100644 index 0000000..d31cfb0 --- /dev/null +++ b/imports/Bootstrap/Bootstrap.qml @@ -0,0 +1,14 @@ +pragma Singleton +import QtQuick 2.15 + +QtObject { + enum Mode { + Light, + Dark + } + property int mode: Bootstrap.Mode.Light + + readonly property color bodyColor: mode ? "#a1a1a8" : "#747579" + readonly property color bodyBg: mode ? "#222529" : "#fff" + readonly property color borderColor: mode ? "#12ffffff" : "#eff1f2" +} diff --git a/imports/Bootstrap/qmldir b/imports/Bootstrap/qmldir new file mode 100644 index 0000000..8e5154b --- /dev/null +++ b/imports/Bootstrap/qmldir @@ -0,0 +1,2 @@ +module Eduport +singleton Bootstrap 5.3 Bootstrap.qml |