Edge Class
The Edge class is a basic connection between two nodes. More...
Header: | #include <Edge> |
Inherits: | QQuickItem. |
Properties
- 23 properties inherited from QQuickItem
Public Functions
- 92 public functions inherited from QQuickItem
Public Slots
- 1 public slot inherited from QQuickItem
Signals
void | curvedChanged(bool curved) |
void | itemAChanged(NodeBase * arg) |
void | itemBChanged(NodeBase * arg) |
- 1 signal inherited from QQuickItem
Additional Inherited Members
- 33 protected functions inherited from QQuickItem
Detailed Description
The Edge class is a basic connection between two nodes.
When two objects of the NodeBase type are to be connected in the GraphEngine an Edge object is used to hold a reference to the two objects.
It is the responsibility of the Edge object to notify the two NodeBase objects about when it has been added or removed.
Property Documentation
curved : int
Access functions:
int | curved() const |
void | setCurved(int curved) |
Notifier signal:
void | curvedChanged(bool curved) |
itemA : NodeBase *
Access functions:
NodeBase * | itemA() const |
void | setItemA(NodeBase * arg) |
Notifier signal:
void | itemAChanged(NodeBase * arg) |
itemB : NodeBase *
Access functions:
NodeBase * | itemB() const |
void | setItemB(NodeBase * arg) |
Notifier signal:
void | itemBChanged(NodeBase * arg) |