nodeview: improved bounding rect and centering
This commit is contained in:
@@ -63,8 +63,8 @@ public:
|
||||
void SelectAll();
|
||||
void DeselectAll();
|
||||
|
||||
void Select(QVector<Node *> nodes);
|
||||
void SelectWithDependencies(QVector<Node *> nodes);
|
||||
void Select(QVector<Node *> nodes, bool center_view_on_item);
|
||||
void SelectWithDependencies(QVector<Node *> nodes, bool center_view_on_item);
|
||||
|
||||
void CopySelected(bool cut);
|
||||
void Paste();
|
||||
@@ -217,6 +217,10 @@ private slots:
|
||||
void AddNodePosition(Node *node, Node *relative);
|
||||
void RemoveNodePosition(Node *node, Node *relative);
|
||||
|
||||
void UpdateSceneBoundingRect();
|
||||
|
||||
void CenterOnItemsBoundingRect();
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user