no more references on clickable
This commit is contained in:
parent
871e654af2
commit
cb6cf28c13
1 changed files with 0 additions and 26 deletions
|
|
@ -1,26 +0,0 @@
|
||||||
import QtQuick
|
|
||||||
import "../config/"
|
|
||||||
|
|
||||||
MouseArea {
|
|
||||||
id: mouseArea
|
|
||||||
|
|
||||||
hoverEnabled: true
|
|
||||||
cursorShape: Qt.PointingHandCursor
|
|
||||||
property alias color: rectangle.color
|
|
||||||
property alias border: rectangle.border
|
|
||||||
|
|
||||||
Rectangle {
|
|
||||||
id: rectangle
|
|
||||||
anchors.fill: parent
|
|
||||||
|
|
||||||
radius: Dimensions.radius
|
|
||||||
color: mouseArea.containsMouse ? Theme.palette.primary : Theme.palette.base100
|
|
||||||
Behavior on color {
|
|
||||||
ColorAnimation {
|
|
||||||
properties: "color"
|
|
||||||
duration: 200
|
|
||||||
easing.type: Easing.InOutQuad
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Loading…
Add table
Reference in a new issue