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 )
#define TEXT_ANGLE_HORIZ
Frequent text rotations, used with {Set,Get}TextAngle(), in 0.1 degrees for now, hoping to migrate to...
Class DIALOG_LIB_TEXT_PROPERTIES_BASE.
bool TransferDataFromWindow() override
EDA_TEXT_VJUSTIFY_T GetVertJustify() const
wxCheckBox * m_CommonUnit
wxCheckBox * m_CommonConvert
Define a symbol library graphical text item.
SYMBOL_EDITOR_SETTINGS * GetSettings() const
wxPoint GetPosition() const override
void SetItalic(bool isItalic)
wxFont GetInfoFont(wxWindow *aWindow)
double GetTextAngle() const
void SetTextSize(const wxSize &aNewSize)
wxChoice * m_hAlignChoice
void SetInitialFocus(wxWindow *aWindow)
Sets the window (usually a wxTextCtrl) that should be focused when the dialog is shown.
wxButton * m_sdbSizerButtonsOK
EDA_TEXT_HJUSTIFY_T GetHorizJustify() const
virtual void SetText(const wxString &aText)
bool IsSymbolAlias() const
Restore the empty editor screen, without any symbol 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)
wxStyledTextCtrl * m_StyledTextCtrl
wxChoice * m_vAlignChoice
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...
DIALOG_LIB_TEXT_PROPERTIES(SYMBOL_EDIT_FRAME *aParent, LIB_TEXT *aText)
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.
virtual long long int GetValue()
Return the current value in Internal Units.
bool TransferDataToWindow() override
void SetPosition(const wxPoint &aPosition) override
virtual void SetTextAngle(double aAngle)
wxButton * m_sdbSizerButtonsCancel
wxChoice * m_orientChoice
SYMBOL_EDIT_FRAME * m_parent
virtual const wxString & GetText() const
Return the string associated with the text object.
wxBitmapButton * m_TextValueSelectButton
The symbol library editor main window.