The SchematicGraphicsScene class.
More...
#include <schematicgraphicsscene.h>
|
enum | ZValue : int |
| Z-values of all items in a schematic (to define the stacking order) More...
|
|
|
| SchematicGraphicsScene ()=delete |
|
| SchematicGraphicsScene (const SchematicGraphicsScene &other)=delete |
|
| SchematicGraphicsScene (Schematic &schematic, const IF_GraphicsLayerProvider &lp, std::shared_ptr< const QSet< const NetSignal * > > highlightedNetSignals, QObject *parent=nullptr) noexcept |
|
virtual | ~SchematicGraphicsScene () noexcept |
|
Schematic & | getSchematic () noexcept |
|
const QHash< SI_Symbol *, std::shared_ptr< SGI_Symbol > > & | getSymbols () noexcept |
|
const QHash< SI_SymbolPin *, std::shared_ptr< SGI_SymbolPin > > & | getSymbolPins () noexcept |
|
const QHash< SI_NetPoint *, std::shared_ptr< SGI_NetPoint > > & | getNetPoints () noexcept |
|
const QHash< SI_NetLine *, std::shared_ptr< SGI_NetLine > > & | getNetLines () noexcept |
|
const QHash< SI_NetLabel *, std::shared_ptr< SGI_NetLabel > > & | getNetLabels () noexcept |
|
const QHash< SI_Polygon *, std::shared_ptr< PolygonGraphicsItem > > & | getPolygons () noexcept |
|
const QHash< SI_Text *, std::shared_ptr< SGI_Text > > & | getTexts () noexcept |
|
void | selectAll () noexcept |
|
void | selectItemsInRect (const Point &p1, const Point &p2) noexcept |
|
void | clearSelection () noexcept |
|
void | updateHighlightedNetSignals () noexcept |
|
SchematicGraphicsScene & | operator= (const SchematicGraphicsScene &rhs)=delete |
|
| GraphicsScene (QObject *parent=nullptr) noexcept |
|
virtual | ~GraphicsScene () noexcept |
|
void | addItem (QGraphicsItem &item) noexcept |
|
void | removeItem (QGraphicsItem &item) noexcept |
|
void | setSelectionRectColors (const QColor &line, const QColor &fill) noexcept |
|
void | setSelectionRect (const Point &p1, const Point &p2) noexcept |
|
void | clearSelectionRect () noexcept |
|
QPixmap | toPixmap (int dpi, const QColor &background=Qt::transparent) noexcept |
|
QPixmap | toPixmap (const QSize &size, const QColor &background=Qt::transparent) noexcept |
|
◆ ZValue
Z-values of all items in a schematic (to define the stacking order)
These values are used for QGraphicsItem::setZValue() to define the stacking order of all items in a schematic QGraphicsScene. We use integer values, even if the z-value of QGraphicsItem is a qreal attribute...
Low number = background, high number = foreground
◆ SchematicGraphicsScene() [1/3]
◆ SchematicGraphicsScene() [2/3]
◆ SchematicGraphicsScene() [3/3]
◆ ~SchematicGraphicsScene()
◆ getSchematic()
◆ getSymbols()
◆ getSymbolPins()
◆ getNetPoints()
◆ getNetLines()
◆ getNetLabels()
◆ getPolygons()
◆ getTexts()
◆ selectAll()
◆ selectItemsInRect()
void selectItemsInRect |
( |
const Point & |
p1, |
|
|
const Point & |
p2 |
|
) |
| |
|
noexcept |
◆ clearSelection()
◆ updateHighlightedNetSignals()
void updateHighlightedNetSignals |
( |
| ) |
|
|
noexcept |
◆ operator=()
◆ addSymbol()
◆ removeSymbol()
◆ addSymbolPin()
◆ removeSymbolPin()
◆ addNetSegment()
◆ removeNetSegment()
◆ addNetPointsAndNetLines()
void addNetPointsAndNetLines |
( |
const QList< SI_NetPoint * > & |
netPoints, |
|
|
const QList< SI_NetLine * > & |
netLines |
|
) |
| |
|
privatenoexcept |
◆ removeNetPointsAndNetLines()
void removeNetPointsAndNetLines |
( |
const QList< SI_NetPoint * > & |
netPoints, |
|
|
const QList< SI_NetLine * > & |
netLines |
|
) |
| |
|
privatenoexcept |
◆ addNetPoint()
◆ removeNetPoint()
◆ addNetLine()
◆ removeNetLine()
◆ addNetLabel()
◆ removeNetLabel()
◆ addPolygon()
◆ removePolygon()
◆ addText()
◆ removeText()
◆ mSchematic
◆ mLayerProvider
◆ mHighlightedNetSignals
std::shared_ptr<const QSet<const NetSignal*> > mHighlightedNetSignals |
|
private |
◆ mSymbols
◆ mSymbolPins
◆ mNetPoints
◆ mNetLines
◆ mNetLabels
◆ mPolygons
◆ mTexts
The documentation for this class was generated from the following files: