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

#include <selectautonumw.h>

Inherits QWidget.

Collaboration diagram for SelectAutonumW:
Collaboration graph

Signals

void applyPressed ()
 
void removeClicked ()
 

Public Member Functions

 SelectAutonumW (int type, QWidget *parent=nullptr)
 
 SelectAutonumW (const NumerotationContext &context, int type, QWidget *parent=nullptr)
 
 ~SelectAutonumW () override
 
void setContext (const NumerotationContext &context)
 SelectAutonumW::setContext build the context of current diagram selected in the diagram_chooser QcomboBox. More...
 
NumerotationContext toNumContext () const
 SelectAutonumW::toNumContext. More...
 
void contextToFormula ()
 SelectAutonumW::contextToFormula Apply formula to ElementAutonumbering Widget. More...
 
QString formula ()
 SelectAutonumW::formula. More...
 
QComboBox * contextComboBox () const
 

Private Slots

void on_add_button_clicked ()
 SelectAutonumW::on_add_button_clicked Action on add_button, add a NumPartEditor. More...
 
void on_remove_button_clicked ()
 SelectAutonumW::on_remove_button_clicked Action on remove button, remove the last NumPartEditor. More...
 
void on_buttonBox_clicked (QAbstractButton *)
 SelectAutonumW::on_buttonBox_clicked Action on button clicked. More...
 
void applyEnable (bool=true)
 SelectAutonumW::applyEnable enable/disable the apply button. More...
 
void on_m_next_pb_clicked ()
 SelectAutonumW::on_m_next_pb_clicked Increase NumerotationContext. More...
 
void on_m_previous_pb_clicked ()
 SelectAutonumW::on_m_previous_pb_clicked Decrease NumerotationContext. More...
 
void on_m_comboBox_currentTextChanged (const QString &arg1)
 
void on_m_remove_pb_clicked ()
 

Private Attributes

Ui::SelectAutonumW * ui
 
QList< NumPartEditorW * > num_part_list_
 
NumerotationContext m_context
 
FormulaAutonumberingWm_feaw
 
FormulaAutonumberingWm_fcaw
 
int m_edited_type = -1
 

Constructor & Destructor Documentation

◆ SelectAutonumW() [1/2]

SelectAutonumW::SelectAutonumW ( int  type,
QWidget *  parent = nullptr 
)
explicit

Constructor

Here is the call graph for this function:

◆ SelectAutonumW() [2/2]

SelectAutonumW::SelectAutonumW ( const NumerotationContext context,
int  type,
QWidget *  parent = nullptr 
)
explicit
Here is the call graph for this function:

◆ ~SelectAutonumW()

SelectAutonumW::~SelectAutonumW ( )
override

Destructor

Member Function Documentation

◆ applyEnable

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

SelectAutonumW::applyEnable enable/disable the apply button.

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

◆ applyPressed

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

◆ contextComboBox()

QComboBox * SelectAutonumW::contextComboBox ( ) const
Here is the caller graph for this function:

◆ contextToFormula()

void SelectAutonumW::contextToFormula ( )

SelectAutonumW::contextToFormula Apply formula to ElementAutonumbering Widget.

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

◆ formula()

QString SelectAutonumW::formula ( )

SelectAutonumW::formula.

Returns
autonumbering widget formula
Here is the call graph for this function:

◆ on_add_button_clicked

void SelectAutonumW::on_add_button_clicked ( )
privateslot

SelectAutonumW::on_add_button_clicked Action on add_button, add a NumPartEditor.

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

◆ on_buttonBox_clicked

void SelectAutonumW::on_buttonBox_clicked ( QAbstractButton *  button)
privateslot

SelectAutonumW::on_buttonBox_clicked Action on button clicked.

Parameters
button
Here is the call graph for this function:

◆ on_m_comboBox_currentTextChanged

void SelectAutonumW::on_m_comboBox_currentTextChanged ( const QString &  arg1)
privateslot
Here is the call graph for this function:

◆ on_m_next_pb_clicked

void SelectAutonumW::on_m_next_pb_clicked ( )
privateslot

SelectAutonumW::on_m_next_pb_clicked Increase NumerotationContext.

Here is the call graph for this function:

◆ on_m_previous_pb_clicked

void SelectAutonumW::on_m_previous_pb_clicked ( )
privateslot

SelectAutonumW::on_m_previous_pb_clicked Decrease NumerotationContext.

Here is the call graph for this function:

◆ on_m_remove_pb_clicked

void SelectAutonumW::on_m_remove_pb_clicked ( )
privateslot

◆ on_remove_button_clicked

void SelectAutonumW::on_remove_button_clicked ( )
privateslot

SelectAutonumW::on_remove_button_clicked Action on remove button, remove the last NumPartEditor.

Here is the call graph for this function:

◆ removeClicked

void SelectAutonumW::removeClicked ( )
signal
Here is the caller graph for this function:

◆ setContext()

void SelectAutonumW::setContext ( const NumerotationContext context)

SelectAutonumW::setContext build the context of current diagram selected in the diagram_chooser QcomboBox.

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

◆ toNumContext()

NumerotationContext SelectAutonumW::toNumContext ( ) const

SelectAutonumW::toNumContext.

Returns
the content to num_part_list to NumerotationContext
Here is the caller graph for this function:

Member Data Documentation

◆ m_context

NumerotationContext SelectAutonumW::m_context
private

◆ m_edited_type

int SelectAutonumW::m_edited_type = -1
private

◆ m_fcaw

FormulaAutonumberingW* SelectAutonumW::m_fcaw
private

◆ m_feaw

FormulaAutonumberingW* SelectAutonumW::m_feaw
private

◆ num_part_list_

QList<NumPartEditorW *> SelectAutonumW::num_part_list_
private

◆ ui

Ui::SelectAutonumW* SelectAutonumW::ui
private

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