Commit Graph

20 Commits

Author SHA1 Message Date
paceholder f494150bee Add connection created/deleted slots to nodedatamodel (#175) (#211) 2019-02-10 17:07:58 +01:00
Davide Faconti 5ad2aaf21f Add signal for embedded widget size changes (#187) 2019-02-09 19:15:43 +01: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
Andrey Syrokomskiy cc4b3ae777 Added the new signal FlowScene::nodePlaced(). 2019-02-09 18:19:39 +01:00
fredakilla 282b439af0 Cleanup Qt keywords (#199)
* Qt no keywords

* replace emit with Q_EMIT

* add QT_NO_KEYWORDS definition to CMakeLists.txt
2019-02-06 22:05:38 +01: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