|
|
void | shuffle () |
| | Randomize component positions.
|
| |
|
void | zoomIn () |
| | Zoom in view.
|
| |
|
void | zoomOut () |
| | Zoom out view.
|
| |
| void | ComponentSelectionHandler (struct ComponentInfo CI) |
| | Handle component selection events.
|
| |
|
|
void | keyPressEvent (QKeyEvent *) |
| | Handle key press events.
|
| |
|
void | timerEvent (QTimerEvent *event) |
| | Handle timer events.
|
| |
|
void | wheelEvent (QWheelEvent *event) |
| | Handle mouse wheel events.
|
| |
| void | scaleView (qreal scaleFactor) |
| | Scale view by factor.
|
| |
◆ GraphWidget()
| GraphWidget::GraphWidget |
( |
QWidget * |
parent = 0 | ) |
|
Construct graph widget.
- Parameters
-
◆ ComponentSelectionHandler
| void GraphWidget::ComponentSelectionHandler |
( |
struct ComponentInfo |
CI | ) |
|
|
inlineslot |
Handle component selection events.
- Parameters
-
| CI | Selected component information |
◆ ModifyComponent()
Modify existing component parameters.
- Parameters
-
◆ scaleView()
| void GraphWidget::scaleView |
( |
qreal |
scaleFactor | ) |
|
|
protected |
Scale view by factor.
- Parameters
-
| scaleFactor | Scaling factor |
◆ SendComponentSelectionToMainFunction
| void GraphWidget::SendComponentSelectionToMainFunction |
( |
ComponentInfo |
| ) |
|
|
signal |
Send component selection to main function.
- Parameters
-
| CI | Selected component information |
◆ setComponents()
Set components (position, type, values) in the schematic.
- Parameters
-
| cmps | List of component information |
◆ setNodes()
| void GraphWidget::setNodes |
( |
QList< NodeInfo > |
nds | ) |
|
Set nodes in the schematic.
- Parameters
-
| nds | List of node information |
◆ setSchematic()
Set complete schematic content.
- Parameters
-
| SchContent | Schematic content structure |
◆ setTexts()
| void GraphWidget::setTexts |
( |
QList< QGraphicsTextItem * > |
texts | ) |
|
Set text items in the schematic.
- Parameters
-
◆ setWires()
| void GraphWidget::setWires |
( |
const QList< WireInfo > & |
wrs | ) |
|
Set wires (position and connection properties) in the schematic.
- Parameters
-
| wrs | List of wire information |
The documentation for this class was generated from the following files: