The catalogue now loads the list of databases en there is a table model that can show this data.
This commit is contained in:
parent
a9430bca1a
commit
20af12535e
22 changed files with 504 additions and 118 deletions
|
|
@ -1,24 +1,29 @@
|
|||
#ifndef SERVERWINDOW_H
|
||||
#define SERVERWINDOW_H
|
||||
|
||||
#include <QMainWindow>
|
||||
#include "ASyncWindow.h"
|
||||
#include "ConnectionConfig.h"
|
||||
|
||||
namespace Ui {
|
||||
class ServerWindow;
|
||||
}
|
||||
|
||||
class MasterController;
|
||||
class OpenDatabase;
|
||||
|
||||
class ServerWindow : public QMainWindow
|
||||
{
|
||||
class ServerWindow : public ASyncWindow {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit ServerWindow(MasterController *master, QWidget *parent = 0);
|
||||
explicit ServerWindow(MasterController *master, QWidget *parent );
|
||||
~ServerWindow();
|
||||
|
||||
void setConfig(const ConnectionConfig &config);
|
||||
private:
|
||||
Ui::ServerWindow *ui;
|
||||
|
||||
MasterController *m_masterController;
|
||||
ConnectionConfig m_config;
|
||||
OpenDatabase *m_database;
|
||||
};
|
||||
|
||||
#endif // SERVERWINDOW_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue