58 static SaveResult
Execute(wxFrame* parent, Data::Study::Ptr
study);
63 mnIDCollapsePanel = wxID_HIGHEST + 1,
65 mnIDEditMapFolderName,
88 Data::Study::Ptr
study();
90 const Data::Study::Ptr
study()
const;
100 void internalCreateComponents();
103 void onCollapsePanel(wxCollapsiblePaneEvent& evt);
104 void onMapNameChanged(wxCommandEvent& evt);
105 void onMapFolderNameChanged(wxCommandEvent& evt);
106 void onBrowse(wxCommandEvent& evt);
107 void ensureUniqueFileName(Yuni::String folderPath);
109 void onMapFormatChanged(wxCommandEvent& evt);
111 void onUseBackgroundChanged(wxCommandEvent& evt);
114 void onCancel(
void*);
116 void onExportMap(
void*);
119 wxString getFormatAsString(Antares::Map::mapImageFormat format);
120 YString getFormatAsYString(Antares::Map::mapImageFormat format);
122 void propCaption(
const wxString& text,
bool bold =
false);
123 wxTextCtrl* propEdit(
const wxString& defaultValue = wxString(),
int id = wxID_ANY);
124 wxWindow* propEdit(wxWindow* control);
125 wxTextCtrl* propEdit(
const wxString& defaultValue,
126 const wxTextValidator& validator,
131 Data::Study::Ptr pStudy;
133 wxFlexGridSizer* pGridSizer;
135 wxWindow* pParentProperties;
137 wxTextCtrl* pMapName;
139 wxTextCtrl* pMapFolderName;
141 wxTextCtrl* pMapFolderPath;
143 bool pCustomMapFolderName;
146 wxChoice* pMapFormatChoice;
148 Antares::Map::mapImageFormat pMapFormat;
155 wxChoice* pSplitNumberChoice;
157 wxCheckBox* pUseBackgroundColor;
159 wxColourPickerCtrl* pBackgroundColor;
164 static wxString defaultPath;
167 DECLARE_EVENT_TABLE()
static SaveResult Execute(wxFrame *parent, Data::Study::Ptr study)
Execute the ExportMap dialog and save the map accordingly.
Definition exportmap.cpp:75