52 m_bold->SetIsCheckButton();
90 wxString txt =
static_cast<SCH_HIERLABEL*
>( item )->GetText();
92 if(
m_comboName->FindString( txt,
true ) == wxNOT_FOUND )
116 default: wxFAIL_MSG( wxT(
"Unknown sheet pin shape" ) );
break;
153 if( !commit.
Empty() )
154 commit.
Push(
_(
"Edit Sheet Pin Properties" ) );
189 default: wxFAIL_MSG( wxT(
"Unknown sheet pin shape" ) );
break;
wxBitmapBundle KiBitmapBundle(BITMAPS aBitmap, int aMinHeight)
static const COLOR4D UNSPECIFIED
For legacy support; used as a value to indicate color hasn't been set yet.
Color settings are a bit different than most of the settings objects in that there can be more than o...
COLOR4D GetColor(int aLayer) const
COMMIT & Modify(EDA_ITEM *aItem, BASE_SCREEN *aScreen=nullptr, RECURSE_MODE aRecurse=RECURSE_MODE::NO_RECURSE)
Modify a given item in the model.
wxRadioButton * m_passive
BITMAP_BUTTON * m_separator1
DIALOG_SHEET_PIN_PROPERTIES_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Sheet Pin Properties"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
COLOR_SWATCH * m_textColorSwatch
BITMAP_BUTTON * m_separator2
wxStaticText * m_textSizeLabel
wxStaticText * m_textSizeUnits
wxRadioButton * m_triState
wxTextCtrl * m_textSizeCtrl
wxRadioButton * m_bidirectional
bool TransferDataFromWindow() override
DIALOG_SHEET_PIN_PROPERTIES(SCH_EDIT_FRAME *parent, SCH_SHEET_PIN *aPin)
bool TransferDataToWindow() override
HTML_MESSAGE_BOX * m_helpWindow
void onComboBox(wxCommandEvent &event) override
void onOKButton(wxCommandEvent &event) override
SCH_SHEET_PIN * m_sheetPin
~DIALOG_SHEET_PIN_PROPERTIES()
void OnSyntaxHelp(wxHyperlinkEvent &event) override
void SetInitialFocus(wxWindow *aWindow)
Sets the window (usually a wxTextCtrl) that should be focused when the dialog is shown.
void SetupStandardButtons(std::map< int, wxString > aLabels={})
void finishDialogSettings()
In all dialogs, we must call the same functions to fix minimal dlg size, the default position and per...
virtual const wxString & GetText() const
Return the string associated with the text object.
EE_TYPE OfType(KICAD_T aType) const
A color representation with 4 components: red, green, blue, alpha.
virtual void Push(const wxString &aMessage=wxT("A commit"), int aCommitFlags=0) override
Execute the changes.
Schematic editor (Eeschema) main window.
Base class for any item which can be embedded within the SCHEMATIC container class,...
LABEL_FLAG_SHAPE GetShape() const
EE_RTREE & Items()
Get the full RTree, usually for iterating.
Define a sheet pin (label) used in sheets to create hierarchical schematics.
static HTML_MESSAGE_BOX * ShowSyntaxHelp(wxWindow *aParentWindow)
@ LAYER_SCHEMATIC_BACKGROUND
Definitions of control validators for schematic dialogs.
wxString UnescapeString(const wxString &aSource)
wxString EscapeString(const wxString &aSource, ESCAPE_CONTEXT aContext)
The Escape/Unescape routines use HTML-entity-reference-style encoding to handle characters which are:...
VECTOR2< int32_t > VECTOR2I