92 const std::map<std::string, DataHolderLib::Color*>& colorLookupTable)
95 beginInsertRows(QModelIndex(), 0, colorLookupTable.size() - 1);
97 for (
const auto& row : colorLookupTable)
99 QColor color((*row.second)[0], (*row.second)[1], (*row.second)[2]);
100 QString name(QString::fromStdString(row.first));
112 QPair<QString, QColor> pair(name, color);