Warning, /plasma/latte-dock/declarativeimports/abilities/definition/Animations.qml is written in an unsupported language. File is not indexed.

0001 /*
0002     SPDX-FileCopyrightText: 2020 Michail Vourlakos <mvourlakos@gmail.com>
0003     SPDX-License-Identifier: GPL-2.0-or-later
0004 */
0005 
0006 import QtQuick 2.0
0007 
0008 import "./animations" as AnimationsTypes
0009 
0010 Item {
0011     property bool active: false
0012     readonly property bool hasThicknessAnimation: (needBothAxis.count>0) || (needThickness.count>0)
0013     //! mouse sensitivity in pixels for parabolic effect hover animation
0014     property int hoverPixelSensitivity: 1
0015 
0016     //! animations properties
0017     property AnimationsTypes.Duration duration: AnimationsTypes.Duration {
0018         large: 500
0019         proposed: 1000
0020         small: 250
0021     }
0022 
0023     property AnimationsTypes.SpeedFactor speedFactor: AnimationsTypes.SpeedFactor {
0024         id: _speedFactor
0025         normal: 1.0
0026         current: 1.0
0027     }
0028 
0029     property AnimationsTypes.Requirements requirements: AnimationsTypes.Requirements {
0030         zoomFactor: 1.0
0031     }
0032 
0033     //! animations tracking
0034     property AnimationsTypes.Tracker needBothAxis: AnimationsTypes.Tracker{
0035         count: 0
0036         events: []
0037 
0038         //function addEvent(event);
0039         //function removeEvent(event);
0040     }
0041     property AnimationsTypes.Tracker needLength: AnimationsTypes.Tracker{
0042         count: 0
0043         events: []
0044 
0045         //function addEvent(event);
0046         //function removeEvent(event);
0047     }
0048     property AnimationsTypes.Tracker needThickness: AnimationsTypes.Tracker{
0049         count: 0
0050         events: []
0051 
0052         //function addEvent(event);
0053         //function removeEvent(event);
0054     }
0055 }