summaryrefslogtreecommitdiff
path: root/Button/Success.ui.qml
blob: 2da78cdbd3ccbd428691fc3803673f0d6c1a6396 (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
	}
}