18#ifndef POTENTIALSELECTORDIALOG_H
19#define POTENTIALSELECTORDIALOG_H
79 QList<ConductorProperties> list,
80 QWidget *parent =
nullptr,
81 bool *cancelled =
nullptr);
86 QUndoCommand *parent_undo =
nullptr,
87 QWidget *parent =
nullptr);
90 QUndoCommand *parent_undo =
nullptr,
91 QWidget *parent =
nullptr);
102 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:44
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:74
static ConductorProperties chosenProperties(QList< ConductorProperties > list, QWidget *parent=nullptr, bool *cancelled=nullptr)
Definition potentialselectordialog.cpp:191
void on_buttonBox_accepted()
PotentialSelectorDialog::on_buttonBox_accepted Action when user click on OK button.
Definition potentialselectordialog.cpp:423
Conductor * m_conductor
Definition potentialselectordialog.h:103
Ui::PotentialSelectorDialog * ui
Definition potentialselectordialog.h:102
void buildWidget()
PotentialSelectorDialog::buildWidget Build the dialog.
Definition potentialselectordialog.cpp:309
QList< ConductorProperties > m_properties_list
Definition potentialselectordialog.h:108
Element * m_report
Definition potentialselectordialog.h:104
QUndoCommand * m_parent_undo
Definition potentialselectordialog.h:105
int m_selected
Definition potentialselectordialog.h:110
autonum::sequentialNumbers m_sequential_num
Definition potentialselectordialog.h:106
AbstractPotentialSelector * m_potential_selector
Definition potentialselectordialog.h:107
QList< Conductor * > m_conductors_to_change
Definition potentialselectordialog.h:109
~PotentialSelectorDialog() override
Definition potentialselectordialog.cpp:299
PotentialSelectorDialog(Conductor *conductor, QUndoCommand *parent_undo=nullptr, QWidget *parent=nullptr)
PotentialSelectorDialog::PotentialSelectorDialog Constructor when we link two potentiels together,...
Definition potentialselectordialog.cpp:263
Definition assignvariables.h:35
Definition autonumberingdockwidget.h:30