nodeeditor
nodeeditor copied to clipboard
Special context menus
I think it'd be useful to have context menus for nodes. I also think it'd be useful for the user to be able to configure which actions are there, or maybe even totally custom action menus.
Another possibility is you could be able to set the ContextMenuPolicy to allow for custom context menus entirely on nodes.
What is the best way to go about this? Some sort of addNodeContextAction?
Maybe return an std::vector<QAction*> from the model? An empty vector would mean no context menu.
That sounds like a sound idea. I'd be willing to work on that when I have the time.