blob: a8e7b5959e4f2356ac3d6d948bac6ec449a352c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
import QtQuick 2.15
import QtQuick.Controls 2.15
import Eduport 1.4
Btn {
id: button
background: Rectangle {
color: button.down ? Eduport.bsBtnSuccessActiveBG
: button.enabled
? Eduport.bsBtnSuccessBg
: Eduport.bsBtnSuccessDisabledBg
border {
width: Eduport.bsBtnBorderWidth
color: button.down
? Eduport.bsBtnSuccessActiveBorderColor
: button.enabled
? Eduport.bsBtnSuccessBorderColor
: Eduport.bsBtnSuccessDisabledBorderColor
}
radius: Eduport.bsBtnBorderRadius
}
}
|