An item can be added to the model with accepting the NewItemDialog.
This commit is contained in:
@ -4,7 +4,7 @@
|
||||
#include <QMainWindow>
|
||||
|
||||
class NewItemDialog;
|
||||
class QAbstractItemModel;
|
||||
class TableModel;
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
@ -46,7 +46,7 @@ class MainWindow : public QMainWindow {
|
||||
|
||||
// GenericCore* m_core;
|
||||
unique_ptr<GenericCore> m_core;
|
||||
shared_ptr<QAbstractItemModel> m_tableModel;
|
||||
shared_ptr<TableModel> m_tableModel;
|
||||
|
||||
/// File actions
|
||||
unique_ptr<QAction> m_newFileAct;
|
||||
|
||||
Reference in New Issue
Block a user