Builds on windows again
This commit is contained in:
parent
33cf39b799
commit
bebb3391c3
160 changed files with 138 additions and 117 deletions
33
pglab/ServerWindow.h
Normal file
33
pglab/ServerWindow.h
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
#ifndef SERVERWINDOW_H
|
||||
#define SERVERWINDOW_H
|
||||
|
||||
#include "ASyncWindow.h"
|
||||
#include "ConnectionConfig.h"
|
||||
|
||||
namespace Ui {
|
||||
class ServerWindow;
|
||||
}
|
||||
|
||||
class MasterController;
|
||||
class OpenDatabase;
|
||||
class DatabasesTableModel;
|
||||
class RolesTableModel;
|
||||
|
||||
class ServerWindow : public ASyncWindow {
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit ServerWindow(MasterController *master, QWidget *parent );
|
||||
~ServerWindow();
|
||||
|
||||
void setConfig(const ConnectionConfig &config);
|
||||
private:
|
||||
Ui::ServerWindow *ui;
|
||||
|
||||
MasterController *m_masterController = nullptr;
|
||||
ConnectionConfig m_config;
|
||||
OpenDatabase *m_database = nullptr;
|
||||
DatabasesTableModel *m_databasesModel = nullptr;
|
||||
RolesTableModel *m_rolesModel = nullptr;
|
||||
};
|
||||
|
||||
#endif // SERVERWINDOW_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue