QElectroTech  0.8-dev
Signals | Public Member Functions | Public Attributes | Private Slots | Private Member Functions | Private Attributes | List of all members
FolioAutonumberingW Class Reference

#include <folioautonumbering.h>

Inherits QWidget.

Collaboration diagram for FolioAutonumberingW:
Collaboration graph

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

QETProjectproject_
 
Ui::FolioAutonumberingW * ui
 
QList< NumPartEditorW * > num_part_list_
 
NumerotationContext m_context
 

Constructor & Destructor Documentation

◆ FolioAutonumberingW()

FolioAutonumberingW::FolioAutonumberingW ( QETProject project,
QWidget *  parent = nullptr 
)
explicit

Constructor

Here is the call graph for this function:

◆ ~FolioAutonumberingW()

FolioAutonumberingW::~FolioAutonumberingW ( )
override

Destructor

Member Function Documentation

◆ applyEnable

void FolioAutonumberingW::applyEnable ( bool  b = true)
privateslot

SelectAutonumW::applyEnable enable/disable the apply button.

Here is the caller graph for this function:

◆ applyPressed

void FolioAutonumberingW::applyPressed ( )
signal
Here is the caller graph for this function:

◆ autoNumSelected()

QString FolioAutonumberingW::autoNumSelected ( )

FolioAutonumberingW::autoNumSelected returns the current autonum selected.

Here is the caller graph for this function:

◆ fromFolio()

int FolioAutonumberingW::fromFolio ( )

FolioAutonumberingW::fromFolio returns the current "From Folio" index.

Here is the caller graph for this function:

◆ m_autonumber_tabs_rb_clicked

void FolioAutonumberingW::m_autonumber_tabs_rb_clicked ( )
signal

◆ newFoliosNumber()

int FolioAutonumberingW::newFoliosNumber ( )

FolioAutonumberingW::newFoliosNumber returns the number of folios to create.

Here is the caller graph for this function:

◆ on_buttonBox_clicked

void FolioAutonumberingW::on_buttonBox_clicked ( QAbstractButton *  button)
privateslot

SelectAutonumW::on_buttonBox_clicked Action on buttonBox clicked.

Here is the call graph for this function:

◆ on_m_autonumber_tabs_rb_clicked

void FolioAutonumberingW::on_m_autonumber_tabs_rb_clicked ( )
privateslot

FolioAutonumberingW::on_m_autonumber_tabs_rb_clicked Enable From ComboBox, fill From ComboBox.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_m_create_new_tabs_rb_clicked

void FolioAutonumberingW::on_m_create_new_tabs_rb_clicked ( )
privateslot

FolioAutonumberingW::on_m_create_new_tabs_rb_clicked Enable New Tabs SpinBox.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_m_from_cb_currentIndexChanged

void FolioAutonumberingW::on_m_from_cb_currentIndexChanged ( int  )
privateslot

FolioAutonumberingW::on_m_from_cb_currentIndexChanged Enable To ComboBox.

Here is the call graph for this function:

◆ on_m_new_tabs_sb_valueChanged

void FolioAutonumberingW::on_m_new_tabs_sb_valueChanged ( int  )
privateslot

FolioAutonumberingW::on_m_new_tabs_sb_valueChanged Enable Apply if any new folio is to be created.

Here is the call graph for this function:

◆ setContext()

void FolioAutonumberingW::setContext ( QList< QString >  autonums)

FolioAutonumberingW::setContext construct autonums in the comboBox selected in the autonum_chooser QcomboBox.

Here is the caller graph for this function:

◆ toFolio()

int FolioAutonumberingW::toFolio ( )

FolioAutonumberingW::toFolio returns the current "To Folio" index.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ toNumContext()

NumerotationContext FolioAutonumberingW::toNumContext ( ) const

◆ updateFolioList()

void FolioAutonumberingW::updateFolioList ( )
private

FolioAutonumberingW::updateFolioList update Folio List in From and To ComboBox.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ m_context

NumerotationContext FolioAutonumberingW::m_context
private

◆ newFolios

bool FolioAutonumberingW::newFolios

◆ num_part_list_

QList<NumPartEditorW *> FolioAutonumberingW::num_part_list_
private

◆ project_

QETProject* FolioAutonumberingW::project_
private

◆ ui

Ui::FolioAutonumberingW* FolioAutonumberingW::ui
private

The documentation for this class was generated from the following files: