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.
This commit is contained in:
parent
f6ea2ce0a6
commit
2a7e505dbf
13 changed files with 220 additions and 113 deletions
|
|
@ -66,7 +66,6 @@ SOURCES += main.cpp\
|
|||
Module.cpp \
|
||||
EditorGutter.cpp \
|
||||
CodeEditor.cpp \
|
||||
PlgPage.cpp \
|
||||
PropertyProxyModel.cpp \
|
||||
CodeGenerator.cpp \
|
||||
UserConfiguration.cpp \
|
||||
|
|
@ -84,7 +83,8 @@ PropertyProxyModel.cpp \
|
|||
SequenceModel.cpp \
|
||||
SequencesPage.cpp \
|
||||
DatabaseWindow.cpp \
|
||||
PgLabTableView.cpp
|
||||
PgLabTableView.cpp \
|
||||
PluginContentWidget.cpp
|
||||
|
||||
HEADERS += \
|
||||
QueryResultModel.h \
|
||||
|
|
@ -126,7 +126,6 @@ HEADERS += \
|
|||
Module.h \
|
||||
EditorGutter.h \
|
||||
CodeEditor.h \
|
||||
PlgPage.h \
|
||||
AbstractCommand.h \
|
||||
PropertyProxyModel.h \
|
||||
CustomDataRole.h \
|
||||
|
|
@ -146,7 +145,9 @@ CustomDataRole.h \
|
|||
SequenceModel.h \
|
||||
SequencesPage.h \
|
||||
DatabaseWindow.h \
|
||||
PgLabTableView.h
|
||||
PgLabTableView.h \
|
||||
PluginContentWidget.h \
|
||||
IPluginContentWidgetContext.h
|
||||
|
||||
FORMS += mainwindow.ui \
|
||||
ConnectionManagerWindow.ui \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue