7 #ifndef GEOMETRY_MODEL_H 8 #define GEOMETRY_MODEL_H 11 #include "WindowModelBase.h" 22 virtual QVariant
data(
const QModelIndex &index,
int role = Qt::DisplayRole)
const;
29 int rowToBeHighlighted ()
const;
31 int m_rowToBeHighlighted;
32 QString m_pointIdentifier;
35 #endif // GEOMETRY_MODEL_H void setCurrentPointIdentifier(const QString &pointIdentifier)
Set the point identifier to be highlighted. Value is empty for no highlighting.
virtual QVariant data(const QModelIndex &index, int role=Qt::DisplayRole) const
Override for special processing.
GeometryModel()
Single constructor.
Model that adds row highlighting according to the currently select point identifier.