30#include <wx/filedlg.h>
60 wxFileDialog dlg(
this,
_(
"Import Settings From" ), fn.GetPath(), fn.GetFullName(),
63 if( dlg.ShowModal() == wxID_OK )
72 DisplayError(
this, wxString::Format(
_(
"File not found." ) ) );
wxBitmap KiBitmap(BITMAPS aBitmap, int aHeightTag)
Construct a wxBitmap from an image identifier Returns the image from the active theme if the image ha...
Class DIALOG_SCH_IMPORT_SETTINGS_BASE.
STD_BITMAP_BUTTON * m_browseButton
wxTextCtrl * m_filePathCtrl
wxCheckBox * m_NetClassesOpt
wxCheckBox * m_FormattingOpt
wxCheckBox * m_FieldNameTemplatesOpt
wxCheckBox * m_SeveritiesOpt
static wxString m_filePath
bool TransferDataToWindow() override
void OnSelectAll(wxCommandEvent &event) override
void OnBrowseClicked(wxCommandEvent &event) override
bool TransferDataFromWindow() override
DIALOG_SCH_IMPORT_SETTINGS(wxWindow *aParent, SCH_EDIT_FRAME *aFrame)
void SetupStandardButtons(std::map< int, wxString > aLabels={})
Schematic editor (Eeschema) main window.
SCHEMATIC & Schematic() const
wxString GetFileName() const
Return the filename corresponding to this sheet.
void DisplayError(wxWindow *aParent, const wxString &aText, int aDisplayTime)
Display an error or warning message box with aMessage.
This file is part of the common library.
const std::string ProjectFileExtension
wxString ProjectFileWildcard()
Definition of file extensions used in Kicad.