24 #include <QApplication>
26 #include <QProgressBar>
31 QAbstractTableModel(parent)
43 return gridNodeItemsList.size();
55 const unsigned int& row =
index.row();
56 const unsigned int& column =
index.column();
57 std::unique_lock lock(gridNodeListsMutex);
59 if (row >= gridNodeItemsList.size())
75 return QString::fromStdString(gridNodeItemsList.at(row));
98 if (orientation == Qt::Horizontal)
113 return QAbstractTableModel::headerData(section, orientation, role);
120 std::unique_lock lock(gridNodeListsMutex);
121 this->gridNodeItemsList = gridNodeItemsList;