|
SILICON
|
Visual metadata used to render a subcircuit as a reusable component. More...
#include <metadata.hpp>
Public Attributes | |
| QSize | widthHeight |
| Rectangle dimensions in pixels. | |
| bool | autoSize = true |
| Derive dimensions from port counts until the user edits the size. | |
| PortPositioning | positioning = PortPositioning::Automatic |
| One positioning mode for all input and output ports of the shape. | |
| std::vector< GraphicalSubcircuitPortMetadata > | inputs |
| Input boundary ports in core interface order. | |
| std::vector< GraphicalSubcircuitPortMetadata > | outputs |
| Output boundary ports in core interface order. | |
Visual metadata used to render a subcircuit as a reusable component.
The in-memory representation uses pixels because it is consumed directly by QGraphicsItem geometry. Serialization converts width, height, and port positions to grid units.
Definition at line 74 of file metadata.hpp.
| bool autoSize = true |
Derive dimensions from port counts until the user edits the size.
Definition at line 79 of file metadata.hpp.
| std::vector<GraphicalSubcircuitPortMetadata> inputs |
Input boundary ports in core interface order.
Definition at line 83 of file metadata.hpp.
| std::vector<GraphicalSubcircuitPortMetadata> outputs |
Output boundary ports in core interface order.
Definition at line 85 of file metadata.hpp.
| PortPositioning positioning = PortPositioning::Automatic |
One positioning mode for all input and output ports of the shape.
Definition at line 81 of file metadata.hpp.
| QSize widthHeight |
Rectangle dimensions in pixels.
Definition at line 76 of file metadata.hpp.