#4513 Add id to views

This commit is contained in:
Gaute Lindkvist
2019-07-15 11:43:22 +02:00
parent 439913b7b1
commit b7c4a54d9a
7 changed files with 97 additions and 17 deletions

View File

@@ -105,6 +105,10 @@ public:
void setName(const QString& name);
QString name() const;
int id() const;
void setId(int id);
// Implementation of RiuViewerToViewInterface
cvf::Color3f backgroundColor() const override { return m_backgroundColor(); }
@@ -260,4 +264,5 @@ private:
caf::PdmField< cvf::Color3f > m_backgroundColor;
caf::PdmField<bool> m_showGridBox;
caf::PdmField<bool> m_showZScaleLabel;
caf::PdmField<int> m_viewId;
};