feat(geometrySpreadsheet): read attributes from geometry
This commit is contained in:
@@ -12,9 +12,11 @@ public:
|
||||
GeometrySpreadsheetModel(const QStringList &strings, QObject *parent = nullptr);
|
||||
|
||||
int rowCount(const QModelIndex &parent = QModelIndex()) const override;
|
||||
int columnCount(const QModelIndex &parent = QModelIndex()) const override;
|
||||
QVariant data(const QModelIndex &index, int role) const override;
|
||||
QVariant headerData(int section, Qt::Orientation orientation,
|
||||
int role = Qt::DisplayRole) const override;
|
||||
int indexFromSection(unsigned int section) const;
|
||||
|
||||
void selectionChanged(enzo::nt::OpId opId);
|
||||
|
||||
@@ -23,5 +25,7 @@ private:
|
||||
QStringList stringList;
|
||||
enzo::nt::OpId opId_;
|
||||
enzo::geo::Geometry geometry_;
|
||||
std::vector<unsigned int> attribSizes_;
|
||||
std::vector<unsigned int> sectionAttribMap_;
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user