QElectroTech 0.100.0-dev
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ConductorNumExport Class Reference

The ConductorNumExport class A class to export the num of conductors into a csv file. More...

#include <conductornumexport.h>

Collaboration diagram for ConductorNumExport:
Collaboration graph

Public Member Functions

 ConductorNumExport (QETProject *project, QWidget *parent=nullptr)
 ConductorNumExport::ConductorNumExport.
 
bool toCsv ()
 ConductorNumExport::toCsv Export the num of conductors into a csv file.
 
QString wiresNum () const
 ConductorNumExport::wiresNum.
 

Private Member Functions

void fillHash ()
 ConductorNumExport::fillHash make/fill of m_hash.
 

Private Attributes

QETProjectm_project = nullptr
 
QHash< QString, int > m_hash
 
QWidget * m_parent_widget = nullptr
 

Detailed Description

The ConductorNumExport class A class to export the num of conductors into a csv file.

Constructor & Destructor Documentation

◆ ConductorNumExport()

ConductorNumExport::ConductorNumExport ( QETProject project,
QWidget *  parent = nullptr 
)

ConductorNumExport::ConductorNumExport.

Parameters
project: the project to export the conductors num
parent: parent widget
Here is the call graph for this function:

Member Function Documentation

◆ fillHash()

void ConductorNumExport::fillHash ( )
private

ConductorNumExport::fillHash make/fill of m_hash.

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

◆ toCsv()

bool ConductorNumExport::toCsv ( )

ConductorNumExport::toCsv Export the num of conductors into a csv file.

Returns
true if suceesfully exported.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ wiresNum()

QString ConductorNumExport::wiresNum ( ) const

ConductorNumExport::wiresNum.

Returns
the wire num formatted in csv
Here is the caller graph for this function:

Member Data Documentation

◆ m_hash

QHash<QString, int> ConductorNumExport::m_hash
private

◆ m_parent_widget

QWidget* ConductorNumExport::m_parent_widget = nullptr
private

◆ m_project

QETProject* ConductorNumExport::m_project = nullptr
private

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