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.
This commit is contained in:
parent
437736a023
commit
69473d65d2
10 changed files with 58 additions and 55 deletions
|
|
@ -22,7 +22,7 @@ namespace Pgsql {
|
|||
class QTableView;
|
||||
|
||||
class QTabWidget;
|
||||
class MainWindow;
|
||||
class DatabaseWindow;
|
||||
class SqlSyntaxHighlighter;
|
||||
class ExplainRoot;
|
||||
class QueryResultModel;
|
||||
|
|
@ -35,7 +35,7 @@ class PgDatabaseCatalog;
|
|||
class QueryTab : public PlgPage {
|
||||
Q_OBJECT
|
||||
public:
|
||||
QueryTab(MainWindow *win, QWidget *parent = nullptr);
|
||||
QueryTab(DatabaseWindow *win, QWidget *parent = nullptr);
|
||||
~QueryTab();
|
||||
|
||||
void setConfig(const ConnectionConfig &config, std::shared_ptr<PgDatabaseCatalog>cat);
|
||||
|
|
@ -69,7 +69,7 @@ private:
|
|||
using ResultTabContainer = std::vector<TuplesResultWidget*>;
|
||||
|
||||
Ui::QueryTab *ui;
|
||||
MainWindow *m_win;
|
||||
DatabaseWindow *m_win;
|
||||
SqlSyntaxHighlighter* highlighter;
|
||||
ConnectionConfig m_config;
|
||||
StopWatch m_stopwatch;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue