Introduced the MasterController as part of working on loading catalogue information.

Need a central piece to manage the catalogue data per database to prevent loading
this multiple times. MasterController is now also used to enable reopening the
connection manager from a query window after the connection manager has been closed.
This commit is contained in:
Eelke Klein 2017-02-01 18:01:02 +01:00
parent b6d986051b
commit 6370050204
36 changed files with 769 additions and 71 deletions

View file

@ -43,7 +43,15 @@ SOURCES += main.cpp\
pgtype.cpp \
pgsqldatabasecatalogue.cpp \
pgtypecontainer.cpp \
tuplesresultwidget.cpp
tuplesresultwidget.cpp \
pgnamespace.cpp \
pgclass.cpp \
backupdialog.cpp \
paramlistmodel.cpp \
paramtypedelegate.cpp \
typeselectionitemmodel.cpp \
opendatabase.cpp \
MasterController.cpp
HEADERS += mainwindow.h \
serverproperties.h \
@ -72,7 +80,15 @@ HEADERS += mainwindow.h \
pgtype.h \
pgsqldatabasecatalogue.h \
pgtypecontainer.h \
tuplesresultwidget.h
tuplesresultwidget.h \
pgnamespace.h \
pgclass.h \
backupdialog.h \
paramlistmodel.h \
paramtypedelegate.h \
typeselectionitemmodel.h \
opendatabase.h \
MasterController.h
FORMS += mainwindow.ui \
serverproperties.ui \
@ -80,7 +96,8 @@ FORMS += mainwindow.ui \
connectionmanagerwindow.ui \
databaseinspectorwidget.ui \
tuplesresultwidget.ui \
querytab.ui
querytab.ui \
backupdialog.ui
RESOURCES += \
resources.qrc