QElectroTech
0.8-dev
|
#include <folioautonumbering.h>
Inherits QWidget.
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 autonum_chooser 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 buttonBox 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 |
|
explicit |
Constructor
|
override |
Destructor
|
privateslot |
SelectAutonumW::applyEnable enable/disable the apply button.
|
signal |
QString FolioAutonumberingW::autoNumSelected | ( | ) |
FolioAutonumberingW::autoNumSelected returns the current autonum selected.
int FolioAutonumberingW::fromFolio | ( | ) |
FolioAutonumberingW::fromFolio returns the current "From Folio" index.
|
signal |
int FolioAutonumberingW::newFoliosNumber | ( | ) |
FolioAutonumberingW::newFoliosNumber returns the number of folios to create.
|
privateslot |
SelectAutonumW::on_buttonBox_clicked Action on buttonBox clicked.
|
privateslot |
FolioAutonumberingW::on_m_autonumber_tabs_rb_clicked Enable From ComboBox, fill From ComboBox.
|
privateslot |
FolioAutonumberingW::on_m_create_new_tabs_rb_clicked Enable New Tabs SpinBox.
|
privateslot |
FolioAutonumberingW::on_m_from_cb_currentIndexChanged Enable To ComboBox.
|
privateslot |
FolioAutonumberingW::on_m_new_tabs_sb_valueChanged Enable Apply if any new folio is to be created.
void FolioAutonumberingW::setContext | ( | QList< QString > | autonums | ) |
FolioAutonumberingW::setContext construct autonums in the comboBox selected in the autonum_chooser QcomboBox.
int FolioAutonumberingW::toFolio | ( | ) |
FolioAutonumberingW::toFolio returns the current "To Folio" index.
NumerotationContext FolioAutonumberingW::toNumContext | ( | ) | const |
|
private |
FolioAutonumberingW::updateFolioList update Folio List in From and To ComboBox.
|
private |
bool FolioAutonumberingW::newFolios |
|
private |
|
private |
|
private |