26 #ifndef _EDITOUTPUTINIDIALOG_H
27 #define _EDITOUTPUTINIDIALOG_H
30 #include <wx/propgrid/propgrid.h>
31 #include <wx/propgrid/manager.h>
44 void OnOk(wxCommandEvent& e);
64 wxArrayString
GetChildren(wxPGProperty* prop)
const;
68 void AddKey(wxPGProperty* section,
const wxString& key,
const wxString& value);
75 #endif //_EDITOUTPUTINIDIALOG_H
void ReadIni()
read the ini file and populate the control
void OnAddSection(wxCommandEvent &e)
add a new section
wxArrayString GetSections() const
return wxArrayString with all sections
wxPGProperty * m_currentSection
EditOutputIniDialog(wxWindow *parent)
Constructor, constructs dialog; restore last uses settings, size and position.
wxPropertyGridManager * m_grid
void BuildAddContextMenu(wxMenu &menu, wxPGProperty *category, const bool addSeparator)
function to build context menu with all missing entries
wxArrayString GetChildren(wxPGProperty *prop) const
return wxArrayString with all sub-entries of given wxPGProperty
wxFileName GetIniFileName()
return the filename of the default ini file
void OnContextMenu(wxContextMenuEvent &e)
right click handler, show popup menu
Dialog for editing user defined output settings (ini file)
void OnOk(wxCommandEvent &e)
save ini and close dialog
void OnAddCondition(wxCommandEvent &e)
adds a new condition to list
void AddKey(wxPGProperty *section, const wxString &key, const wxString &value)
add key with value to wxPropertyGrid, generate if necessary all sub properties
include file for the hugin project
void OnRenameSection(wxCommandEvent &e)
renames a new section
~EditOutputIniDialog()
destructor, saves size and position
void WriteIni()
write the ini to disc