24#ifndef SCH_TABLECELL_H
25#define SCH_TABLECELL_H
38 virtual wxString
GetClass()
const override {
return wxT(
"SCH_TABLECELL" ); }
53 int aDepth = 0 )
const override;
55 wxString
GetShownText(
bool aAllowExtraText,
int aDepth = 0 )
const override
60 sheetPath = &schematic->CurrentSheet();
62 return GetShownText(
nullptr, sheetPath, aAllowExtraText, aDepth );
80 const VECTOR2I& aOffset,
bool aDimmed )
override;
The base class for create windows for drawing purpose.
A set of EDA_ITEMs (i.e., without duplicates).
A base class for most all the KiCad significant classes used in schematics and boards.
virtual EDA_GROUP * GetParentGroup() const
KICAD_T Type() const
Returns the type of object.
EDA_ITEM * GetParent() const
Container for all the knowledge about how graphical objects are drawn on any output surface/device.
Base plotter engine class.
Holds all the data relating to one schematic.
Base class for any item which can be embedded within the SCHEMATIC container class,...
SCHEMATIC * Schematic() const
Search the item hierarchy to find a SCHEMATIC.
Handle access to a stack of flattened SCH_SHEET objects by way of a path for creating a flattened sch...
EDA_GROUP * GetParentGroup() const override
static bool ClassOf(const EDA_ITEM *aItem)
double Similarity(const SCH_ITEM &aOther) const override
Return a measure of how likely the other object is to represent the same object.
virtual wxString GetClass() const override
Return the class name.
void swapData(SCH_ITEM *aItem) override
Swap the internal data structures aItem with the schematic item.
wxString GetShownText(bool aAllowExtraText, int aDepth=0) const override
Return the string actually shown after processing of the base text.
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 SetRowSpan(int aSpan)
wxString GetShownText(const RENDER_SETTINGS *aSettings, const SCH_SHEET_PATH *aPath, bool aAllowExtraText, int aDepth=0) const override
EDA_ITEM * Clone() const override
Create a duplicate of this item with linked list members set to NULL.
void SetColumnWidth(int aWidth)
void SetColSpan(int aSpan)
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.
bool IsFilledForHitTesting() const override
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.
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)
VECTOR2< int32_t > VECTOR2I