QElectroTech 0.200.1-dev
Loading...
Searching...
No Matches
EdzElementBuilder Class Reference

Builds a QElectroTech element (.elmt) from an EdzPart. More...

#include <edzelementbuilder.h>

Collaboration diagram for EdzElementBuilder:
Collaboration graph

Static Public Member Functions

static QDomDocument build (const EdzPart &part)
static QString toElmtString (const QDomDocument &doc)

Detailed Description

Builds a QElectroTech element (.elmt) from an EdzPart.

Generates a generic symbol: a body rectangle with one west-facing terminal per pin (stacked on the left edge, on the 10px wiring grid), per-pin labels, localized names and the element-information fields QET uses for the BOM. Faithful port of the edz2qet.py prototype's builder.

Member Function Documentation

◆ build()

QDomDocument EdzElementBuilder::build ( const EdzPart & part)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ toElmtString()

QString EdzElementBuilder::toElmtString ( const QDomDocument & doc)
static
Here is the caller graph for this function:

The documentation for this class was generated from the following files: