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

The WiringListExport class Exports the wiring diagram from QElectroTech as a CSV file. More...

#include <wiringlistexport.h>

Inherits QObject.

Collaboration diagram for WiringListExport:
Collaboration graph

Public Member Functions

 WiringListExport (QETProject *project, QWidget *parent=nullptr)
void toCsv ()
QString toCsvString () const

Private Member Functions

QString normalizeUuid (const QString &u) const
QString findDiagramFolio (const QDomElement &diagramElem) const
QDomElement climbToDiagram (QDomNode node) const
QMap< QString, ElementInfocollectElementsInfo (const QDomElement &root) const
QList< ConductorDatacollectConductors (const QDomElement &root) const

Private Attributes

QETProjectm_project
QWidget * m_parent

Detailed Description

The WiringListExport class Exports the wiring diagram from QElectroTech as a CSV file.

Constructor & Destructor Documentation

◆ WiringListExport()

WiringListExport::WiringListExport ( QETProject * project,
QWidget * parent = nullptr )
explicit

Member Function Documentation

◆ climbToDiagram()

QDomElement WiringListExport::climbToDiagram ( QDomNode node) const
private
Here is the caller graph for this function:

◆ collectConductors()

QList< ConductorData > WiringListExport::collectConductors ( const QDomElement & root) const
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ collectElementsInfo()

QMap< QString, ElementInfo > WiringListExport::collectElementsInfo ( const QDomElement & root) const
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ findDiagramFolio()

QString WiringListExport::findDiagramFolio ( const QDomElement & diagramElem) const
private
Here is the caller graph for this function:

◆ normalizeUuid()

QString WiringListExport::normalizeUuid ( const QString & u) const
private
Here is the caller graph for this function:

◆ toCsv()

void WiringListExport::toCsv ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ toCsvString()

QString WiringListExport::toCsvString ( ) const

Build the wiring-list CSV and return it as a string (no GUI). Used by toCsv() and by the headless command-line export.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ m_parent

QWidget* WiringListExport::m_parent
private

◆ m_project

QETProject* WiringListExport::m_project
private

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