38 const wxString& aInheritFromSymbolName,
39 std::function<
bool(
const wxString& newName )> aValidator );
53 name.Replace(
" ",
"_" );
wxCheckBox * m_checkTransferUserFields
wxCheckBox * m_checkIsPowerSymbol
wxCheckBox * m_excludeFromBomCheckBox
wxCheckBox * m_checkShowPinNameInside
wxCheckBox * m_checkShowPinName
wxCheckBox * m_checkKeepFootprint
wxSpinCtrl * m_spinPartCount
wxCheckBox * m_checkKeepContentUserFields
wxTextCtrl * m_textReference
wxCheckBox * m_checkShowPinNumber
wxCheckBox * m_checkUnitsInterchangeable
DIALOG_LIB_NEW_SYMBOL_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("New Symbol"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
wxCheckBox * m_excludeFromBoardCheckBox
wxCheckBox * m_checkKeepDatasheet
SYMBOL_FILTER_COMBOBOX * m_comboInheritanceSelect
wxCheckBox * m_checkHasAlternateBodyStyle
void SetIncludeOnBoard(bool aInclude)
UNIT_BINDER m_pinTextPosition
void SetPartCount(int count)
wxString m_inheritFromSymbolName
wxString GetParentSymbolName() const
void SetPinNameInside(bool show)
void SetTransferUserFields(bool keep)
bool GetIncludeOnBoard() const
DIALOG_LIB_NEW_SYMBOL(EDA_DRAW_FRAME *aParent, const wxArrayString &aSymbolNames, const wxString &aInheritFromSymbolName, std::function< bool(const wxString &newName)> aValidator)
wxString GetName() const override
bool GetUnitsInterchangeable()
std::function< bool(const wxString &newName)> m_validator
void SetName(const wxString &name) override
void syncControls(bool aIsDerivedPart)
bool TransferDataFromWindow() override
void SetShowPinName(bool show)
void SetPinTextPosition(int position)
bool GetTransferUserFields()
void SetIncludeInBom(bool aInclude)
void SetKeepDatasheet(bool keep)
bool GetKeepContentUserFields()
virtual void onCheckTransferUserFields(wxCommandEvent &aEvent) override
virtual void onPowerCheckBox(wxCommandEvent &aEvent) override
void SetReference(const wxString &reference)
void SetAlternateBodyStyle(bool enable)
void SetShowPinNumber(bool show)
void SetKeepContentUserFields(bool keep)
void SetUnitsInterchangeable(bool enable)
bool GetAlternateBodyStyle()
void onParentSymbolSelect(wxCommandEvent &aEvent)
bool TransferDataToWindow() override
void SetPowerSymbol(bool enable)
bool GetIncludeInBom() const
void SetKeepFootprint(bool keep)
The base class for create windows for drawing purpose.
wxString UnescapeString(const wxString &aSource)
wxString EscapeString(const wxString &aSource, ESCAPE_CONTEXT aContext)
The Escape/Unescape routines use HTML-entity-reference-style encoding to handle characters which are:...