quick: Some style improvements to the example

This commit is contained in:
Sergio Martins
2020-06-01 14:53:18 +01:00
parent 443f80cdab
commit c2d51bddc8
4 changed files with 49 additions and 6 deletions

View File

@@ -3,10 +3,44 @@ import QtQuick 2.6
MultiSplitter {
id: root
MouseArea {
anchors.fill: parent
onClicked: {
_controller.addItem(KDMultiSplitter.Location_OnLeft, null);
Indicator {
location: KDMultiSplitter.Location_OnLeft;
anchors {
verticalCenter: parent.verticalCenter
left: parent.left
leftMargin: 4
}
z: 10
}
Indicator {
location: KDMultiSplitter.Location_OnRight;
anchors {
verticalCenter: parent.verticalCenter
right: parent.right
rightMargin: 4
}
z: 10
}
Indicator {
location: KDMultiSplitter.Location_OnTop;
anchors {
horizontalCenter: parent.horizontalCenter
top: parent.top
topMargin: 4
}
z: 10
}
Indicator {
location: KDMultiSplitter.Location_OnBottom;
anchors {
horizontalCenter: parent.horizontalCenter
bottom: parent.bottom
bottomMargin: 4
}
z: 10
}
}