QElectroTech  0.8-dev
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
ConductorPropertiesDialog Class Reference

#include <conductorpropertiesdialog.h>

Inherits QDialog.

Collaboration diagram for ConductorPropertiesDialog:
Collaboration graph

Public Member Functions

 ConductorPropertiesDialog (Conductor *conductor, QWidget *parent=nullptr)
 ConductorPropertiesDialog::ConductorPropertiesDialog Constructor. More...
 
 ~ConductorPropertiesDialog () override
 ConductorPropertiesDialog::~ConductorPropertiesDialog. More...
 
ConductorProperties properties () const
 ConductorPropertiesDialog::properties. More...
 
bool applyAll () const
 ConductorPropertiesDialog::applyAll. More...
 

Static Public Member Functions

static void PropertiesDialog (Conductor *conductor, QWidget *parent=nullptr)
 ConductorPropertiesDialog::PropertiesDialog Static method for open and apply properties. More...
 

Private Attributes

Ui::ConductorPropertiesDialog * ui
 
ConductorPropertiesWidgetm_cpw
 

Constructor & Destructor Documentation

◆ ConductorPropertiesDialog()

ConductorPropertiesDialog::ConductorPropertiesDialog ( Conductor conductor,
QWidget *  parent = nullptr 
)
explicit

ConductorPropertiesDialog::ConductorPropertiesDialog Constructor.

Parameters
conductor: conductor to edit propertie
parent: parent widget
Here is the call graph for this function:

◆ ~ConductorPropertiesDialog()

ConductorPropertiesDialog::~ConductorPropertiesDialog ( )
override

Member Function Documentation

◆ applyAll()

bool ConductorPropertiesDialog::applyAll ( ) const

ConductorPropertiesDialog::applyAll.

Returns
true -> must apply the propertie to all conductor at the same potential false -> must apply properties only for the edited conductor
Here is the caller graph for this function:

◆ properties()

ConductorProperties ConductorPropertiesDialog::properties ( ) const

ConductorPropertiesDialog::properties.

Returns
the edited properties
Here is the caller graph for this function:

◆ PropertiesDialog()

void ConductorPropertiesDialog::PropertiesDialog ( Conductor conductor,
QWidget *  parent = nullptr 
)
static

ConductorPropertiesDialog::PropertiesDialog Static method for open and apply properties.

Parameters
conductor: conductor to edit propertie
parent: parent widget
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ m_cpw

ConductorPropertiesWidget* ConductorPropertiesDialog::m_cpw
private

◆ ui

Ui::ConductorPropertiesDialog* ConductorPropertiesDialog::ui
private

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