52 path = brdFile.GetPath();
70 wxFileName fn(
Prj().AbsolutePath(
path ) );
72 wxDirDialog dlg(
this,
_(
"Export ODB++ File" ), fn.GetPath() );
74 if( dlg.ShowModal() == wxID_CANCEL )
wxBitmapBundle KiBitmapBundle(BITMAPS aBitmap)
const wxString & GetFileName() const
Class DIALOG_EXPORT_ODBPP_BASE.
wxTextCtrl * m_outputFileName
STD_BITMAP_BUTTON * m_browseButton
wxCheckBox * m_cbCompress
bool TransferDataFromWindow() override
void onBrowseClicked(wxCommandEvent &event) override
DIALOG_EXPORT_ODBPP(PCB_EDIT_FRAME *aParent)
PCB_EDIT_FRAME * m_parent
void onOKClick(wxCommandEvent &event) override
void SetupStandardButtons(std::map< int, wxString > aLabels={})
void finishDialogSettings()
In all dialogs, we must call the same functions to fix minimal dlg size, the default position and per...
PROJECT & Prj() const
Return a reference to the PROJECT associated with this KIWAY.
DIALOG_EXPORT_ODBPP m_ExportODBPP
The main frame for Pcbnew.
void SetLastPath(LAST_PATH_TYPE aType, const wxString &aLastPath)
Set the path of the last file successfully read.
wxString GetLastPath(LAST_PATH_TYPE aType)
Get the last path for a particular type.
virtual SETTINGS_MANAGER & GetSettingsManager() const
T * GetAppSettings()
Returns a handle to the a given settings by type If the settings have already been loaded,...
const wxString ExpandEnvVarSubstitutions(const wxString &aString, const PROJECT *aProject)
Replace any environment variable & text variable references with their values.
static wxString s_oemColumn
PGM_BASE & Pgm()
The global Program "get" accessor.