Preferences : Set initial selection when selecting plot templates

This commit is contained in:
Magne Sjaastad
2022-08-18 13:31:49 +02:00
parent bea90bc841
commit c6beb3b52d
4 changed files with 41 additions and 5 deletions

View File

@@ -43,11 +43,14 @@ public:
void createRootFolderItemsFromFolderPaths( const QStringList& folderPaths );
std::vector<RimPlotTemplateFileItem*> fileNames() const;
std::vector<RimPlotTemplateFileItem*> fileItems() const;
std::vector<RimPlotTemplateFolderItem*> subFolders() const;
static void appendOptionItemsForPlotTemplates( QList<caf::PdmOptionItemInfo>& options,
RimPlotTemplateFolderItem* templateFolderItem );
static void allPlotTemplates( std::vector<RimPlotTemplateFileItem*>& fileItems,
RimPlotTemplateFolderItem* templateFolderItem );
void updateIconState() const;
private: