Work on plugin mechanism
Context actions have become normal actions in the pluginwidget so the widget knows abot them and can easily do things like enable/disable.
This commit is contained in:
parent
eca8841427
commit
a704332342
24 changed files with 239 additions and 267 deletions
|
|
@ -24,8 +24,11 @@ public:
|
|||
/// Returns the toolbar buttons for this page
|
||||
virtual bool canClose();
|
||||
|
||||
virtual QList<QAction *> actions() { return QList<QAction*>(); }
|
||||
|
||||
protected:
|
||||
IPluginContentWidgetContext *context() { return m_context; }
|
||||
|
||||
private:
|
||||
IPluginContentWidgetContext *m_context;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue