From 8eb5964a322f62ae1319cd7dcc6fadab9a2f552c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Thu, 30 Mar 2023 15:12:00 +0800 Subject: Header cart buttons --- Button/Btn.ui.qml | 3 ++- Button/Light.ui.qml | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 Button/Light.ui.qml (limited to 'Button') 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 +} -- cgit v1.2.3