38 m_lineWidth( aParent, m_widthLabel, m_widthCtrl, m_widthUnits, true )
40 SetTitle( aItem->
GetTypeName() + wxT(
" " ) + GetTitle() );
79 enblConvOptStyle =
true;
110 return std::max(
m_fillCtrl->GetSelection(), 0 );
wxButton * m_sdbSizerCancel
bool GetApplyToAllConversions()
bool HasConversion() const
Test if part has more than one body conversion type (DeMorgan).
LIB_PART * GetParent() const
SYMBOL_EDIT_FRAME * m_frame
Class DIALOG_LIB_EDIT_DRAW_ITEM_BASE.
bool GetApplyToAllUnits()
bool TransferDataToWindow() override
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 components.
wxCheckBox * m_checkApplyToAllUnits
virtual wxString GetTypeName() const =0
Provide a user-consumable name of the object type.
FILL_TYPE GetFillMode() const
int GetUnitCount() const override
For items with units, return the number of units.
bool IsSymbolAlias() const
Restore the empty editor screen, without any part or library selected.
Define a library symbol object.
void finishDialogSettings()
In all dialogs, we must call the same functions to fix minimal dlg size, the default position and per...
virtual int GetWidth() const =0
bool IsSymbolEditable() const
Test if a symbol is loaded and can be edited.
wxCheckBox * m_checkApplyToAllConversions
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.
bool IsFillable() const
Check if draw object can be filled.
DIALOG_LIB_EDIT_DRAW_ITEM(SYMBOL_EDIT_FRAME *parent, LIB_ITEM *aItem)
Constructor.
The symbol library editor main window.