List of databases and roles moved to a "Server tab" within the database window.
Opened by selecting "Inspect Server" from the menu.
This commit is contained in:
parent
50cd865b1a
commit
f0e5488ce0
12 changed files with 271 additions and 2 deletions
26
pglab/serverinspector/RolesPage.h
Normal file
26
pglab/serverinspector/RolesPage.h
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
#pragma once
|
||||
|
||||
#include <QSplitter>
|
||||
#include <QWidget>
|
||||
|
||||
#include "PgLabTableViewHelper.h"
|
||||
|
||||
class RolesTableModel;
|
||||
class PgDatabaseCatalog;
|
||||
class PgLabTableView;
|
||||
class QSortFilterProxyModel;
|
||||
|
||||
|
||||
class RolesPage: public QSplitter {
|
||||
public:
|
||||
RolesPage(QWidget * parent = nullptr);
|
||||
|
||||
void setCatalog(std::shared_ptr<PgDatabaseCatalog> cat);
|
||||
private:
|
||||
PgLabTableViewHelper<RolesTableModel> m_rolesTableView;
|
||||
QTabWidget *m_detailsTabs = nullptr;
|
||||
|
||||
std::shared_ptr<PgDatabaseCatalog> m_catalog;
|
||||
|
||||
};
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue