You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
pragma Singleton
|
|
|
|
|
|
|
|
import QtQuick 2.13
|
|
|
|
|
|
|
|
Item {
|
|
|
|
property int radius: 25
|
|
|
|
property int mediumRadius: 6
|
|
|
|
property int smallRadius: 2
|
|
|
|
property real disableOpacity: 0.25
|
|
|
|
property real hoverOpacity: 0.20
|
|
|
|
property int animationDuration: 180
|
|
|
|
property real hoverCoeffecient: 1.07
|
|
|
|
property real disableCoeffecient: 4
|
|
|
|
|
|
|
|
enum State {
|
|
|
|
//status
|
|
|
|
Enable,
|
|
|
|
Pressed,
|
|
|
|
Hoverd,
|
|
|
|
Disabel,
|
|
|
|
//button type
|
|
|
|
Primary,
|
|
|
|
Secondary,
|
|
|
|
Tertiary
|
|
|
|
}
|
|
|
|
}
|