00001
00002
00003
00004
00005
00006
00007 #ifndef GEOMETRY_MODEL_H
00008 #define GEOMETRY_MODEL_H
00009
00010 #include <QStandardItemModel>
00011 #include <QString>
00012
00014 class GeometryModel : public QStandardItemModel
00015 {
00016 public:
00018 GeometryModel ();
00019 virtual ~GeometryModel ();
00020
00022 virtual QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const;
00023
00025 void setCurrentPointIdentifier (const QString &pointIdentifier);
00026
00027 private:
00028
00029 int rowToBeHighlighted () const;
00030
00031 int m_rowToBeHighlighted;
00032 QString m_pointIdentifier;
00033 };
00034
00035 #endif // GEOMETRY_MODEL_H