QElectroTech 0.100.0-dev
Loading...
Searching...
No Matches
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.
 
 ~ConductorPropertiesDialog () override
 ConductorPropertiesDialog::~ConductorPropertiesDialog.
 
ConductorProperties properties () const
 ConductorPropertiesDialog::properties.
 
bool applyAll () const
 ConductorPropertiesDialog::applyAll.
 

Static Public Member Functions

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

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 properties
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 properties to all conductors 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 call graph for this function:
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 properties
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: