|
| enum | { Type = UserType + 1
} |
| |
|
|
| Component (GraphWidget *graphWidget, ComponentType, double, QMap< QString, QString >, QString ID) |
| |
|
| Component (GraphWidget *graphWidget, struct ComponentInfo) |
| |
| void | addWire (Wire *Wire) |
| |
|
QList< Wire * > | Wires () const |
| |
|
int | type () const |
| |
| QRectF | boundingRect () const |
| |
| QPainterPath | shape () const |
| |
| void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) |
| |
| QPoint | getPortLocation (int) |
| |
|
QString | getID () |
| |
|
void | setRotation (double) |
| |
|
void | setParameters (QMap< QString, QString >) |
| |
|
QMap< QString, QString > | getParameters () |
| |
|
void | setComponentType (ComponentType) |
| |
|
ComponentType | getComponentType () |
| |
|
| QVariant | itemChange (GraphicsItemChange change, const QVariant &value) |
| |
| void | mousePressEvent (QGraphicsSceneMouseEvent *event) |
| |
| void | mouseReleaseEvent (QGraphicsSceneMouseEvent *event) |
| |
|
void | mouseDoubleClickEvent (QGraphicsSceneMouseEvent *event) |
| |
◆ addWire()
| void Component::addWire |
( |
Wire * |
Wire | ) |
|
|
virtual |
◆ boundingRect()
| QRectF Component::boundingRect |
( |
| ) |
const |
|
virtual |
◆ getPortLocation()
| QPoint Component::getPortLocation |
( |
int |
port_number | ) |
|
|
virtual |
◆ itemChange()
| QVariant Component::itemChange |
( |
GraphicsItemChange |
change, |
|
|
const QVariant & |
value |
|
) |
| |
|
protectedvirtual |
◆ mousePressEvent()
| void Component::mousePressEvent |
( |
QGraphicsSceneMouseEvent * |
event | ) |
|
|
protectedvirtual |
◆ mouseReleaseEvent()
| void Component::mouseReleaseEvent |
( |
QGraphicsSceneMouseEvent * |
event | ) |
|
|
protectedvirtual |
◆ paint()
| void Component::paint |
( |
QPainter * |
painter, |
|
|
const QStyleOptionGraphicsItem * |
option, |
|
|
QWidget * |
widget |
|
) |
| |
|
virtual |
◆ shape()
| QPainterPath Component::shape |
( |
| ) |
const |
|
virtual |
The documentation for this class was generated from the following files:
- Schematic/component.h
- Schematic/component.cpp
- Schematic/PaintingFunctions/IdealTransmissionLines/paintCoupledLines.cpp
- Schematic/PaintingFunctions/IdealTransmissionLines/paintOpenStub.cpp
- Schematic/PaintingFunctions/IdealTransmissionLines/paintShortStub.cpp
- Schematic/PaintingFunctions/IdealTransmissionLines/paintTransmissionLine.cpp
- Schematic/PaintingFunctions/Microstrip/paintMicrostripCoupledLines.cpp
- Schematic/PaintingFunctions/Microstrip/paintMicrostripLine.cpp
- Schematic/PaintingFunctions/Microstrip/paintMicrostripOpen.cpp
- Schematic/PaintingFunctions/Microstrip/paintMicrostripStep.cpp
- Schematic/PaintingFunctions/Microstrip/paintMicrostripVia.cpp
- Schematic/PaintingFunctions/paintCapacitor.cpp
- Schematic/PaintingFunctions/paintComplexImpedance.cpp
- Schematic/PaintingFunctions/paintCoupler.cpp
- Schematic/PaintingFunctions/paintGND.cpp
- Schematic/PaintingFunctions/paintInductor.cpp
- Schematic/PaintingFunctions/paintResistor.cpp
- Schematic/PaintingFunctions/paintSPAR.cpp
- Schematic/PaintingFunctions/paintTerm.cpp