work towards finishing nodeview copy/paste refactor
This commit is contained in:
@@ -52,6 +52,11 @@ public:
|
||||
|
||||
void SetContexts(const QVector<Node *> &nodes);
|
||||
|
||||
const QVector<Node*> &GetContexts() const
|
||||
{
|
||||
return contexts_;
|
||||
}
|
||||
|
||||
void CloseContextsBelongingToProject(Project *project);
|
||||
|
||||
void ClearGraph();
|
||||
@@ -97,11 +102,15 @@ public slots:
|
||||
|
||||
void CenterOnItemsBoundingRect();
|
||||
|
||||
void CenterOnNode(olive::Node *n);
|
||||
|
||||
signals:
|
||||
void NodesSelected(const QVector<Node*>& nodes);
|
||||
|
||||
void NodesDeselected(const QVector<Node*>& nodes);
|
||||
|
||||
void NodeGroupOpenRequested(NodeGroup *group);
|
||||
|
||||
protected:
|
||||
virtual void keyPressEvent(QKeyEvent *event) override;
|
||||
|
||||
@@ -141,6 +150,8 @@ private:
|
||||
|
||||
QPointF GetEstimatedPositionForContext(NodeViewItem *item, Node *context) const;
|
||||
|
||||
Node::Position GetAssumedPositionForSelectedNode(Node *node);
|
||||
|
||||
Menu *CreateAddMenu(Menu *parent);
|
||||
|
||||
void PositionNewEdge(const QPoint &pos);
|
||||
|
||||
Reference in New Issue
Block a user