Closed BECATRUE closed 1 year ago
'Database manager (hereafter referred to as dbmgr)' is an app for adding and removing available databases.
dbListWidget
removeButton
addButton
Frame and App will be implemented in apps.dbmgr.
Frame
App
apps.dbmgr
databaseList
database bus
Good! Please specify the detailed 'protocol' of bus messages in the code (maybe in the App docstring?).
Feature you want to implement
'Database manager (hereafter referred to as dbmgr)' is an app for adding and removing available databases.
Manager frame
dbListWidget
: A list for showing available databases. Each database can be removed (actually disconnected) whenremoveButton
(of each item) clicked.addButton
: A button for adding (actually connecting) a database.How the feature is implemented
Frame
andApp
will be implemented inapps.dbmgr
.Database adding mechanism:
addButton
and pop up a file explorer.databaseList
and send it todatabase bus
.Database removing mechanism:
removeButton
of a specific database and remove it in the internal list.databaseList
and send it todatabase bus
.Additional context