Remove designer DatabaseForm generating widgets from code.
Large part of toolbar and menu missing these will be recreated through plugin system.
This commit is contained in:
parent
dc8a052544
commit
d86d278350
4 changed files with 77 additions and 292 deletions
|
|
@ -22,9 +22,9 @@
|
|||
#include <QFuture>
|
||||
#include <QFutureWatcher>
|
||||
|
||||
namespace Ui {
|
||||
class DatabaseWindow;
|
||||
}
|
||||
//namespace Ui {
|
||||
// class DatabaseWindow;
|
||||
//}
|
||||
|
||||
namespace Pgsql {
|
||||
class Connection;
|
||||
|
|
@ -38,6 +38,8 @@ class OpenDatabase;
|
|||
class PgClass;
|
||||
class PluginContentWidget;
|
||||
|
||||
class QTabWidget;
|
||||
|
||||
namespace DatabaseWindow_details {
|
||||
class DatabaseWindowContentContext;
|
||||
}
|
||||
|
|
@ -84,7 +86,8 @@ public:
|
|||
void addPage(PluginContentWidget* page, QString caption);
|
||||
private:
|
||||
|
||||
Ui::DatabaseWindow *ui;
|
||||
QTabWidget *m_tabWidget = nullptr;
|
||||
QToolBar *m_mainToolBar = nullptr;
|
||||
|
||||
ConnectionConfig m_config;
|
||||
std::shared_ptr<OpenDatabase> m_database;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue