23#ifndef DESIGN_BLOCK_PANE_H 
   24#define DESIGN_BLOCK_PANE_H 
   30#include <wx/checkbox.h> 
   31#include <wx/filedlgcustomize.h> 
   94    void         OnClosed( wxAuiManagerEvent& aEvent );
 
  100    bool checkOverwrite( wxWindow* aFrame, wxString& libname, wxString& newName );
 
 
bool DeleteDesignBlockLibrary(const wxString &aLibName, bool aConfirm)
 
PANEL_DESIGN_BLOCK_CHOOSER * GetDesignBlockPanel() const
 
bool checkOverwrite(wxWindow *aFrame, wxString &libname, wxString &newName)
 
bool DeleteDesignBlockFromLibrary(const LIB_ID &aLibId, bool aConfirm)
 
~DESIGN_BLOCK_PANE() override
 
void SelectLibId(const LIB_ID &aLibId)
 
LIB_ID GetSelectedLibId(int *aUnit=nullptr) const
 
DESIGN_BLOCK_PANE(EDA_DRAW_FRAME *aParent, const LIB_ID *aPreselect, std::vector< LIB_ID > &aHistoryList)
 
DESIGN_BLOCK * GetDesignBlock(const LIB_ID &aLibId, bool aUseCacheLib, bool aShowErrorMsg)
Load design block from design block library table.
 
wxString createNewDesignBlockLibrary(const wxString &aDialogTitle)
 
PANEL_DESIGN_BLOCK_CHOOSER * m_chooserPanel
 
bool EditDesignBlockProperties(const LIB_ID &aLibId)
 
virtual void setLabelsAndTooltips()=0
 
wxString CreateNewDesignBlockLibrary(const wxString &aDialogTitle)
Creates a new design block library.
 
virtual void OnLanguageChanged(wxCommandEvent &aEvent)
 
DESIGN_BLOCK * GetSelectedDesignBlock(bool aUseCacheLib, bool aShowErrorMsg)
 
void OnClosed(wxAuiManagerEvent &aEvent)
 
bool AddDesignBlockLibrary(const wxString &aDialogTitle, const wxString &aFilename, LIBRARY_TABLE_SCOPE aScope)
Add an existing library to a library table (presumed to be either the global or project design block ...
 
The base class for create windows for drawing purpose.
 
A logical library item identifier and consists of various portions much like a URI.
 
WX_PANEL(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString)