1 #ifndef GUI_CONVERTER_WINDOW_H_INCLUDED
2 #define GUI_CONVERTER_WINDOW_H_INCLUDED
35 class StartupFileBase;
62 std::vector<IConverterFormat*> formats,
63 std::shared_ptr<SimShell::Ws::MergedPreferences> prefs,
64 const std::string& window_title,
78 void CheckConversionEnabled();
79 void BrowseExportPath();
81 void SLOT_ExportFormatChanged(
const QString&);
82 void SLOT_OptionsTriggered();
86 std::vector<IConverterFormat*> m_formats;
87 std::shared_ptr<SimShell::Ws::MergedPreferences> m_preferences;
90 QComboBox* m_export_format;
91 QPushButton* m_options_button;
92 QLineEdit* m_export_path;
93 QLineEdit* m_export_name;
94 QPushButton* m_convert_button;
96 std::map<int, std::vector<std::string>> m_step_to_name_map;
97 std::map<int, std::shared_ptr<Ws::StartupFileBase>> m_step_to_file_map;
99 static const QRegExp g_export_name_regex;
104 #endif // end-of-include-guard
virtual ~ConverterWindow()
Destructor.
Abstraction of project info on filesystem, as well as a maintainer of a work session.
Namespace for SimPT shell package.
Main widget class for the graphical user interface of the converter.
ConverterWindow(Ws::Project *, std::vector< IConverterFormat * > formats, std::shared_ptr< SimShell::Ws::MergedPreferences > prefs, const std::string &window_title, QWidget *parent=nullptr)
Constructor.
Interface for IConverterFormat.
see the online Qt documentation
Widget containing the list of steps in conversion and associated functionality.
see the online Qt documentation
void Refresh()
Refresh list of input files.