Retrieving model from the core and showing its data in a QTableView.

This commit is contained in:
2025-12-02 16:01:44 +01:00
parent 9a30fb2aad
commit 64a65b5916
3 changed files with 14 additions and 7 deletions

View File

@ -7,6 +7,7 @@ QT_BEGIN_NAMESPACE
class GenericCore;
class QAbstractItemModel;
namespace Ui {
class MainWindow;
}
@ -36,7 +37,9 @@ class MainWindow : public QMainWindow {
private:
Ui::MainWindow* ui;
GenericCore* m_core;
// GenericCore* m_core;
std::unique_ptr<GenericCore> m_core;
std::shared_ptr<QAbstractItemModel> m_tableModel;
/// Setup functions
void createActions();