Commit 5465ddc
Fixed non-emit of NodeDelegateModel::in/outputConnectionCreated/Deleted.
The four virtual functions in NodeDelegateModel were not being called
anywhere in code as the logic was removed when FlowScene.cpp was removed
as part of the v3 upgrade.
This functionality has been restored thanks to two new functions
`DataFlowGraphModel::sendConnectionCreation` and
`DataFlowGraphModel::sendConnectionDeletion` which call the slots on
both the input and output nodes of any given connection.
Functions are:
- inputConnectionCreated
- inputConnectionDeleted
- outputConnectionCreated
- outputConnectionDeleted
Signed-off-by: Finn Rayment <finn@rayment.fr>1 parent 98a1260 commit 5465ddc
File tree
3 files changed
+35
-3
lines changed- include/QtNodes/internal
- src
3 files changed
+35
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
103 | 107 | | |
104 | 108 | | |
105 | 109 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | | - | |
| 135 | + | |
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
149 | 177 | | |
150 | 178 | | |
151 | 179 | | |
| |||
355 | 383 | | |
356 | 384 | | |
357 | 385 | | |
358 | | - | |
| 386 | + | |
359 | 387 | | |
360 | 388 | | |
361 | 389 | | |
| |||
0 commit comments