QmlNodeEditor
PortsDock.qml
Go to the documentation of this file.
1 import QtQuick 2.15
2 import QtQuick.Controls 2.15
3 
4 Column {
5  required property Component nodePortComponent
6  required property var model
7 
8  property real relativeX: parent.relativeX + x
9  property real relativeY: parent.relativeY + y
10 
11  property alias repeater: portDockRepeater
12  property int layoutDirection: Qt.LeftToRight
13 
14  width: nodeView.style.rightPortDockWidth + nodeView.style.nodePortConnectorMargin
15 
16  id: nodePortDock
17 
18  Repeater {
19  id: portDockRepeater
20  model: nodePortDock.model
21  anchors.left: parent.left
22  anchors.right: parent.right
23 
24  delegate: PortsDockRow {}
25  }
26 
27  Item {
28  id: filler
29  width: nodePortDock.width
30  height: 1
31  }
32 }