diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-03-30 15:12:00 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-03-30 15:12:00 +0800 |
commit | 8eb5964a322f62ae1319cd7dcc6fadab9a2f552c (patch) | |
tree | 4692a700384eb5b713b4e61340095a2bb40922d4 /Button | |
parent | 61bcce08d358c36d6e1cd9d9908229589a0eb374 (diff) |
Header cart buttons
Diffstat (limited to 'Button')
-rw-r--r-- | Button/Btn.ui.qml | 3 | ||||
-rw-r--r-- | Button/Light.ui.qml | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/Button/Btn.ui.qml b/Button/Btn.ui.qml index 1d58fe8..32bf2ca 100644 --- a/Button/Btn.ui.qml +++ b/Button/Btn.ui.qml @@ -12,6 +12,7 @@ Button { property color bsBtnDisabledColor: Eduport.bsBtnColor property color bsBtnDisabledBg: Eduport.bsBtnBg property color bsBtnDisabledBorderColor: Eduport.bsBtnBorderColor + property real bsBtnBorderRadius: Eduport.bsBtnBorderRadius id: button horizontalPadding: Eduport.bsBtnPaddingX verticalPadding: Eduport.bsBtnPaddingY @@ -37,6 +38,6 @@ Button { width: Eduport.bsBtnBorderWidth color: bsBtnBorderColor } - radius: Eduport.bsBtnBorderRadius + radius: bsBtnBorderRadius } } diff --git a/Button/Light.ui.qml b/Button/Light.ui.qml new file mode 100644 index 0000000..38bbe14 --- /dev/null +++ b/Button/Light.ui.qml @@ -0,0 +1,15 @@ +import QtQuick 2.15 +import QtQuick.Controls 2.15 +import Eduport 1.4 + +Btn { + bsBtnColor: Eduport.bsGray900 + bsBtnBg: Eduport.bsLight + bsBtnBorderColor: bsBtnBg + bsBtnActiveColor: Eduport.bsBtnLightActiveColor + bsBtnActiveBg: Eduport.bsBtnLightActiveBg + bsBtnActiveBorderColor: Eduport.bsBtnLightActiveBorderColor + bsBtnDisabledColor: Eduport.bsBtnLightDisabledColor + bsBtnDisabledBg: Eduport.bsBtnLightDisabledBg + bsBtnDisabledBorderColor: Eduport.bsBtnLightDisabledBorderColor +} |