diff --git a/Fwk/AppFwk/cafUserInterface/cafPdmUiTableViewModel.h b/Fwk/AppFwk/cafUserInterface/cafPdmUiTableViewModel.h index ff130d65f2..f438cc55f6 100644 --- a/Fwk/AppFwk/cafUserInterface/cafPdmUiTableViewModel.h +++ b/Fwk/AppFwk/cafUserInterface/cafPdmUiTableViewModel.h @@ -82,8 +82,6 @@ public: void selectedUiItems(std::vector& objects); - PdmUiFieldEditorHandle* getEditor(const QModelIndex &index); - QWidget* getEditorWidgetAndTransferOwnership(QWidget* parent, const QModelIndex &index); void notifyDataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight); bool isRepresentingBoolean(const QModelIndex &index) const; @@ -92,6 +90,10 @@ private: int getFieldIndex(PdmFieldHandle* field) const; void recreateTableItemEditors(); + friend class PdmUiTableViewDelegate; + QWidget* getEditorWidgetAndTransferOwnership(QWidget* parent, const QModelIndex &index); + PdmUiFieldEditorHandle* getEditor(const QModelIndex &index); + private: PdmChildArrayFieldHandle* m_pdmList; QString m_currentConfigName;