|
|
|
@ -5,12 +5,12 @@
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
import QtQuick 2.8
|
|
|
|
|
import QtQuick.Layouts 1.1
|
|
|
|
|
import QtQuick.Layouts
|
|
|
|
|
|
|
|
|
|
import QtGraphicalEffects 1.0
|
|
|
|
|
import Qt5Compat.GraphicalEffects
|
|
|
|
|
|
|
|
|
|
import org.kde.plasma.core 2.0 as PlasmaCore
|
|
|
|
|
import org.kde.plasma.components 2.0 as PlasmaComponents
|
|
|
|
|
import org.kde.plasma.components 3.0 as PlasmaComponents
|
|
|
|
|
import org.kde.plasma.plasmoid 2.0
|
|
|
|
|
|
|
|
|
|
import org.kde.taskmanager 0.1 as TaskManager
|
|
|
|
@ -31,7 +31,7 @@ import "../code/tools.js" as TaskTools
|
|
|
|
|
import "../code/activitiesTools.js" as ActivitiesTools
|
|
|
|
|
import "../code/ColorizerTools.js" as ColorizerTools
|
|
|
|
|
|
|
|
|
|
Item {
|
|
|
|
|
PlasmoidItem {
|
|
|
|
|
id:root
|
|
|
|
|
Layout.fillWidth: scrollingEnabled && !root.vertical
|
|
|
|
|
Layout.fillHeight: scrollingEnabled && root.vertical
|
|
|
|
@ -46,13 +46,7 @@ Item {
|
|
|
|
|
LayoutMirroring.enabled: Qt.application.layoutDirection === Qt.RightToLeft && !root.vertical
|
|
|
|
|
LayoutMirroring.childrenInherit: true
|
|
|
|
|
|
|
|
|
|
property bool plasma515: LatteCore.Environment.plasmaDesktopVersion >= LatteCore.Environment.makeVersion(5,15,0)
|
|
|
|
|
property bool plasma518: LatteCore.Environment.plasmaDesktopVersion >= LatteCore.Environment.makeVersion(5,18,0)
|
|
|
|
|
property bool plasma520: LatteCore.Environment.plasmaDesktopVersion >= LatteCore.Environment.makeVersion(5,20,0)
|
|
|
|
|
property bool plasmaGreaterThan522: LatteCore.Environment.plasmaDesktopVersion >= LatteCore.Environment.makeVersion(5,21,75)
|
|
|
|
|
property bool plasmaAtLeast524: LatteCore.Environment.plasmaDesktopVersion >= LatteCore.Environment.makeVersion(5,24,0)
|
|
|
|
|
property bool plasmaAtLeast525: LatteCore.Environment.plasmaDesktopVersion >= LatteCore.Environment.makeVersion(5,24,75)
|
|
|
|
|
property bool plasmaAtLeast526: LatteCore.Environment.plasmaDesktopVersion >= LatteCore.Environment.makeVersion(5,25,75)
|
|
|
|
|
property bool plasmaAtLeast600: LatteCore.Environment.plasmaDesktopVersion >= LatteCore.Environment.makeVersion(6,0,0)
|
|
|
|
|
|
|
|
|
|
property bool disableRestoreZoom: false //blocks restore animation in rightClick
|
|
|
|
|
property bool disableAllWindowsFunctionality: plasmoid.configuration.hideAllTasks
|
|
|
|
|