23#ifndef DESIGN_BLOCK_PANE_H
24#define DESIGN_BLOCK_PANE_H
29#include <wx/checkbox.h>
30#include <wx/filedlgcustomize.h>
93 void OnClosed( wxAuiManagerEvent& aEvent );
99 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 * 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)
bool AddDesignBlockLibrary(const wxString &aDialogTitle, const wxString &aFilename, DESIGN_BLOCK_LIB_TABLE *aTable)
Add an existing library to a library table (presumed to be either the global or project design block ...
DESIGN_BLOCK * GetSelectedDesignBlock(bool aUseCacheLib, bool aShowErrorMsg)
void OnClosed(wxAuiManagerEvent &aEvent)
The base class for create windows for drawing purpose.
A logical library item identifier and consists of various portions much like a URI.