QElectroTech
0.70
|
#include <folioautonumbering.h>
Signals | |
void | applyPressed () |
void | m_autonumber_tabs_rb_clicked () |
Public Member Functions | |
FolioAutonumberingW (QETProject *project, QWidget *parent=nullptr) | |
~FolioAutonumberingW () override | |
void | setContext (QList< QString > autonums) |
FolioAutonumberingW::setContext construct autonums in the comboBox selected in the QcomboBox. More... | |
NumerotationContext | toNumContext () const |
QString | autoNumSelected () |
FolioAutonumberingW::autoNumSelected returns the current autonum selected. More... | |
int | newFoliosNumber () |
FolioAutonumberingW::newFoliosNumber returns the number of folios to create. More... | |
int | fromFolio () |
FolioAutonumberingW::fromFolio returns the current "From Folio" index. More... | |
int | toFolio () |
FolioAutonumberingW::toFolio returns the current "To Folio" index. More... | |
Public Attributes | |
bool | newFolios |
Private Slots | |
void | on_m_create_new_tabs_rb_clicked () |
FolioAutonumberingW::on_m_create_new_tabs_rb_clicked Enable New Tabs SpinBox. More... | |
void | on_m_autonumber_tabs_rb_clicked () |
FolioAutonumberingW::on_m_autonumber_tabs_rb_clicked Enable From ComboBox, fill From ComboBox. More... | |
void | on_m_new_tabs_sb_valueChanged (int) |
FolioAutonumberingW::on_m_new_tabs_sb_valueChanged Enable Apply if any new folio is to be created. More... | |
void | on_buttonBox_clicked (QAbstractButton *) |
SelectAutonumW::on_buttonBox_clicked Action on clicked. More... | |
void | on_m_from_cb_currentIndexChanged (int) |
FolioAutonumberingW::on_m_from_cb_currentIndexChanged Enable To ComboBox. More... | |
void | applyEnable (bool=true) |
SelectAutonumW::applyEnable enable/disable the apply button. More... | |
Private Member Functions | |
void | updateFolioList () |
FolioAutonumberingW::updateFolioList update Folio List in From and To ComboBox. More... | |
Private Attributes | |
QETProject * | project_ |
Ui::FolioAutonumberingW * | ui |
QList< NumPartEditorW * > | num_part_list_ |
NumerotationContext | m_context |
Definition at line 32 of file folioautonumbering.h.
|
explicit |
|
override |
|
privateslot |
SelectAutonumW::applyEnable enable/disable the apply button.
Definition at line 201 of file folioautonumbering.cpp.
References ui.
Referenced by FolioAutonumberingW(), on_buttonBox_clicked(), on_m_autonumber_tabs_rb_clicked(), on_m_create_new_tabs_rb_clicked(), on_m_from_cb_currentIndexChanged(), and on_m_new_tabs_sb_valueChanged().
|
signal |
Referenced by on_buttonBox_clicked().
QString FolioAutonumberingW::autoNumSelected | ( | ) |
FolioAutonumberingW::autoNumSelected returns the current autonum selected.
Definition at line 61 of file folioautonumbering.cpp.
References ui.
Referenced by ProjectAutoNumConfigPage::applyAutoNum().
int FolioAutonumberingW::fromFolio | ( | ) |
FolioAutonumberingW::fromFolio returns the current "From Folio" index.
Definition at line 69 of file folioautonumbering.cpp.
References ui.
Referenced by ProjectAutoNumConfigPage::applyAutoNum(), and toFolio().
|
signal |
int FolioAutonumberingW::newFoliosNumber | ( | ) |
FolioAutonumberingW::newFoliosNumber returns the number of folios to create.
Definition at line 85 of file folioautonumbering.cpp.
References ui.
Referenced by ProjectAutoNumConfigPage::applyAutoNum().
|
privateslot |
SelectAutonumW::on_buttonBox_clicked Action on clicked.
Definition at line 166 of file folioautonumbering.cpp.
References applyEnable(), applyPressed(), QET::QetMessageBox::information(), QET::Icons::tr, ui, and updateFolioList().
|
privateslot |
FolioAutonumberingW::on_m_autonumber_tabs_rb_clicked Enable From ComboBox, fill From ComboBox.
Definition at line 119 of file folioautonumbering.cpp.
References applyEnable(), QETProject::diagrams(), newFolios, project_, Diagram::title(), and ui.
Referenced by updateFolioList().
|
privateslot |
FolioAutonumberingW::on_m_create_new_tabs_rb_clicked Enable New Tabs SpinBox.
Definition at line 107 of file folioautonumbering.cpp.
References applyEnable(), newFolios, and ui.
Referenced by updateFolioList().
|
privateslot |
FolioAutonumberingW::on_m_from_cb_currentIndexChanged Enable To ComboBox.
Definition at line 147 of file folioautonumbering.cpp.
References applyEnable(), QETProject::diagrams(), project_, and ui.
|
privateslot |
FolioAutonumberingW::on_m_new_tabs_sb_valueChanged Enable Apply if any new folio is to be created.
Definition at line 138 of file folioautonumbering.cpp.
References applyEnable(), and ui.
void FolioAutonumberingW::setContext | ( | QList< QString > | autonums | ) |
FolioAutonumberingW::setContext construct autonums in the comboBox selected in the QcomboBox.
Definition at line 53 of file folioautonumbering.cpp.
References ui.
Referenced by ProjectAutoNumConfigPage::readValuesFromProject().
int FolioAutonumberingW::toFolio | ( | ) |
FolioAutonumberingW::toFolio returns the current "To Folio" index.
Definition at line 77 of file folioautonumbering.cpp.
References fromFolio(), and ui.
Referenced by ProjectAutoNumConfigPage::applyAutoNum().
NumerotationContext FolioAutonumberingW::toNumContext | ( | ) | const |
|
private |
FolioAutonumberingW::updateFolioList update Folio List in From and To ComboBox.
Definition at line 93 of file folioautonumbering.cpp.
References newFolios, on_m_autonumber_tabs_rb_clicked(), on_m_create_new_tabs_rb_clicked(), and ui.
Referenced by on_buttonBox_clicked().
|
private |
Definition at line 68 of file folioautonumbering.h.
bool FolioAutonumberingW::newFolios |
Definition at line 45 of file folioautonumbering.h.
Referenced by ProjectAutoNumConfigPage::applyAutoNum(), on_m_autonumber_tabs_rb_clicked(), on_m_create_new_tabs_rb_clicked(), and updateFolioList().
|
private |
Definition at line 67 of file folioautonumbering.h.
|
private |
Definition at line 65 of file folioautonumbering.h.
Referenced by on_m_autonumber_tabs_rb_clicked(), and on_m_from_cb_currentIndexChanged().
|
private |
Definition at line 66 of file folioautonumbering.h.
Referenced by applyEnable(), autoNumSelected(), FolioAutonumberingW(), fromFolio(), newFoliosNumber(), on_buttonBox_clicked(), on_m_autonumber_tabs_rb_clicked(), on_m_create_new_tabs_rb_clicked(), on_m_from_cb_currentIndexChanged(), on_m_new_tabs_sb_valueChanged(), setContext(), toFolio(), updateFolioList(), and ~FolioAutonumberingW().