Using the new QSortFilterProxyModel subclass of the core for the TableView.
This commit is contained in:
@ -16,6 +16,7 @@ QT_END_NAMESPACE
|
||||
|
||||
class GenericCore;
|
||||
class TableModel;
|
||||
class GeneralSortFilterModel;
|
||||
class NewItemDialog;
|
||||
class EditItemDialog;
|
||||
|
||||
@ -65,6 +66,7 @@ class MainWindow : public QMainWindow {
|
||||
// GenericCore* m_core;
|
||||
unique_ptr<GenericCore> m_core;
|
||||
shared_ptr<TableModel> m_tableModel;
|
||||
shared_ptr<GeneralSortFilterModel> m_sortModel;
|
||||
QUndoStack* m_modelUndoStack;
|
||||
unique_ptr<QUndoView> m_modelUndoView;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user