30 #include <wx/propgrid/propgrid.h>
45 void AddFile(
const wxString& filename);
51 void OnSize(wxSizeEvent& e);
63 void OnZoom(wxCommandEvent& e);
99 #endif // ENFUSEPANEL_H
void OnSize(wxSizeEvent &e)
event handler
void OnAddFiles(wxCommandEvent &e)
void OnRemoveFile(wxCommandEvent &e)
MyExecPanel * m_logWindow
long GetCheckedItemCount() const
return the number of check images
void OnSelectAllFiles(wxKeyEvent &e)
void OnZoom(wxCommandEvent &e)
void ExecuteEnfuse()
build the command line and execute enfuse command
void OnGeneratePreview(wxCommandEvent &e)
void OnCreateFile(wxCommandEvent &e)
void EnableOutputButtons(bool enable)
enable/disable output buttons
void OnFileCheckStateChanged(wxCommandEvent &e)
void EnableFileButtons()
enable/disable the file(s) remove and create buttons depending on selection of wxListCtrl ...
void AddFile(const wxString &filename)
adds the given file to the list
PreviewWindow * m_preview
void OnLoadSetting(wxCommandEvent &e)
void ExecuteEnfuseExiftool()
build the command line and execute enfuse and exiftool afterwards
wxListCtrl * m_fileListCtrl
void OnFileSelectionChanged(wxCommandEvent &e)
void CleanUpTempFiles()
delete all temporary files, to be called mainly at end
bool Create(wxWindow *parent, MyExecPanel *logPanel)
creates the control and populates all controls with their settings
void PopulateEnfuseOptions()
fill the PropertyGrid with all enfuse options
void OnSaveSetting(wxCommandEvent &e)
wxArrayString m_tempFiles
include file for the hugin project
void OnProcessFinished(wxCommandEvent &e)
call at the end of the enfuse command, to load result back and enable buttons again ...
~EnfusePanel()
destructor, save state and settings
wxString GetEnfuseCommandLine()
get the full commandline for enfuse without program, but with files and output options, the output filename is read from m_outputFilename
void OnResetSetting(wxCommandEvent &e)
wxPropertyGrid * m_enfuseOptions
wxArrayString m_outputFilenames
declaration of PreviewWindow class
wxString GetEnfuseOptions()
build string with all enfuse options from values in wxPropertyGrid this are the mainly the fusion opt...
void OnGenerateOutput(wxCommandEvent &e)