effectkit: Allow disabling dnd in WindowHeap
This commit is contained in:
parent
2456344fae
commit
6dffda920a
1 changed files with 2 additions and 0 deletions
|
@ -26,6 +26,7 @@ FocusScope {
|
||||||
property int selectedIndex: -1
|
property int selectedIndex: -1
|
||||||
property int animationDuration: PlasmaCore.Units.longDuration
|
property int animationDuration: PlasmaCore.Units.longDuration
|
||||||
property bool animationEnabled: false
|
property bool animationEnabled: false
|
||||||
|
property bool dragEnabled: true
|
||||||
property real padding: 0
|
property real padding: 0
|
||||||
property var showOnly: []
|
property var showOnly: []
|
||||||
|
|
||||||
|
@ -300,6 +301,7 @@ FocusScope {
|
||||||
|
|
||||||
component DragManager : DragHandler {
|
component DragManager : DragHandler {
|
||||||
id: dragHandler
|
id: dragHandler
|
||||||
|
enabled: heap.dragEnabled
|
||||||
target: null
|
target: null
|
||||||
|
|
||||||
readonly property double targetScale: {
|
readonly property double targetScale: {
|
||||||
|
|
Loading…
Reference in a new issue