Bugfixes automatic source/receiver calibration

This commit is contained in:
Jan Käberich 2020-11-18 22:47:38 +01:00
parent 5b771e2a86
commit c00d00cac2
11 changed files with 168 additions and 79 deletions

View file

@ -15,6 +15,11 @@ TraceMarkerModel::TraceMarkerModel(TraceModel &model, QObject *parent)
root = new TraceMarker(this);
}
TraceMarkerModel::~TraceMarkerModel()
{
delete root;
}
QModelIndex TraceMarkerModel::index(int row, int column, const QModelIndex &parent) const
{
if (!hasIndex(row, column, parent)) {

View file

@ -37,6 +37,7 @@ class TraceMarkerModel : public QAbstractItemModel
Q_OBJECT
public:
TraceMarkerModel(TraceModel &model, QObject *parent = 0);
~TraceMarkerModel();
enum {
ColIndexNumber = 0,