refactor use PgLabTableViewHelper on CatalogTablesPage
This commit is contained in:
parent
87ab22919f
commit
90851ef950
9 changed files with 68 additions and 54 deletions
|
|
@ -6,6 +6,7 @@
|
|||
|
||||
class PgDatabaseContainer;
|
||||
class PgDatabaseCatalog;
|
||||
class PgDatabase;
|
||||
|
||||
/** Class for displaying the list of databases of a server in a QTableView
|
||||
*
|
||||
|
|
@ -15,6 +16,8 @@ class DatabasesTableModel : public BaseTableModel
|
|||
Q_OBJECT
|
||||
|
||||
public:
|
||||
using RowItem = PgDatabase;
|
||||
|
||||
enum e_Columns : int { NameCol, DbaCol, EncodingCol, CollateCol,
|
||||
CTypeCol, IsTemplateCol, AllowConnCol, ConnLimitCol,
|
||||
TablespaceCol, CommentCol, SizeCol, AclCol, COL_COUNT };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue