35 m_lineWidth( aParent, m_widthLabel, m_widthCtrl, m_widthUnits, true )
37 SetTitle( aItem->
GetTypeName() + wxT(
" " ) + GetTitle() );
63 if( !wxDialog::TransferDataToWindow() )
83 enblConvOptStyle =
true;
98 if( !wxDialog::TransferDataFromWindow() )
Class DIALOG_LIB_SHAPE_PROPERTIES_BASE.
bool GetApplyToAllUnits()
This file is part of the common library.
DIALOG_LIB_SHAPE_PROPERTIES(SYMBOL_EDIT_FRAME *parent, LIB_ITEM *aItem)
Constructor.
wxCheckBox * m_checkApplyToAllUnits
wxFont GetInfoFont(wxWindow *aWindow)
wxStaticText * m_helpLabel
Define a library symbol object.
wxCheckBox * m_checkApplyToAllConversions
void SetInitialFocus(wxWindow *aWindow)
Sets the window (usually a wxTextCtrl) that should be focused when the dialog is shown.
bool GetShowDeMorgan() const
The base class for drawable items used by schematic library symbols.
virtual wxString GetTypeName() const =0
Provide a user-consumable name of the object type.
bool HasConversion() const
Test if symbol has more than one body conversion type (DeMorgan).
bool IsSymbolAlias() const
Restore the empty editor screen, without any symbol or library selected.
int GetUnitCount() const override
For items with units, return the number of units.
bool TransferDataToWindow() override
bool GetApplyToAllConversions()
void SetWidth(int aWidth)
void SetConvert(int aConvert)
wxButton * m_sdbSizerCancel
void finishDialogSettings()
In all dialogs, we must call the same functions to fix minimal dlg size, the default position and per...
SYMBOL_EDIT_FRAME * m_frame
LIB_SYMBOL * GetParent() const
bool IsSymbolEditable() const
Test if a symbol is loaded and can be edited.
virtual void SetValue(int aValue)
Set new value (in Internal Units) for the text field, taking care of units conversion.
virtual long long int GetValue()
Return the current value in Internal Units.
void SetFillMode(FILL_T aFill)
FILL_T GetFillType() const
bool TransferDataFromWindow() override
The symbol library editor main window.