| 20 | using QtNodes::Node; |
| 21 | |
| 22 | NodeGeometry:: |
| 23 | NodeGeometry(std::unique_ptr<NodeDataModel> const &dataModel) |
| 24 | : _width(50) |
| 25 | , _height(50) |
| 26 | , _inputPortWidth(4) |
| 27 | , _outputPortWidth(4) |
| 28 | , _entryHeight(1) |
| 29 | , _spacing(1) |
| 30 | , _hovered(false) |
| 31 | , _draggingPos(-1000, -1000) |
| 32 | , _dataModel(dataModel) |
| 33 | , _fontMetrics(QFont()) |
| 34 | , _boldFontMetrics(QFont()) |
| 35 | , _ports_layout(PortLayout::Vertical ) |
| 36 | { |
| 37 | QFont f; |
| 38 | f.setPointSize(12); |
| 39 | _boldFontMetrics = QFontMetrics(f); |
| 40 | } |
| 41 | |
| 42 | unsigned int |
| 43 | NodeGeometry::nSources() const |
nothing calls this directly
no outgoing calls
no test coverage detected