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

#include <autonumberingdockwidget.h>

Inherits QDockWidget.

Collaboration diagram for AutoNumberingDockWidget:
Collaboration graph

Public Slots

void setActive ()
 AutoNumberingDockWidget::setActive Set current used autonumberings. More...
 
void setConductorActive (DiagramView *)
 AutoNumberingDockWidget::setConductorActive. More...
 

Signals

void folioAutoNumChanged (QString)
 

Public Member Functions

 AutoNumberingDockWidget (QWidget *parent=nullptr)
 AutoNumberingDockWidget::AutoNumberingDockWidget Constructor. More...
 
 ~AutoNumberingDockWidget () override
 AutoNumberingDockWidget::~AutoNumberingDockWidget Destructor. More...
 
void setContext ()
 AutoNumberingDockWidget::setContext Add all itens to comboboxes. More...
 
void setProject (QETProject *, ProjectView *)
 AutoNumberingDockWidget::setProject. More...
 

Private Slots

void on_m_conductor_cb_activated (int)
 AutoNumberingDockWidget::on_m_conductor_cb_activated Set new conductor AutoNum. More...
 
void on_m_element_cb_activated (int)
 AutoNumberingDockWidget::on_m_element_cb_activated Set new element AutoNum. More...
 
void on_m_folio_cb_activated (int)
 AutoNumberingDockWidget::on_m_folio_cb_activated Set new folio AutoNum. More...
 
void conductorAutoNumChanged ()
 AutoNumberingDockWidget::conductorAutoNumChanged Add new or remove conductor auto num from combobox. More...
 
void elementAutoNumChanged ()
 AutoNumberingDockWidget::elementAutoNumChanged Add new or remove element auto num from combobox. More...
 
void folioAutoNumChanged ()
 AutoNumberingDockWidget::folioAutoNumChanged Add new or remove folio auto num from combobox. More...
 
void clear ()
 AutoNumberingDockWidget::clear Remove all combo box values. More...
 
void projectClosed ()
 
void on_m_configure_pb_clicked ()
 

Private Attributes

Ui::AutoNumberingDockWidget * ui
 
QETProjectm_project = nullptr
 
ProjectViewm_project_view = nullptr
 

Constructor & Destructor Documentation

◆ AutoNumberingDockWidget()

AutoNumberingDockWidget::AutoNumberingDockWidget ( QWidget *  parent = nullptr)
explicit

AutoNumberingDockWidget::AutoNumberingDockWidget Constructor.

Parameters
parent: parent widget

◆ ~AutoNumberingDockWidget()

AutoNumberingDockWidget::~AutoNumberingDockWidget ( )
override

Member Function Documentation

◆ clear

void AutoNumberingDockWidget::clear ( )
privateslot

AutoNumberingDockWidget::clear Remove all combo box values.

Here is the caller graph for this function:

◆ conductorAutoNumChanged

void AutoNumberingDockWidget::conductorAutoNumChanged ( )
privateslot

AutoNumberingDockWidget::conductorAutoNumChanged Add new or remove conductor auto num from combobox.

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

◆ elementAutoNumChanged

void AutoNumberingDockWidget::elementAutoNumChanged ( )
privateslot

AutoNumberingDockWidget::elementAutoNumChanged Add new or remove element auto num from combobox.

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

◆ folioAutoNumChanged [1/2]

void AutoNumberingDockWidget::folioAutoNumChanged ( )
privateslot

AutoNumberingDockWidget::folioAutoNumChanged Add new or remove folio auto num from combobox.

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

◆ folioAutoNumChanged [2/2]

void AutoNumberingDockWidget::folioAutoNumChanged ( QString  )
signal

◆ on_m_conductor_cb_activated

void AutoNumberingDockWidget::on_m_conductor_cb_activated ( int  )
privateslot

AutoNumberingDockWidget::on_m_conductor_cb_activated Set new conductor AutoNum.

Here is the call graph for this function:

◆ on_m_configure_pb_clicked

void AutoNumberingDockWidget::on_m_configure_pb_clicked ( )
privateslot
Here is the call graph for this function:

◆ on_m_element_cb_activated

void AutoNumberingDockWidget::on_m_element_cb_activated ( int  )
privateslot

AutoNumberingDockWidget::on_m_element_cb_activated Set new element AutoNum.

Here is the call graph for this function:

◆ on_m_folio_cb_activated

void AutoNumberingDockWidget::on_m_folio_cb_activated ( int  )
privateslot

AutoNumberingDockWidget::on_m_folio_cb_activated Set new folio AutoNum.

Here is the call graph for this function:

◆ projectClosed

void AutoNumberingDockWidget::projectClosed ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setActive

void AutoNumberingDockWidget::setActive ( )
slot

AutoNumberingDockWidget::setActive Set current used autonumberings.

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

◆ setConductorActive

void AutoNumberingDockWidget::setConductorActive ( DiagramView dv)
slot

AutoNumberingDockWidget::setConductorActive.

Parameters
dvactivated diagramview
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setContext()

void AutoNumberingDockWidget::setContext ( )

AutoNumberingDockWidget::setContext Add all itens to comboboxes.

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

◆ setProject()

void AutoNumberingDockWidget::setProject ( QETProject project,
ProjectView projectview 
)

AutoNumberingDockWidget::setProject.

Parameters
projectproject to be setted
projectviewprojectview to be setted assign Project and ProjectView, connect all signals and setContext
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ m_project

QETProject* AutoNumberingDockWidget::m_project = nullptr
private

◆ m_project_view

ProjectView* AutoNumberingDockWidget::m_project_view = nullptr
private

◆ ui

Ui::AutoNumberingDockWidget* AutoNumberingDockWidget::ui
private

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