18 #ifndef POTENTIALSELECTORDIALOG_H 19 #define POTENTIALSELECTORDIALOG_H 33 virtual bool isValid()
const = 0;
80 Ui::PotentialSelectorDialog *
ui;
90 #endif // POTENTIALSELECTORDIALOG_H AbstractPotentialSelector()
QList< ConductorProperties > m_properties_list_1
autonum::sequentialNumbers m_seq_num_2
void on_buttonBox_accepted()
PotentialSelectorDialog::on_buttonBox_accepted Action when user click on OK button.
virtual ~AbstractPotentialSelector()
autonum::sequentialNumbers m_sequential_num
AbstractPotentialSelector * m_potential_selector
QList< Conductor * > m_conductors_list_2
~PotentialSelectorDialog() override
PotentialSelectorDialog(Conductor *conductor, QUndoCommand *parent_undo=nullptr, QWidget *parent=nullptr)
PotentialSelectorDialog::PotentialSelectorDialog Constructor when we link two potentiels together...
QList< ConductorProperties > m_properties_list
autonum::sequentialNumbers m_seq_num_1
Ui::PotentialSelectorDialog * ui
QUndoCommand * m_parent_undo
QList< Conductor * > m_conductors_to_change
The PotentialSelectorDialog class This dialog is used when user try to connect two existing potential...
QList< ConductorProperties > m_properties_list_2
static ConductorProperties chosenProperties(QList< ConductorProperties > list, QWidget *parent=nullptr)
virtual bool isValid() const =0
void buildWidget()
PotentialSelectorDialog::buildWidget Build the dialog.
QList< Conductor * > m_conductors_list_1