Commit Graph

18 Commits

Author SHA1 Message Date
Dmitry Pinaev efedc1e06c Format code uniformly, fix compilation errors 2018-08-22 22:36:34 +02:00
Russell Greene 487fb77b27 Fix various warnings
* consistently use class for ConnectionID
* use QT_NO_DEBUG instead of NDEBUG
2018-08-22 12:10:03 -04:00
Russell Greene d5ed27e30c Convert to modelview philosophy 2018-08-09 20:19:12 -06:00
Davide Faconti a8264e391d Remove NodeDataModel::clone() (#164)
* removed NodeDataModel::clone(), using a more classic Factory/Builder pattern.

* trying to make visual studio happy

* Allow the DataModelRegistry to use static method Name() if defined

* use modern type_traits
2018-05-11 11:00:30 +02:00
Justin Bassett 5f3d84329b Misc improvements (use std::move, use const&, etc) (#170) 2018-05-11 10:21:44 +02:00
Justin Bassett 2d4499c1fb Move implementation of std::make_unique to QtNodes::detail::make_unique (#162) 2018-05-02 17:54:58 +02:00
paceholder 2c94a67cee Fix memory leake by passing parent to FlowScene (#151) (#155) 2018-04-27 19:37:58 +02:00
Dmitry Pinaev a93aded454 Export NodeState from dll (#156) 2018-04-25 18:20:09 +02:00
Dmitry Pinaev 6a4340ec2e Implement Converters separately from DataModels (#148) 2018-04-15 12:11:29 +02:00
Justin ddfdaa947d Improve cmake (modernize, add install()s) (#142)
* Update CMakeLists.txt to modern practices

* Add CMake installs()
restructure include/ src/ to accomodate it
2018-03-11 18:03:03 +01:00
Dmitry Pinaev 276940926d Expose Node and Connection classes (#97) 2017-06-08 09:17:06 +02:00
Russell Greene d3cc2fb4db Add NodePaintDelegate for custom painting (#67)
* Add onPaint callback to NodeDataModel for custom painting stuff

* Add NodePainterDelegate that allows for custom painting

* Fix state call

* Update NodePainter.cpp
2017-04-22 14:01:42 +02:00
Dmitry Pinaev 318ce62ba7 Implement JSON-based styles for Nodes, Connections, and Scene 2016-11-27 20:07:18 +01:00
Dmitry Pinaev bc56b9af91 Implement save/restore mechanism 2016-09-25 19:34:16 +02:00
Dmitry Pinaev f3d15d2569 Fix #10. Use smart pointers for referencing Nodes and Connections 2016-05-29 22:39:19 +02:00
Dmitry Pinaev 2a434081aa Rework models 2016-03-29 08:45:30 +02:00
Dmitry Pinaev ddee644089 Rework models [unfinished] 2016-01-18 09:29:10 +01:00
Dmitry Pinaev 3a3e2dc87d Restructure sources 2016-01-03 19:46:03 +01:00