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

#include <selectautonumw.h>

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::setCurrentContext build the context of current diagram selected in the 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 . More...
 
void on_remove_button_clicked ()
 SelectAutonumW::on_remove_button_clicked Action on remove button, remove the last . More...
 
void on_buttonBox_clicked (QAbstractButton *)
 SelectAutonumW::on_buttonBox_clicked Action on 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
 

Detailed Description

Definition at line 34 of file selectautonumw.h.

Constructor & Destructor Documentation

◆ SelectAutonumW() [1/2]

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

Constructor

Definition at line 30 of file selectautonumw.cpp.

References m_edited_type, m_fcaw, m_feaw, setContext(), FormulaAutonumberingW::ui, and ui.

◆ SelectAutonumW() [2/2]

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

Definition at line 53 of file selectautonumw.cpp.

References m_edited_type, m_fcaw, m_feaw, setContext(), FormulaAutonumberingW::ui, and ui.

◆ ~SelectAutonumW()

SelectAutonumW::~SelectAutonumW ( )
override

Destructor

Definition at line 77 of file selectautonumw.cpp.

References ui.

Member Function Documentation

◆ applyEnable

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

◆ applyPressed

void SelectAutonumW::applyPressed ( )
signal

◆ contextComboBox()

QComboBox * SelectAutonumW::contextComboBox ( ) const

◆ contextToFormula()

void SelectAutonumW::contextToFormula ( )

◆ formula()

QString SelectAutonumW::formula ( )

SelectAutonumW::formula.

Returns
autonumbering widget formula

Definition at line 156 of file selectautonumw.cpp.

References FormulaAutonumberingW::formula(), m_edited_type, m_fcaw, and m_feaw.

◆ on_add_button_clicked

void SelectAutonumW::on_add_button_clicked ( )
privateslot

SelectAutonumW::on_add_button_clicked Action on add_button, add a .

Definition at line 125 of file selectautonumw.cpp.

References applyEnable(), m_edited_type, num_part_list_, and ui.

Referenced by setContext().

◆ on_buttonBox_clicked

void SelectAutonumW::on_buttonBox_clicked ( QAbstractButton *  button)
privateslot

◆ on_m_comboBox_currentTextChanged

void SelectAutonumW::on_m_comboBox_currentTextChanged ( const QString &  arg1)
privateslot

Definition at line 295 of file selectautonumw.cpp.

References applyEnable().

◆ on_m_next_pb_clicked

void SelectAutonumW::on_m_next_pb_clicked ( )
privateslot

◆ on_m_previous_pb_clicked

void SelectAutonumW::on_m_previous_pb_clicked ( )
privateslot

◆ on_m_remove_pb_clicked

void SelectAutonumW::on_m_remove_pb_clicked ( )
privateslot

Definition at line 301 of file selectautonumw.cpp.

References removeClicked().

◆ on_remove_button_clicked

void SelectAutonumW::on_remove_button_clicked ( )
privateslot

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

Definition at line 139 of file selectautonumw.cpp.

References applyEnable(), num_part_list_, and ui.

◆ removeClicked

void SelectAutonumW::removeClicked ( )
signal

◆ setContext()

void SelectAutonumW::setContext ( const NumerotationContext context)

◆ toNumContext()

NumerotationContext SelectAutonumW::toNumContext ( ) const

Member Data Documentation

◆ m_context

NumerotationContext SelectAutonumW::m_context
private

Definition at line 70 of file selectautonumw.h.

Referenced by on_buttonBox_clicked(), and setContext().

◆ m_edited_type

int SelectAutonumW::m_edited_type = -1
private

◆ m_fcaw

FormulaAutonumberingW* SelectAutonumW::m_fcaw
private

Definition at line 72 of file selectautonumw.h.

Referenced by contextToFormula(), formula(), and SelectAutonumW().

◆ m_feaw

FormulaAutonumberingW* SelectAutonumW::m_feaw
private

Definition at line 71 of file selectautonumw.h.

Referenced by contextToFormula(), formula(), and SelectAutonumW().

◆ 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: