nodeview: implemented copying/pasting nodes
Re-uses XML-based project saving/loading functions to store nodes, their parameters, and their connections in a text-based format in the clipboard.
This commit is contained in:
@@ -40,6 +40,11 @@ public:
|
||||
|
||||
virtual void DeleteSelected() override;
|
||||
|
||||
virtual void CutSelected() override;
|
||||
virtual void CopySelected() override;
|
||||
|
||||
virtual void Paste() override;
|
||||
|
||||
public slots:
|
||||
void Select(const QList<Node*>& nodes);
|
||||
void SelectWithDependencies(const QList<Node*>& nodes);
|
||||
|
||||
Reference in New Issue
Block a user