summaryrefslogtreecommitdiff
path: root/Button
diff options
context:
space:
mode:
Diffstat (limited to 'Button')
-rw-r--r--Button/Btn.ui.qml18
-rw-r--r--Button/NavLink.ui.qml10
-rw-r--r--Button/NavLink/TabsLine.ui.qml8
-rw-r--r--Button/Primary.ui.qml18
-rw-r--r--Button/Success.ui.qml18
5 files changed, 36 insertions, 36 deletions
diff --git a/Button/Btn.ui.qml b/Button/Btn.ui.qml
index cdf730b..f841b54 100644
--- a/Button/Btn.ui.qml
+++ b/Button/Btn.ui.qml
@@ -1,25 +1,25 @@
import QtQuick 2.15
import QtQuick.Controls 2.15
-import Bootstrap 5.3
+import Eduport 1.4
Button {
id: button
- horizontalPadding: Bootstrap.btnPaddingX
- verticalPadding: Bootstrap.btnPaddingY
- font: Bootstrap.btnFont
+ horizontalPadding: Eduport.bsBtnPaddingX
+ verticalPadding: Eduport.bsBtnPaddingY
+ font: Eduport.bsBtnFont
contentItem: Text {
text: button.text
font: button.font
- color: Bootstrap.btnColor
+ color: Eduport.bsBtnColor
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
}
background: Rectangle {
- color: Bootstrap.btnBg
+ color: Eduport.bsBtnBg
border {
- width: Bootstrap.btnBorderWidth
- color: Bootstrap.btnBorderColor
+ width: Eduport.bsBtnBorderWidth
+ color: Eduport.bsBtnBorderColor
}
- radius: Bootstrap.btnBorderRadius
+ radius: Eduport.bsBtnBorderRadius
}
}
diff --git a/Button/NavLink.ui.qml b/Button/NavLink.ui.qml
index 45bffe3..dac7d30 100644
--- a/Button/NavLink.ui.qml
+++ b/Button/NavLink.ui.qml
@@ -1,21 +1,21 @@
import QtQuick 2.15
import QtQuick.Controls 2.15
-import Bootstrap 5.3
+import Eduport 1.4
Btn {
id: button
- font: Bootstrap.bodyFont
+ font: Eduport.bodyFont
contentItem: Text {
text: modelData
font: button.font
color: checked
- ? Bootstrap.navPillsLinkActiveColor : Bootstrap.primary
+ ? Eduport.navPillsLinkActiveColor : Eduport.bsPrimary
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
}
background: Rectangle {
color: checked
- ? Bootstrap.navPillsLinkActiveBg : Bootstrap.btnBg
- radius: Bootstrap.navPillsBorderRadius
+ ? Eduport.navPillsLinkActiveBg : Eduport.bsBtnBg
+ radius: Eduport.navPillsBorderRadius
}
}
diff --git a/Button/NavLink/TabsLine.ui.qml b/Button/NavLink/TabsLine.ui.qml
index 0d17f21..527f9f2 100644
--- a/Button/NavLink/TabsLine.ui.qml
+++ b/Button/NavLink/TabsLine.ui.qml
@@ -1,6 +1,6 @@
import QtQuick 2.15
import QtQuick.Controls 2.15
-import Bootstrap 5.3
+import Eduport 1.4
import ".."
NavLink {
@@ -8,12 +8,12 @@ NavLink {
contentItem: Text {
text: modelData
font: button.font
- color: Bootstrap.primary
+ color: Eduport.bsPrimary
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
}
background: Rectangle {
- color: checked ? "#1a066ac9" : Bootstrap.btnBg
- radius: Bootstrap.navPillsBorderRadius
+ color: checked ? "#1a066ac9" : Eduport.bsBtnBg
+ radius: Eduport.navPillsBorderRadius
}
}
diff --git a/Button/Primary.ui.qml b/Button/Primary.ui.qml
index 7c76e4a..5388eb7 100644
--- a/Button/Primary.ui.qml
+++ b/Button/Primary.ui.qml
@@ -1,22 +1,22 @@
import QtQuick 2.15
import QtQuick.Controls 2.15
-import Bootstrap 5.3
+import Eduport 1.4
Btn {
id: button
background: Rectangle {
- color: button.down ? Bootstrap.btnPrimaryActiveBG
+ color: button.down ? Eduport.bsBtnPrimaryActiveBG
: button.enabled
- ? Bootstrap.btnPrimaryBg
- : Bootstrap.btnPrimaryDisabledBg
+ ? Eduport.bsBtnPrimaryBg
+ : Eduport.bsBtnPrimaryDisabledBg
border {
- width: Bootstrap.btnBorderWidth
+ width: Eduport.bsBtnBorderWidth
color: button.down
- ? Bootstrap.btnPrimaryActiveBorderColor
+ ? Eduport.bsBtnPrimaryActiveBorderColor
: button.enabled
- ? Bootstrap.btnPrimaryBorderColor
- : Bootstrap.btnPrimaryDisabledBorderColor
+ ? Eduport.bsBtnPrimaryBorderColor
+ : Eduport.bsBtnPrimaryDisabledBorderColor
}
- radius: Bootstrap.btnBorderRadius
+ radius: Eduport.bsBtnBorderRadius
}
}
diff --git a/Button/Success.ui.qml b/Button/Success.ui.qml
index 41cc498..a8e7b59 100644
--- a/Button/Success.ui.qml
+++ b/Button/Success.ui.qml
@@ -1,22 +1,22 @@
import QtQuick 2.15
import QtQuick.Controls 2.15
-import Bootstrap 5.3
+import Eduport 1.4
Btn {
id: button
background: Rectangle {
- color: button.down ? Bootstrap.btnSuccessActiveBG
+ color: button.down ? Eduport.bsBtnSuccessActiveBG
: button.enabled
- ? Bootstrap.btnSuccessBg
- : Bootstrap.btnSuccessDisabledBg
+ ? Eduport.bsBtnSuccessBg
+ : Eduport.bsBtnSuccessDisabledBg
border {
- width: Bootstrap.btnBorderWidth
+ width: Eduport.bsBtnBorderWidth
color: button.down
- ? Bootstrap.btnSuccessActiveBorderColor
+ ? Eduport.bsBtnSuccessActiveBorderColor
: button.enabled
- ? Bootstrap.btnSuccessBorderColor
- : Bootstrap.btnSuccessDisabledBorderColor
+ ? Eduport.bsBtnSuccessBorderColor
+ : Eduport.bsBtnSuccessDisabledBorderColor
}
- radius: Bootstrap.btnBorderRadius
+ radius: Eduport.bsBtnBorderRadius
}
}