19 #include <QStandardItemModel>
21 #include <QVBoxLayout>
28 , m_tableView(new QTableView)
31 auto layout =
new QVBoxLayout(
this);
32 layout->setContentsMargins(0, 0, 0, 0);
Model delegate to provide editing/painting for custom variants.
Table model to hold imported ASCII data after parsing it to multi-column presentation.
void setRawData(const raw_data_t &raw_data)
Sets content of the model.
std::vector< ColumnInfo > columnInfo() const
materialitems.h Collection of materials to populate MaterialModel.
Based on Qt example "codeeditor" Copyright (C) 2016 The Qt Company Ltd.