36 m_posX( aParent, m_xPosLabel, m_xPosCtrl, m_xPosUnits, true ),
37 m_posY( aParent, m_yPosLabel, m_yPosCtrl, m_yPosUnits, true ),
38 m_textSize( aParent, m_textSizeLabel, m_textSizeCtrl, m_textSizeUnits, true )
48 wxFont infoFont = wxSystemSettings::GetFont( wxSYS_DEFAULT_GUI_FONT );
49 infoFont.SetSymbolicSize( wxFONTSIZE_SMALL );
107 m_CommonUnit->SetValue( !tools->GetDrawSpecificUnit() );
162 tools->SetDrawSpecificUnit( !
m_CommonUnit->GetValue() );
#define TEXT_ANGLE_HORIZ
Frequent text rotations, used with {Set,Get}TextAngle(), in 0.1 degrees for now, hoping to migrate to...
EDA_TEXT_VJUSTIFY_T GetVertJustify() const
Define a symbol library graphical text item.
wxPoint GetPosition() const override
bool TransferDataToWindow() override
void SetItalic(bool isItalic)
wxStaticText * m_PowerComponentValues
double GetTextAngle() const
SYMBOL_EDIT_FRAME * m_parent
DIALOG_LIB_EDIT_TEXT(SYMBOL_EDIT_FRAME *aParent, LIB_TEXT *aText)
void SetTextSize(const wxSize &aNewSize)
KIWAY Kiway & Pgm(), KFCTL_STANDALONE
The global Program "get" accessor.
bool TransferDataFromWindow() override
void SetInitialFocus(wxWindow *aWindow)
Sets the window (usually a wxTextCtrl) that should be focused when the dialog is shown.
wxChoice * m_vAlignChoice
EDA_TEXT_HJUSTIFY_T GetHorizJustify() const
virtual void SetText(const wxString &aText)
bool IsSymbolAlias() const
Restore the empty editor screen, without any part or library selected.
void SetMsgPanel(const std::vector< MSG_PANEL_ITEM > &aList)
Clear the message panel and populates it with the contents of aList.
void SetVertJustify(EDA_TEXT_VJUSTIFY_T aType)
wxBitmapButton * m_TextValueSelectButton
Class DIALOG_LIB_EDIT_TEXT_BASE.
void SetConvert(int aConvert)
void finishDialogSettings()
In all dialogs, we must call the same functions to fix minimal dlg size, the default position and per...
wxChoice * m_hAlignChoice
bool IsSymbolEditable() const
Test if a symbol is loaded and can be edited.
void SetHorizJustify(EDA_TEXT_HJUSTIFY_T aType)
virtual void SetValue(int aValue)
Set new value (in Internal Units) for the text field, taking care of units conversion.
wxButton * m_sdbSizerButtonsCancel
wxCheckBox * m_CommonUnit
wxChoice * m_orientChoice
wxStyledTextCtrl * m_StyledTextCtrl
virtual long long int GetValue()
Return the current value in Internal Units.
void SetPosition(const wxPoint &aPosition) override
virtual void SetTextAngle(double aAngle)
wxCheckBox * m_CommonConvert
virtual const wxString & GetText() const
Return the string associated with the text object.
wxButton * m_sdbSizerButtonsOK
The symbol library editor main window.