18#ifndef POTENTIALSELECTORDIALOG_H
19#define POTENTIALSELECTORDIALOG_H
21#include "../autoNum/assignvariables.h"
22#include "../conductorproperties.h"
75 QList<ConductorProperties> list,
76 QWidget *parent =
nullptr);
81 QUndoCommand *parent_undo =
nullptr,
82 QWidget *parent =
nullptr);
85 QUndoCommand *parent_undo =
nullptr,
86 QWidget *parent =
nullptr);
97 Ui::PotentialSelectorDialog *
ui;
Definition potentialselectordialog.h:30
AbstractPotentialSelector()
Definition potentialselectordialog.h:32
QList< ConductorProperties > m_properties_list_2
Definition potentialselectordialog.h:41
int m_conductor_number_1
Definition potentialselectordialog.h:39
QList< Conductor * > m_conductors_list_1
Definition potentialselectordialog.h:42
autonum::sequentialNumbers m_seq_num_2
Definition potentialselectordialog.h:38
autonum::sequentialNumbers m_seq_num_1
Definition potentialselectordialog.h:38
QList< Conductor * > m_conductors_list_2
Definition potentialselectordialog.h:42
virtual ~AbstractPotentialSelector()
Definition potentialselectordialog.h:35
QList< ConductorProperties > m_properties_list_1
Definition potentialselectordialog.h:40
int m_conductor_number_2
Definition potentialselectordialog.h:39
virtual bool isValid() const =0
Definition conductor.h:43
The ConductorProperties class This class represents the functional properties of a particular conduct...
Definition conductorproperties.h:68
The PotentialSelectorDialog class This dialog is used when user try to connect two existing potential...
Definition potentialselectordialog.h:70
void on_buttonBox_accepted()
PotentialSelectorDialog::on_buttonBox_accepted Action when user click on OK button.
Definition potentialselectordialog.cpp:406
Conductor * m_conductor
Definition potentialselectordialog.h:98
Ui::PotentialSelectorDialog * ui
Definition potentialselectordialog.h:97
void buildWidget()
PotentialSelectorDialog::buildWidget Build the dialog.
Definition potentialselectordialog.cpp:292
QList< ConductorProperties > m_properties_list
Definition potentialselectordialog.h:103
Element * m_report
Definition potentialselectordialog.h:99
QUndoCommand * m_parent_undo
Definition potentialselectordialog.h:100
static ConductorProperties chosenProperties(QList< ConductorProperties > list, QWidget *parent=nullptr)
Definition potentialselectordialog.cpp:191
int m_selected
Definition potentialselectordialog.h:105
autonum::sequentialNumbers m_sequential_num
Definition potentialselectordialog.h:101
AbstractPotentialSelector * m_potential_selector
Definition potentialselectordialog.h:102
QList< Conductor * > m_conductors_to_change
Definition potentialselectordialog.h:104
~PotentialSelectorDialog() override
Definition potentialselectordialog.cpp:282
Definition assignvariables.h:34
Definition autonumberingdockwidget.h:26