1 #ifndef NEWPROJECTDIALOG_H_INCLUDED
2 #define NEWPROJECTDIALOG_H_INCLUDED
26 #include <QFileDialog>
28 #include <QPushButton>
29 #include <QRadioButton>
36 class IWorkspaceFactory;
84 void FileChanged(
bool use_default);
90 void FileChanged(QString
const& filename);
96 void ProjectNameChanged(QString
const& name);
108 void ShowBrowseDialog();
117 bool project_name_ok;
120 std::shared_ptr<Ws::IWorkspace> m_workspace_model;
122 QPushButton* m_button_cancel;
123 QPushButton* m_button_ok;
124 QComboBox* m_combo_models;
125 QFileDialog* m_dialog;
126 QLineEdit* m_edit_custom;
127 QLineEdit* m_edit_name;
128 QRadioButton* m_radio_custom;
129 QRadioButton* m_radio_default;
135 #endif // end_of_inclde_guard
std::string GetSrcPath() const
Get path of custom file select by user.
Ws::IWorkspace::ConstProjectIterator GetSrcProject() const
Get project selected by user.
Dialog that asks user about information for setting up a new project.
Interface for IWorkspace.
bool IsCopyProject() const
Whether user wants to copy an existing project from template workspace or just copy a single data fil...
std::string GetProjectName() const
Get project name string entered by user.
see the online Qt documentation
Namespace for generic graphical shell for simulators.
see the online Qt documentation