An item can be added to the model with accepting the NewItemDialog.

This commit is contained in:
2025-12-08 13:26:42 +01:00
parent 928b795f4e
commit ea75e57dbf
4 changed files with 38 additions and 7 deletions

View File

@ -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;