right click menu in node view for adding nodes

This commit is contained in:
itsmattkc
2019-04-13 15:57:09 +10:00
parent e20b1d35c2
commit 6bf62017ea
18 changed files with 309 additions and 294 deletions
+3 -1
View File
@@ -12,12 +12,13 @@ class NodeEditor : public EffectsPanel {
Q_OBJECT
public:
NodeEditor(QWidget* parent = nullptr);
virtual ~NodeEditor() override;
virtual void Retranslate() override;
protected:
virtual void LoadEvent() override;
virtual void ClearEvent() override;
virtual void AboutToClearEvent() override;
private:
QGraphicsScene scene_;
@@ -35,6 +36,7 @@ private:
private slots:
void ItemsChanged();
void ReloadEdges();
void ContextMenu();
};