2 #ifndef DIALOG_EDIT_ONE_FIELD_H_ 3 #define DIALOG_EDIT_ONE_FIELD_H_ 162 #endif // DIALOG_EDIT_ONE_FIELD_H_ Instances are attached to a symbol or sheet and provide a place for the symbol's value,...
Class DIALOG_LIB_TEXT_PROPERTIES_BASE.
Add cut/copy/paste, dark theme, autocomplete and brace highlighting to a wxStyleTextCtrl instance.
bool TransferDataFromWindow() override
A base class to edit schematic and symbol library fields.
void updateText(EDA_TEXT *aText)
Field object used in symbol libraries.
DIALOG_SCH_FIELD_PROPERTIES(SCH_BASE_FRAME *aParent, const wxString &aTitle, const SCH_FIELD *aField)
void SetTextPos(const wxPoint &aPoint)
Handle editing a single symbol field in the schematic editor.
~DIALOG_SCH_FIELD_PROPERTIES()
A mix-in class (via multiple inheritance) that handles texts such as labels, parts,...
void onScintillaCharAdded(wxStyledTextEvent &aEvent)
const SCH_FIELD * m_field
static EDA_TEXT_HJUSTIFY_T MapHorizJustify(int aHorizJustify)
Field Value of part, i.e. "3.3K".
virtual void SetText(const wxString &aText)
virtual void SetName(const wxString &aName)
void SetVertJustify(EDA_TEXT_VJUSTIFY_T aType)
~DIALOG_FIELD_PROPERTIES() override
void UpdateField(LIB_FIELD *aField)
DIALOG_FIELD_PROPERTIES(SCH_BASE_FRAME *aParent, const wxString &aTitle, const EDA_TEXT *aTextItem)
Handle access to a stack of flattened SCH_SHEET objects by way of a path for creating a flattened sch...
void OnTextValueSelectButtonClick(wxCommandEvent &aEvent) override
Handle the select button next to the text value field.
static EDA_TEXT_VJUSTIFY_T MapVertJustify(int aVertJustify)
SCINTILLA_TRICKS * m_scintillaTricks
LIB_SYMBOL * GetParent() const
DIALOG_LIB_FIELD_PROPERTIES(SCH_BASE_FRAME *aParent, const wxString &aTitle, const LIB_FIELD *aField)
void SetHorizJustify(EDA_TEXT_HJUSTIFY_T aType)
~DIALOG_LIB_FIELD_PROPERTIES()
int m_verticalJustification
const wxString & GetText() const
void UpdateField(SCH_FIELD *aField, SCH_SHEET_PATH *aSheetPath)
wxString EscapeString(const wxString &aSource, ESCAPE_CONTEXT aContext)
The Escape/Unescape routines use HTML-entity-reference-style encoding to handle characters which are:...
SCH_BASE_FRAME * GetParent()
bool TransferDataToWindow() override
A shim class between EDA_DRAW_FRAME and several derived classes: SYMBOL_EDIT_FRAME,...
Handle editing a single symbol field in the symbol editor.
int m_horizontalJustification
virtual void OnSetFocusText(wxFocusEvent &event) override
Used to select the variant part of some text fields (for instance, the question mark or number in a r...