149    m_italic->Set3StateValue( wxCHK_UNDETERMINED );
 
  150    m_bold->Set3StateValue( wxCHK_UNDETERMINED );
 
  151    m_visible->Set3StateValue( wxCHK_UNDETERMINED );
 
 
  197            eda_text->SetHorizJustify( hAlign );
 
  213            eda_text->SetVertJustify( vAlign );
 
  216        if( 
m_italic->Get3StateValue() != wxCHK_UNDETERMINED )
 
  217            eda_text->SetItalic( 
m_italic->GetValue() );
 
  220        if( 
m_bold->Get3StateValue() != wxCHK_UNDETERMINED )
 
  221            eda_text->SetBold( 
m_bold->GetValue() );
 
  226            eda_text->SetFont( 
m_fontCtrl->GetFontSelection( eda_text->IsBold(),
 
  227                                                             eda_text->IsItalic() ) );
 
  229        else if( 
m_italic->Get3StateValue() != wxCHK_UNDETERMINED
 
  230                || 
m_bold->Get3StateValue() != wxCHK_UNDETERMINED )
 
  232            if( !eda_text->GetFontName().IsEmpty() )
 
  236                                                          eda_text->IsItalic() ) );
 
  249        if( 
m_visible->Get3StateValue() != wxCHK_UNDETERMINED )
 
  250            sch_field->SetVisible( 
m_visible->GetValue() );
 
 
  314            wxString ref = 
static_cast<SCH_SYMBOL*
>( aItem )->GetRef( &aSheetPath );
 
  346    switch( aItem->
Type() )
 
  365                const wxString& fieldName = field.GetName();
 
  392                const wxString& fieldName = field.GetName();
 
  453                const wxString& fieldName = field.GetName();
 
 
  515            m_parent->SetCurrentSheet( sheetPath );
 
  522    if( !commit.
Empty() )
 
  524        commit.
Push( 
_( 
"Edit Text and Graphics" ) );
 
  529    m_parent->SetCurrentSheet( currentSheet );
 
 
static const COLOR4D UNSPECIFIED
For legacy support; used as a value to indicate color hasn't been set yet.
 
COMMIT & Modify(EDA_ITEM *aItem, BASE_SCREEN *aScreen=nullptr, RECURSE_MODE aRecurse=RECURSE_MODE::NO_RECURSE)
Modify a given item in the model.
 
wxCheckBox * m_typeFilterOpt
 
wxCheckBox * m_hierLabels
 
wxCheckBox * m_selectedFilterOpt
 
wxStaticText * m_staticText14
 
wxCheckBox * m_sheetFields
 
wxTextCtrl * m_textSizeCtrl
 
wxStaticText * m_textSizeLabel
 
wxCheckBox * m_schTextAndGraphics
 
DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Edit Text and Graphic Properties"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
 
wxCheckBox * m_globalLabels
 
wxStaticText * m_dotSizeUnits
 
wxCheckBox * m_otherFields
 
wxTextCtrl * m_fieldnameFilter
 
wxTextCtrl * m_symbolFilter
 
wxCheckBox * m_setDotColor
 
wxCheckBox * m_sheetBorders
 
wxStaticText * m_staticText15
 
wxStaticText * m_staticText13
 
COLOR_SWATCH * m_dotColorSwatch
 
wxCheckBox * m_referenceFilterOpt
 
wxCheckBox * m_symbolFilterOpt
 
wxStaticText * m_staticText16
 
wxCheckBox * m_setFillColor
 
wxCheckBox * m_labelFields
 
wxCheckBox * m_netFilterOpt
 
wxStaticText * m_lineWidthLabel
 
wxTextCtrl * m_referenceFilter
 
wxStaticText * m_lineWidthUnits
 
COLOR_SWATCH * m_colorSwatch
 
wxStaticText * m_textSizeUnits
 
COLOR_SWATCH * m_fillColorSwatch
 
wxTextCtrl * m_LineWidthCtrl
 
wxStaticText * m_dotSizeLabel
 
wxCheckBox * m_showFieldNames
 
wxCheckBox * m_fieldnameFilterOpt
 
wxCheckBox * m_setTextColor
 
wxStaticText * m_staticText12
 
wxTextCtrl * m_dotSizeCtrl
 
COLOR_SWATCH * m_textColorSwatch
 
wxCheckBox * m_sheetTitles
 
wxCheckBox * m_references
 
void OnFieldNameFilterText(wxCommandEvent &event) override
 
UNIT_BINDER m_junctionSize
 
void OnSymbolFilterText(wxCommandEvent &event) override
 
void OnReferenceFilterText(wxCommandEvent &event) override
 
void processItem(SCH_COMMIT *aCommit, const SCH_SHEET_PATH &aSheetPath, SCH_ITEM *aItem)
 
bool TransferDataFromWindow() override
 
bool TransferDataToWindow() override
 
DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS(SCH_EDIT_FRAME *parent)
 
void OnNetFilterText(wxCommandEvent &event) override
 
SCH_EDIT_FRAME * m_parent
 
SCH_SELECTION m_selection
 
~DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS() override
 
void visitItem(SCH_COMMIT *aCommit, const SCH_SHEET_PATH &aSheetPath, SCH_ITEM *aItem)
 
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...
 
KICAD_T Type() const
Returns the type of object.
 
EDA_ITEM * GetParent() const
 
A mix-in class (via multiple inheritance) that handles texts such as labels, parts,...
 
static GR_TEXT_H_ALIGN_T MapHorizJustify(int aHorizJustify)
 
static GR_TEXT_V_ALIGN_T MapVertJustify(int aVertJustify)
 
static FONT * GetFont(const wxString &aFontName=wxEmptyString, bool aBold=false, bool aItalic=false, const std::vector< wxString > *aEmbeddedFiles=nullptr, bool aForDrawingSheet=false)
 
virtual void Push(const wxString &aMessage=wxT("A commit"), int aCommitFlags=0) override
Execute the changes.
 
Each graphical item can have a SCH_CONNECTION describing its logical connection (to a bus or net).
 
wxString Name(bool aIgnoreSheet=false) const
 
Schematic editor (Eeschema) main window.
 
Base class for any item which can be embedded within the SCHEMATIC container class,...
 
const SCH_ITEM_VEC & ConnectedItems(const SCH_SHEET_PATH &aPath)
Retrieve the set of items connected to this item on the given sheet.
 
SCH_LAYER_ID GetLayer() const
Return the layer this item is on.
 
virtual void SetStroke(const STROKE_PARAMS &aStroke)
 
SCH_CONNECTION * Connection(const SCH_SHEET_PATH *aSheet=nullptr) const
Retrieve the connection associated with this object in the given sheet.
 
virtual STROKE_PARAMS GetStroke() const
 
virtual bool HasLineStroke() const
Check if this schematic item has line stoke properties.
 
bool IsType(const std::vector< KICAD_T > &aScanTypes) const override
Check whether the item is one of the listed types.
 
EE_RTREE & Items()
Get the full RTree, usually for iterating.
 
Handle access to a stack of flattened SCH_SHEET objects by way of a path for creating a flattened sch...
 
SCH_SCREEN * LastScreen()
 
Define a sheet pin (label) used in sheets to create hierarchical schematics.
 
Sheet symbol placed in a schematic, and is the entry point for a sub schematic.
 
void SetBorderColor(KIGFX::COLOR4D aColor)
 
std::vector< SCH_FIELD > & GetFields()
Return a reference to the vector holding the sheet's fields.
 
SCH_FIELD * GetField(FIELD_T aFieldType)
Return a mandatory field in this sheet.
 
void SetBackgroundColor(KIGFX::COLOR4D aColor)
 
void SetBorderWidth(int aWidth)
 
std::vector< SCH_SHEET_PIN * > & GetPins()
 
void GetFields(std::vector< SCH_FIELD * > &aVector, bool aVisibleOnly) const override
Populate a std::vector with SCH_FIELDs, sorted in ordinal order.
 
bool IsPower() const override
 
SCH_FIELD * GetField(FIELD_T aFieldType)
Return a mandatory field in this symbol.
 
Simple container to manage line stroke parameters.
 
void SetLineStyle(LINE_STYLE aLineStyle)
 
void SetWidth(int aWidth)
 
void SetColor(const KIGFX::COLOR4D &aColor)
 
const TRANSFORM & GetTransform() const
 
static wxString g_symbolFilter
 
static wxString g_netFilter
 
static wxString g_fieldnameFilter
 
static wxString g_referenceFilter
 
KICOMMON_API wxFont GetSmallInfoFont(wxWindow *aWindow)
 
static wxString g_referenceFilter
 
void Format(OUTPUTFORMATTER *out, int aNestLevel, int aCtl, const CPTREE &aTree)
Output a PTREE into s-expression format via an OUTPUTFORMATTER derivative.
 
bool WildCompareString(const wxString &pattern, const wxString &string_to_tst, bool case_sensitive)
Compare a string against wild card (* and ?) pattern using the usual rules.
 
wxString UnescapeString(const wxString &aSource)
 
LINE_STYLE
Dashed line types.
 
@ REFERENCE
Field Reference of part, i.e. "IC21".
 
@ VALUE
Field Value of part, i.e. "3.3K".
 
GR_TEXT_H_ALIGN_T
This is API surface mapped to common.types.HorizontalAlignment.
 
GR_TEXT_V_ALIGN_T
This is API surface mapped to common.types.VertialAlignment.
 
@ SCH_LABEL_LOCATE_WIRE_T
 
#define INDETERMINATE_ACTION
 
VECTOR2< int32_t > VECTOR2I