Make a copie of previous table model when unlink a table from her previous table.

This commit is contained in:
Claveau Joshua
2020-06-04 14:17:14 +02:00
parent 8ad876fb31
commit ae9ef3cf21
3 changed files with 18 additions and 3 deletions

View File

@@ -38,6 +38,7 @@ class NomenclatureModel : public QAbstractTableModel
public:
explicit NomenclatureModel(QETProject *project, QObject *parent = nullptr);
explicit NomenclatureModel (const NomenclatureModel &other_model);
int rowCount(const QModelIndex &parent = QModelIndex()) const override;
int columnCount(const QModelIndex &parent = QModelIndex()) const override;