13#include <QtWidgets/qlistwidget.h>
24 class CreateProjectDialog;
52 void setProjectTemplates(
const std::list<ProjectTemplateInformation>& _templates);
53 void setCurrentProjectName(
const QString& _name);
55 std::string getProjectType(
void)
const;
56 std::string getTemplateName(
bool _emptyIfDefault)
const;
57 std::string getProjectName(
void)
const;
62 void setDefaultIconMap(
const std::map<std::string, std::string>& _projectNameToIconMap) { m_defaultIconMap = _projectNameToIconMap; };
63 const std::map<std::string, std::string>&
getDefaultIconMap(
void)
const {
return m_defaultIconMap; };
65 void setCustomIconMap(
const std::map<std::string, std::string>& _projectNameToIconMap) { m_customIconMap = _projectNameToIconMap; };
66 const std::map<std::string, std::string>&
getCustomIconMap(
void)
const {
return m_customIconMap; };
69 virtual void showEvent(QShowEvent* _event)
override;
72 void createProject(
const QString& _projectName,
const std::string& _projectType,
const std::string& _projectTemplate);
75 void slotFocusName(
void);
76 void slotShowInfo(
void);
77 void slotSearch(
void);
78 void slotCreate(
void);
79 void slotCheckCreateEnabledState(
void);
82 bool isDataValid(
void)
const;
94 std::map<std::string, std::string> m_defaultIconMap;
95 std::map<std::string, std::string> m_customIconMap;
#define OT_DECL_NODEFAULT(___class)
Removes the default copy constructor and assignment operator.
Definition OTClassHelper.h:22
#define OT_DECL_NOCOPY(___class)
Removes the default copy constructor and assignment operator.
Definition OTClassHelper.h:14
Definition CreateProjectDialog.h:26
virtual ~CreateProjectDialogEntry()
Definition CreateProjectDialog.h:31
const ProjectTemplateInformation & getInfo(void) const
Definition CreateProjectDialog.h:33
Definition CreateProjectDialog.h:45
const std::map< std::string, std::string > & getCustomIconMap(void) const
Definition CreateProjectDialog.h:66
void createProject(const QString &_projectName, const std::string &_projectType, const std::string &_projectTemplate)
void setDefaultIconMap(const std::map< std::string, std::string > &_projectNameToIconMap)
Definition CreateProjectDialog.h:62
const std::map< std::string, std::string > & getDefaultIconMap(void) const
Definition CreateProjectDialog.h:63
void setCustomIconMap(const std::map< std::string, std::string > &_projectNameToIconMap)
Definition CreateProjectDialog.h:65
const QIcon & getDefaultIcon(void) const
Definition CreateProjectDialog.h:60
void setDefaultIcon(const QIcon &_icon)
Definition CreateProjectDialog.h:59