Files
KDDockWidgets/src/private/quick/qml/ClassicIndicatorsOverlay.qml
Sergio Martins 2c917dcd7c qml: Show 4 proper indicators when dragging in a floating window
They don't do much yet, but at least appear.
2020-08-11 01:35:28 +01:00

45 lines
1.1 KiB
QML

import QtQuick 2.9
import com.kdab.dockwidgets 1.0
Item {
id: root
anchors.fill: parent
readonly property int outterMargin: 10
ClassicIndicator {
indicatorType: DropIndicatorOverlayInterface.DropLocation_OutterLeft
anchors {
left: parent.left
leftMargin: outterMargin
verticalCenter: parent.verticalCenter
}
}
ClassicIndicator {
indicatorType: DropIndicatorOverlayInterface.DropLocation_OutterRight
anchors {
right: parent.right
rightMargin: outterMargin
verticalCenter: parent.verticalCenter
}
}
ClassicIndicator {
indicatorType: DropIndicatorOverlayInterface.DropLocation_OutterTop
anchors {
top: parent.top
topMargin: outterMargin
horizontalCenter: parent.horizontalCenter
}
}
ClassicIndicator {
indicatorType: DropIndicatorOverlayInterface.DropLocation_OutterBottom
anchors {
bottom: parent.bottom
bottomMargin: outterMargin
horizontalCenter: parent.horizontalCenter
}
}
}