nodeview: implemented workable solution to connecting contexts together to show all
Functional, now we just need to fine tune and optimize it.
This commit is contained in:
@@ -138,6 +138,8 @@ private:
|
||||
|
||||
void CreateNewEdge(NodeViewItem *output_item);
|
||||
|
||||
NodeViewItem *UpdateNodeItem(Node *node);
|
||||
|
||||
class NodeViewAttachNodesToCursor : public UndoCommand
|
||||
{
|
||||
public:
|
||||
@@ -232,6 +234,8 @@ private:
|
||||
|
||||
bool create_edge_already_exists_;
|
||||
|
||||
QTimer reposition_contexts_timer_;
|
||||
|
||||
static const double kMinimumScale;
|
||||
|
||||
private slots:
|
||||
@@ -288,6 +292,8 @@ private slots:
|
||||
|
||||
void MoveToScenePoint(const QPointF &pos);
|
||||
|
||||
void RepositionContexts();
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user