eelke
456180325e
Code cleanups
2018-12-31 15:45:53 +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
f996703937
Corrected some usage of QueueTask that was already broken as QueueTask is defunct.
2018-12-31 15:19:16 +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
eelke
a54a063c13
DatabaseWindow no longer has to pass the config to QueryTab, QueryTab can now init itself from the supplied context.
2018-12-30 15:44:05 +01:00
eelke
2a7e505dbf
Made a step in removing knowledge of DatabaseWindow from QueryTab as an effort to move
...
in the direction of a plugin system.
DatabaseWindow now passes a Context to QueryTab and other pages that give those pages an
API for passing information up the system without knowing anything about the sytem.
2018-12-29 18:59:54 +01:00
eelke
a0579538df
The tablespage now has a namespace filter allowing it to be used for
...
a pg_catalog and information_schema tab.
2018-12-29 10:56:24 +01:00
eelke
69473d65d2
Renamed MainWindow to DatabaseWindow so the name tells us the functionality provided by the window.
...
MainWindow was really a bad name as the app doesn't have a main window.
2018-12-28 12:55:11 +01:00
eelke
bb55ef12f3
Removed unused DatabaseWindow
2017-12-29 10:24:50 +01:00
eelke
23e307f93a
The ASyncDBConnection class uses C++ std::function callbacks now for reporting notices and state changes.
...
While I like some aspects of Qt's signals and slots system I prefer to
rely on more standard C++.
2017-12-28 07:28:21 +01:00
eelke
bebb3391c3
Builds on windows again
2017-11-26 13:07:21 +01:00