eelke
601d071d0f
Proof of concept for having the context actions statically defined in the module.
...
Needs work for correctly placing the items in menu and on toolbar.
Old system still needs to be removed left in place to keep app useable.
2019-08-14 09:06:48 +02:00
eelke
a704332342
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.
2019-02-08 10:10:11 +01:00
eelke
be2ffd7ef9
Bunch of renames to reduce confusion.
2019-01-31 19:31:17 +01:00
eelke
cbb2f897aa
Define toolbar locations for the actions of the QueryTool module.
2019-01-31 19:25:54 +01:00
eelke
3e4917428d
TablesPage is now CatalogInspector and is now a module.
2019-01-06 10:11:48 +01:00
eelke
f4f2474a81
Moved definition of widget instance actions to the module so other parts of the system can no about them.
...
The plugin system will create the Action objects and bind them to the specified slots of the
specific widget instances.
2019-01-05 19:58:23 +01:00
eelke
4c3a2df65c
Fix plugin macro that added quotes to things that were already strings causing identifiers to not match.
...
+ some debug logging
2019-01-01 14:35:22 +01:00
eelke
dc8a052544
Basic concept of MenuAction is working
...
Module can register action
Window adds this action to its menu
Clicking the menu item for the action has the expected result
But menu structure still needs work (everything is now put into one dropdown menu)
2019-01-01 11:15:16 +01:00
eelke
a29671593e
Simplified module registration
2019-01-01 08:26:20 +01:00
eelke
b0cd47ef46
Extended the plugin system to allow for dynamic runtime bindings between modules.
...
As a test implementation, this allows the TablesPage to open a CrudTab for a table/view without
the need for TablesPage, CrudTab and DatabaseWindow to know anything about each other.
2018-12-31 15:26:36 +01:00
eelke
15bee33076
Made step to remove ASyncWindow in favour of usage of Future and FutureWatcher.
...
This should allow concurrency in the plugins to be independent from their container.
Contains also some work on the system for registering plugins.
2018-12-30 15:46:15 +01:00