Commit Graph

36 Commits

Author SHA1 Message Date
Dmitry Pinaev ab53587dc6 B 2020-02-18 09:32:41 +01:00
Dmitry Pinaev b8287567f7 A 2020-02-07 17:36:32 +01:00
Dmitry Pinaev ad1c48a6ee experiment 2020-02-07 00:16:39 +01:00
Malcohol 2816c94fca Mimimum expanding widgets (#246)
Support widgets with QSizePolicy::MinimumExpanding
2019-07-28 14:41:55 +02:00
Davide Faconti 80f4a278c9 Improve scene cleanup operations (#185)
* cleaner cleanup

* avoid inconsistency in nPorts

* allow exceptions if the user pass an invalid PortIndex
2019-02-09 19:13:27 +01:00
Justin Bassett 5f3d84329b Misc improvements (use std::move, use const&, etc) (#170) 2018-05-11 10:21:44 +02:00
Dmitry Pinaev 6a4340ec2e Implement Converters separately from DataModels (#148) 2018-04-15 12:11:29 +02:00
David Bachrati 64dd7d491a Implement automatic insertion of typecast nodes (#52)
* Automatic type cast node insertation working in a basic manner

* Port paint fix to handle convertible types

* Code cleanup, documentation,, and minor fixes

* Fixing master merge

* Master merge fix 2

* Master merge fix 3

* Code style fixes

* Fixing logic error, where typecast node with the same input-output types were permitted

* Fixes based on @russelltg 's suggestions

* Got rid of unique_ptr static_casts

* Partial fixes from the code review

* Merging master into branch vol. 3
2017-01-30 18:03:49 +01:00
Dmitry Pinaev a18376f2e1 Fix windows build with namespaces 2017-01-30 16:06:30 +01:00
Dmitry Pinaev 0eaa18eb30 Introducet QtNodes namespace (#40) 2017-01-30 15:00:42 +01:00
David Bachrati 770a1aa9ec Implement runtime validation and error reporting (#46)
* Node validation and error display implemented

* Added option to iterate through nodes in the scene. (Useful to read out data from all the nodes, makes code generation based on the graphs easier.)

* Visual error fix for nodes that change size depending on input, plus minor styling and logic fixes in the example, based on the comments of @russelltg

* Validation extended to handle warnings, based on the idea of @russeltg ; Error display colors now come from the style system;  Additional bugfixes

* DefaultStyle.json identation fix

* FlowScene.cpp identation fix

* Travis build test fix
2017-01-25 11:34:03 +01:00
David Bachrati a62f088b2b Renamable input and output ports on nodes (#45)
* Add option to set custom captions for node ports

* Calculator example modified to consistently use custom ports labels where it makes sense

* Minor fixes in modified code
2017-01-12 23:10:03 +01:00
Dmitry Pinaev f2875edfbe Fix node rendering with very long captions 2016-12-22 13:17:40 +01:00
Dmitry Pinaev 6c730a2ef6 Implement hash-based connection color 2016-12-11 17:35:22 +01:00
Dmitry Pinaev 318ce62ba7 Implement JSON-based styles for Nodes, Connections, and Scene 2016-11-27 20:07:18 +01:00
Jean-Michaël Celerier 25dffe3c07 fixes for building with GCC 6 under Linux 2016-10-06 12:06:10 +02:00
Dmitry Pinaev bc56b9af91 Implement save/restore mechanism 2016-09-25 19:34:16 +02:00
Dmitry Pinaev e6d264438d Fix #20 Make nodes resizable 2016-09-20 10:05:45 +02:00
Dmitry Pinaev a4878dd16e Fix #19 Compute correcd Node size with resized embedded widget 2016-09-17 19:43:22 +02:00
Dmitry Pinaev 04cebe13f3 Fix 1 on Github. Adjust code to VisualStudio build 2016-09-14 23:35:31 +02:00
Dmitry Pinaev 18760caac2 Fix #16. Show node names 2016-08-22 22:20:34 +02:00
Dmitry Pinaev 3126d6dd5d Make data types accessible in models without touching data pointers 2016-08-14 21:26:02 +02:00
Dmitry Pinaev c543cf67fe Rename variables slot -> port 2016-06-05 22:16:43 +02:00
Dmitry Pinaev 025e767ddc Fix #12. Improve widget positioning 2016-05-31 22:55:28 +02:00
Dmitry Pinaev 02b22c19b4 Fix #12. Embedd widget provided by model 2016-05-30 16:37:11 +02:00