52    return wxString::Format( 
_( 
"Table Cell %s" ), 
GetAddr() );
 
 
   60    for( 
int row = 0; row < 
table->GetRowCount(); ++row )
 
   62        for( 
int col = 0; col < 
table->GetColCount(); ++col )
 
   64            if( 
table->GetCell( row, col ) == 
this )
 
 
   77    for( 
int row = 0; row < 
table->GetRowCount(); ++row )
 
   79        for( 
int col = 0; col < 
table->GetColCount(); ++col )
 
   81            if( 
table->GetCell( row, col ) == 
this )
 
 
   92    return wxString::Format( wxT( 
"%c%d" ),
 
 
  129                          int aUnit, 
int aBodyStyle, 
const VECTOR2I& aOffset, 
bool aDimmed )
 
  131    const int cell_body_style = -1;  
 
  133        SCH_TEXTBOX::Plot( aPlotter, aBackground, aPlotOpts, aUnit, cell_body_style, aOffset, aDimmed );
 
 
  139    aList.emplace_back( 
_( 
"Table Cell" ), 
GetAddr() );
 
  144    aList.emplace_back( 
_( 
"Cell Width" ),
 
  146    aList.emplace_back( 
_( 
"Cell Height" ),
 
  149    aList.emplace_back( 
_( 
"Font" ), 
GetFont() ? 
GetFont()->GetName() : 
_( 
"Default" ) );
 
  151    wxString textStyle[] = { 
_( 
"Normal" ), 
_( 
"Italic" ), 
_( 
"Bold" ), 
_( 
"Bold Italic" ) };
 
  153    aList.emplace_back( 
_( 
"Style" ), textStyle[style] );
 
 
  166    double similarity = 1.0;
 
 
  187    return *
this == other;
 
 
  237        const wxString tableProps = 
_( 
"Table" );
 
  249        const wxString cellProps = 
_( 
"Cell Properties" );
 
 
 
The base class for create windows for drawing purpose.
 
KICAD_T Type() const
Returns the type of object.
 
EDA_ITEM * GetParent() const
 
virtual void SetFilled(bool aFlag)
 
void SetFillColor(const COLOR4D &aColor)
 
const VECTOR2I & GetEnd() const
Return the ending point of the graphic.
 
const VECTOR2I & GetStart() const
Return the starting point of the graphic.
 
COLOR4D GetFillColor() const
 
A mix-in class (via multiple inheritance) that handles texts such as labels, parts,...
 
virtual const wxString & GetText() const
Return the string associated with the text object.
 
KIFONT::FONT * GetFont() const
 
Base plotter engine class.
 
PROPERTY_BASE & SetIsHiddenFromRulesEditor(bool aHide=true)
 
Provide class metadata.Helper macro to map type hashes to names.
 
void InheritsAfter(TYPE_ID aDerived, TYPE_ID aBase)
Declare an inheritance relationship between types.
 
void Mask(TYPE_ID aDerived, TYPE_ID aBase, const wxString &aName)
Sets a base class property as masked in a derived class.
 
static PROPERTY_MANAGER & Instance()
 
PROPERTY_BASE & AddProperty(PROPERTY_BASE *aProperty, const wxString &aGroup=wxEmptyString)
Register a property.
 
void AddTypeCast(TYPE_CAST_BASE *aCast)
Register a type converter.
 
SCH_ITEM(EDA_ITEM *aParent, KICAD_T aType, int aUnit=0, int aBodyStyle=0)
 
double Similarity(const SCH_ITEM &aOther) const override
Return a measure of how likely the other object is to represent the same object.
 
void swapData(SCH_ITEM *aItem) override
Swap the internal data structures aItem with the schematic item.
 
SCH_TABLECELL(int aLineWidth=0, FILL_T aFillType=FILL_T::NO_FILL)
 
wxString GetItemDescription(UNITS_PROVIDER *aUnitsProvider, bool aFull) const override
Return a user-visible description string of this item.
 
bool operator==(const SCH_TABLECELL &aOther) const
 
void SetColumnWidth(int aWidth)
 
void Plot(PLOTTER *aPlotter, bool aBackground, const SCH_PLOT_OPTS &aPlotOpts, int aUnit, int aBodyStyle, const VECTOR2I &aOffset, bool aDimmed) override
Plot the item to aPlotter.
 
void SetRowHeight(int aHeight)
 
int GetColumnWidth() const
 
void GetMsgPanelInfo(EDA_DRAW_FRAME *aFrame, std::vector< MSG_PANEL_ITEM > &aList) override
Populate aList of MSG_PANEL_ITEM objects with it's internal state for display purposes.
 
bool operator==(const SCH_ITEM &aOther) const override
 
void Plot(PLOTTER *aPlotter, bool aBackground, const SCH_PLOT_OPTS &aPlotOpts, int aUnit, int aBodyStyle, const VECTOR2I &aOffset, bool aDimmed) override
Plot the item to aPlotter.
 
void swapData(SCH_ITEM *aItem) override
Swap the internal data structures aItem with the schematic item.
 
SCH_TEXTBOX(SCH_LAYER_ID aLayer=LAYER_NOTES, int aLineWidth=0, FILL_T aFillType=FILL_T::NO_FILL, const wxString &aText=wxEmptyString, KICAD_T aType=SCH_TEXTBOX_T)
 
double Similarity(const SCH_ITEM &aOther) const override
Return a measure of how likely the other object is to represent the same object.
 
wxString MessageTextFromValue(double aValue, bool aAddUnitLabel=true, EDA_DATA_TYPE aType=EDA_DATA_TYPE::DISTANCE) const
A lower-precision version of StringFromValue().
 
Message panel definition file.
 
KICOMMON_API wxString EllipsizeStatusText(wxWindow *aWindow, const wxString &aString)
Ellipsize text (at the end) to be no more than 1/3 of the window width.
 
EDA_ANGLE abs(const EDA_ANGLE &aAngle)
 
@ PT_SIZE
Size expressed in distance units (mm/inch)
 
static struct SCH_TABLECELL_DESC _SCH_TABLECELL_DESC
 
VECTOR2< int32_t > VECTOR2I