many improvements and reimplementations

This commit is contained in:
itsmattkc
2021-11-29 21:22:49 -08:00
parent 495b07fc55
commit 239a019690
21 changed files with 874 additions and 495 deletions
+7 -3
View File
@@ -119,6 +119,8 @@ protected:
virtual void CopyNodesToClipboardInternal(QXmlStreamWriter *writer, const QVector<Node*> &nodes, void* userdata) override;
virtual void PasteNodesFromClipboardInternal(QXmlStreamReader *reader, XMLNodeData &xml_node_data, void* userdata) override;
virtual void changeEvent(QEvent *e) override;
private:
void AttachItemsToCursor(const QVector<NodeViewItem *> &items);
@@ -162,8 +164,8 @@ private:
NodeViewEdge* create_edge_;
NodeViewItem* create_edge_output_item_;
NodeViewItem* create_edge_input_item_;
NodeViewItem *create_edge_expand_item_;
NodeInput create_edge_input_;
bool create_edge_dst_temp_expanded_;
bool create_edge_already_exists_;
bool create_edge_from_output_;
@@ -181,8 +183,6 @@ private:
double scale_;
bool first_show_;
static const double kMinimumScale;
private slots:
@@ -225,6 +225,10 @@ private slots:
void UngroupNodes();
void ShowNodeProperties();
void LabelSelectedNodes();
};
}