Enable sorting for CRUD
This commit is contained in:
parent
6d08b40309
commit
53997f94da
2 changed files with 8 additions and 2 deletions
|
|
@ -1,6 +1,7 @@
|
|||
#ifndef CRUDTAB_H
|
||||
#define CRUDTAB_H
|
||||
|
||||
#include <QSortFilterProxyModel>
|
||||
#include "catalog/PgClass.h"
|
||||
#include "IDatabaseWindow.h"
|
||||
#include <QWidget>
|
||||
|
|
@ -31,6 +32,7 @@ private:
|
|||
std::optional<PgClass> m_table;
|
||||
|
||||
CrudModel *m_crudModel = nullptr;
|
||||
QSortFilterProxyModel *m_SortFilterProxy = nullptr;
|
||||
|
||||
void initActions();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue