Open 3D Engine Atom Gem API Reference  23.05.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AtomToolsFramework::CreateDocumentDialog Class Reference

#include <CreateDocumentDialog.h>

Inherits QDialog.

Public Types

using FilterFn = AZStd::function< bool(const AZStd::string &)>
 

Public Member Functions

 CreateDocumentDialog (const QString &title, const QString &sourceLabel, const QString &targetLabel, const QString &initialPath, const QStringList &supportedExtensions, const QString &defaultSourcePath, const FilterFn &filterFn, QWidget *parent=nullptr)
 
 CreateDocumentDialog (const DocumentTypeInfo &documentType, const QString &initialPath, QWidget *parent=nullptr)
 
void UpdateTargetPath (const QFileInfo &fileInfo)
 

Public Attributes

QString m_sourcePath
 
QString m_targetPath
 

Detailed Description

CreateDocumentDialog allows the user to select from a filtered set of template documents to create a derived/child document at the path selected in the file picker.


The documentation for this class was generated from the following file: