mirror of
https://github.com/KDE/latte-dock.git
synced 2024-12-25 19:21:41 +03:00
update root references to Abilities
This commit is contained in:
parent
152a467878
commit
c43dd6d003
@ -31,29 +31,6 @@ AbilityDefinition.Animations {
|
||||
|
||||
property Item publicApi: null
|
||||
|
||||
//DEPRECATED
|
||||
//C1 property bool animationsEnabled: -> active
|
||||
//C11 property int animationsNeedBothAxis:0 //animations need space in both axes, e.g zooming a task
|
||||
//C12 property int animationsNeedLength: 0 // animations need length, e.g. adding a task
|
||||
//C13 property int animationsNeedThickness: 0 // animations need thickness, e.g. bouncing animation
|
||||
|
||||
//C8 function slotAnimationsNeedBothAxis(step) { -> events
|
||||
//C9 function slotAnimationsNeedLength(step) { -> event
|
||||
//C10 function slotAnimationsNeedThickness(step) { -> events
|
||||
|
||||
//C2 property bool thickAnimated: -> hasThicknessAnimation
|
||||
//C5 property int appliedDurationTime: -> speedFactor.normal
|
||||
//C7 property int durationTime -> speedFactor.current
|
||||
//C6 property int animationTime -> duration.proposed
|
||||
|
||||
//C20 root.shortDuration -> animations.duration.small
|
||||
//C21 root.longDuration -> animations.duration.large
|
||||
|
||||
//parabolic
|
||||
//C3 property int animationStep -> hoverPixelSensitivity
|
||||
//C4 property int animationsZoomFactor -> minZoomFactor
|
||||
|
||||
|
||||
//! animations properties
|
||||
active: plasmoid.configuration.animationsEnabled && LatteCore.WindowSystem.compositingActive
|
||||
hasThicknessAnimation: (needBothAxis.count>0) || (needThickness.count>0)
|
||||
|
@ -459,13 +459,13 @@ Item {
|
||||
property Item latteAppletContainer
|
||||
property Item latteApplet
|
||||
|
||||
readonly property Item animations: _animations
|
||||
readonly property Item autosize: _autosize
|
||||
readonly property Item container: _container
|
||||
readonly property Item indicatorsManager: indicators
|
||||
readonly property Item parabolicManager: _parabolicManager
|
||||
readonly property Item maskManager: visibilityManager
|
||||
readonly property Item layoutsContainerItem: layoutsContainer
|
||||
readonly property alias animations: _animations
|
||||
readonly property alias autosize: _autosize
|
||||
readonly property alias container: _container
|
||||
readonly property alias indicatorsManager: indicators
|
||||
readonly property alias parabolicManager: _parabolicManager
|
||||
readonly property alias maskManager: visibilityManager
|
||||
readonly property alias layoutsContainerItem: layoutsContainer
|
||||
|
||||
property QtObject latteView: null
|
||||
property QtObject shortcutsEngine: null
|
||||
|
@ -25,28 +25,6 @@ import org.kde.latte.abilities.definitions 0.1 as AbilityDefinition
|
||||
import org.kde.latte.core 0.2 as LatteCore
|
||||
|
||||
AnimationsBase {
|
||||
//DEPRECATED
|
||||
//C1 A1 property bool animationsEnabled: -> active
|
||||
//C11 A11 property int animationsNeedBothAxis:0 //animations need space in both axes, e.g zooming a task
|
||||
//C12 A12 property int animationsNeedLength: 0 // animations need length, e.g. adding a task
|
||||
//C13 A13 property int animationsNeedThickness: 0 // animations need thickness, e.g. bouncing animation
|
||||
|
||||
//C8 A8 signal signalAnimationsNeedBothAxis(int value);
|
||||
//C9 A9 signal signalAnimationsNeedLength(int value);
|
||||
//C10 A10 signal signalAnimationsNeedThickness(int value);
|
||||
|
||||
//C2 A2 property bool thickAnimated: -> hasThicknessAnimation
|
||||
//C5 A5 property int appliedDurationTime: -> speedFactor.normal
|
||||
//C7 A7 property int durationTime -> speedFactor.current
|
||||
//C6 A6 property int animationTime -> duration.proposed
|
||||
|
||||
//C20 A20 shortDuration -> animations.duration.small
|
||||
//C21 A21 longDuration -> animations.duration.large
|
||||
|
||||
//parabolic
|
||||
//C3 A3 property int animationStep -> hoverPixelSensitivity
|
||||
//C4 A4 property int animationsZoomFactor -> minZoomFactor
|
||||
|
||||
readonly property AbilityDefinition.Animations local: AbilityDefinition.Animations{
|
||||
active: animations.speedFactor.current !== 0
|
||||
hoverPixelSensitivity: 1
|
||||
|
@ -139,8 +139,8 @@ Item {
|
||||
property Item dragSource: null
|
||||
property Item parabolicManager: _parabolicManager
|
||||
property Item tasksExtendedManager: _tasksExtendedManager
|
||||
readonly property Item animations: _animations
|
||||
readonly property Item container: _container
|
||||
readonly property alias animations: _animations
|
||||
readonly property alias container: _container
|
||||
|
||||
readonly property alias containsDrag: mouseHandler.containsDrag
|
||||
readonly property bool dragAreaEnabled: latteView ? (root.dragSource !== null
|
||||
|
Loading…
Reference in New Issue
Block a user