|
|
@ -95,6 +95,8 @@ MouseArea{
|
|
|
|
property bool inAttentionAnimation: false
|
|
|
|
property bool inAttentionAnimation: false
|
|
|
|
property bool inBlockingAnimation: false
|
|
|
|
property bool inBlockingAnimation: false
|
|
|
|
property bool inBouncingAnimation: false
|
|
|
|
property bool inBouncingAnimation: false
|
|
|
|
|
|
|
|
property bool inMimicParabolicAnimation: false
|
|
|
|
|
|
|
|
property real mimicParabolicScale: -1
|
|
|
|
property bool inPopup: false
|
|
|
|
property bool inPopup: false
|
|
|
|
property bool inRemoveStage: false
|
|
|
|
property bool inRemoveStage: false
|
|
|
|
property bool inWheelAction: false
|
|
|
|
property bool inWheelAction: false
|
|
|
@ -360,16 +362,21 @@ MouseArea{
|
|
|
|
NumberAnimation { duration: 3 * mainItemContainer.animationTime }
|
|
|
|
NumberAnimation { duration: 3 * mainItemContainer.animationTime }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
Behavior on nScale {
|
|
|
|
/*Behavior on nScale {
|
|
|
|
enabled: root.globalDirectRender
|
|
|
|
enabled: root.globalDirectRender
|
|
|
|
NumberAnimation { duration: root.directRenderAnimationTime }
|
|
|
|
NumberAnimation { duration: root.directRenderAnimationTime }
|
|
|
|
}
|
|
|
|
}*/
|
|
|
|
|
|
|
|
|
|
|
|
Behavior on nHiddenSize {
|
|
|
|
Behavior on nHiddenSize {
|
|
|
|
enabled: wrapper.opacity > 0
|
|
|
|
enabled: !root.globalDirectRender || mainItemContainer.inMimicParabolicAnimation
|
|
|
|
NumberAnimation { duration: 3 * mainItemContainer.animationTime }
|
|
|
|
NumberAnimation { duration: 3 * mainItemContainer.animationTime }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Behavior on nHiddenSize {
|
|
|
|
|
|
|
|
enabled: root.globalDirectRender && !mainItemContainer.inMimicParabolicAnimation
|
|
|
|
|
|
|
|
NumberAnimation { duration: root.directRenderAnimationTime }
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Rectangle{
|
|
|
|
/* Rectangle{
|
|
|
|
width: !root.vertical ? parent.width : 1
|
|
|
|
width: !root.vertical ? parent.width : 1
|
|
|
|
height: !root.vertical ? 1 : parent.height
|
|
|
|
height: !root.vertical ? 1 : parent.height
|
|
|
@ -452,10 +459,15 @@ MouseArea{
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
Behavior on nHiddenSize {
|
|
|
|
Behavior on nHiddenSize {
|
|
|
|
enabled: wrapper.opacity > 0
|
|
|
|
enabled: !root.globalDirectRender || mainItemContainer.inMimicParabolicAnimation
|
|
|
|
NumberAnimation { duration: 3 * mainItemContainer.animationTime }
|
|
|
|
NumberAnimation { duration: 3 * mainItemContainer.animationTime }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Behavior on nHiddenSize {
|
|
|
|
|
|
|
|
enabled: root.globalDirectRender && !mainItemContainer.inMimicParabolicAnimation
|
|
|
|
|
|
|
|
NumberAnimation { duration: root.directRenderAnimationTime }
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Rectangle{
|
|
|
|
/* Rectangle{
|
|
|
|
width: !root.vertical ? parent.width : 1
|
|
|
|
width: !root.vertical ? parent.width : 1
|
|
|
|
height: !root.vertical ? 1 : parent.height
|
|
|
|
height: !root.vertical ? 1 : parent.height
|
|
|
@ -1080,6 +1092,10 @@ MouseArea{
|
|
|
|
function slotMimicEnterForParabolic(){
|
|
|
|
function slotMimicEnterForParabolic(){
|
|
|
|
if (containsMouse) {
|
|
|
|
if (containsMouse) {
|
|
|
|
if (!inBlockingAnimation || inAttentionAnimation) {
|
|
|
|
if (!inBlockingAnimation || inAttentionAnimation) {
|
|
|
|
|
|
|
|
if (inMimicParabolicAnimation) {
|
|
|
|
|
|
|
|
mimicParabolicScale = root.zoomFactor;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
wrapper.calculateScales(icList.currentSpot);
|
|
|
|
wrapper.calculateScales(icList.currentSpot);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|