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
26
src/PgDatabaseContainer.h
Normal file
26
src/PgDatabaseContainer.h
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
#ifndef PGDATABASECONTAINER_H
|
||||
#define PGDATABASECONTAINER_H
|
||||
|
||||
#include <vector>
|
||||
#include "PgContainer.h"
|
||||
#include "PgDatabase.h"
|
||||
|
||||
namespace Pgsql {
|
||||
|
||||
class Result;
|
||||
|
||||
}
|
||||
|
||||
|
||||
class PgDatabaseContainer: public PgContainer<PgDatabase> {
|
||||
public:
|
||||
PgDatabaseContainer();
|
||||
|
||||
std::string getLoadQuery() const;
|
||||
void load(const Pgsql::Result &res);
|
||||
|
||||
private:
|
||||
};
|
||||
|
||||
|
||||
#endif // PGDATABASECONTAINER_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue