Hi guys,
Related to the previous post, where i was struggeling with a node library for too long time.
I had to make a choice what to do.
1. Just don't use the qtnodeeditor lib.
2. Don't use node structure's.
3. Try to create your own lib.
Choosed nr.3.
It took a few day's to figur out how the qt grapics widget works. And how to display qt widget in it.
Then made a solution for creating a simple setup for input, output ports and their widgets.
In the end, the result surprised me.
This is a test video, that loads a few input and output ports, and widgets attached to the port.
Then you can connect the output ports with the input ports. Data flow will stream then from output to input.
This whole idea can be used to format several big and complicated projects, like :
1. rtapi multi threading on several cpu's.
2. super imposed interpreters, running on multiple threads.
3. cnc machine interpreter to machine axis layout. Like connecting ABC, UWV axis.
4. Ethercat bus simulator on real hardware.
5. Plc
6 Classic ladder
User can just create .ui based widgets. This is easy to design. Each .ui widget then may have multiple input or output ports.
The logic is then done by the .ui class, wich conttains also the .h and .cpp files.
Let me know what you think, this is just an example :
Greetings.