#5147 PdmField<caf::FilePath> now uses a reference list in the start of the project file to store the paths.

This commit is contained in:
Jacob Støren
2019-12-10 14:58:47 +01:00
parent 8e540efa37
commit a9d089df6d
3 changed files with 225 additions and 2 deletions

View File

@@ -106,6 +106,8 @@ public:
caf::PdmField<QString> plotWindowTreeViewState;
caf::PdmField<QString> plotWindowCurrentModelIndexPath;
bool writeProjectFile();
void setScriptDirectories( const QString& scriptDirectories );
void setPlotTemplateFolders( const QStringList& plotTemplateFolders );
@@ -191,7 +193,11 @@ private:
template <typename T>
void fieldContentsByType( caf::PdmObjectHandle* object, std::vector<T*>& typedFields );
void transferPathsToGlobalPathList();
void distributePathsFromGlobalPathList();
private:
caf::PdmField<QString> m_globalPathList;
caf::PdmField<QString> m_projectFileVersionString;
caf::PdmChildField<RimDialogData*> m_dialogData;