Terminal strip editor can now edit multiple project.

Before this this commit the terminal strip editor couldn't only work on
the first project opened into this editor, all other project opened
after couldn't be edited.
This is now past, terminal strip editor can now edit every project open
in QElectroTech.
This commit is contained in:
joshua
2025-06-11 22:43:41 +02:00
parent 3a6b4807db
commit d711d8fb4a
10 changed files with 159 additions and 48 deletions

View File

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