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

#include <projectconfigpages.h>

Signals

void setAutoNum (QString)
 
void setAutoNum (int, int)
 
void saveCurrentTbp ()
 
void loadSavedTbp ()
 

Public Member Functions

 ProjectAutoNumConfigPage (QETProject *project, QWidget *parent=nullptr)
 ProjectAutoNumConfigPage::ProjectAutoNumConfigPage Default constructor. More...
 
QString title () const override
 ProjectAutoNumConfigPage::title Title of this config page. More...
 
QIcon icon () const override
 ProjectAutoNumConfigPage::icon Icon of this config pafe. More...
 
void applyProjectConf () override
 ProjectAutoNumConfigPage::applyProjectConf. More...
 
virtual void changeToTab (int)
 ProjectAutoNumConfigPage::changeToTab. More...
 
- Public Member Functions inherited from ProjectConfigPage
 ProjectConfigPage (QETProject *, QWidget *=nullptr)
 
 ~ProjectConfigPage () override
 
virtual QETProjectproject () const
 
virtual QETProjectsetProject (QETProject *project, bool=true)
 
void applyConf () override
 
- Public Member Functions inherited from ConfigPage
 ConfigPage (QWidget *parent)
 
 ~ConfigPage () override
 Destructor. More...
 

Protected Member Functions

void initWidgets () override
 ProjectAutoNumConfigPage::initWidgets Init some widget of this page. More...
 
void initLayout () override
 
void readValuesFromProject () override
 ProjectAutoNumConfigPage::readValuesFromProject Read value stored on project, and update display. More...
 
void adjustReadOnly () override
 ProjectAutoNumConfigPage::adjustReadOnly set this config page disable if project is read only. More...
 
- Protected Member Functions inherited from ProjectConfigPage
virtual void init ()
 

Private Slots

void updateContextConductor (const QString &)
 ProjectAutoNumConfigPage::updateContext_conductor Display the current selected context for conductor. More...
 
void saveContextConductor ()
 ProjectAutoNumConfigPage::saveContext_conductor Save the current displayed conductor context in project. More...
 
void removeContextConductor ()
 ProjectAutoNumConfigPage::removeContext Remove from project the current conductor numerotation context. More...
 
void updateContextFolio (const QString &)
 ProjectAutoNumConfigPage::updateContext_folio Display the current selected context for folio. More...
 
void saveContextFolio ()
 ProjectAutoNumConfigPage::saveContext_folio Save the current displayed folio context in project. More...
 
void removeContextFolio ()
 ProjectAutoNumConfigPage::removeContext_folio Remove from project the current folio numerotation context. More...
 
void updateContextElement (const QString &)
 ProjectAutoNumConfigPage::updateContextElement Display the current selected context for element. More...
 
void saveContextElement ()
 ProjectAutoNumConfigPage::saveContextElement Save the current displayed Element formula in project. More...
 
void removeContextElement ()
 ProjectAutoNumConfigPage::removeContextElement Remove from project the current element numerotation context. More...
 
void applyAutoNum ()
 ProjectAutoNumConfigPage::applyAutoNum Apply auto folio numbering, New Folios or Selected Folios. More...
 
void applyManagement ()
 ProjectAutoNumConfigPage::applyAutoManagement Apply Management Options in Selected Folios. More...
 

Private Member Functions

void buildConnections ()
 ProjectAutoNumConfigPage::buildConnections setup some connections. More...
 

Private Attributes

SelectAutonumWm_saw_conductor
 
SelectAutonumWm_saw_folio
 
SelectAutonumWm_saw_element
 
FolioAutonumberingWm_faw
 
AutoNumberingManagementWm_amw
 

Additional Inherited Members

- Protected Attributes inherited from ProjectConfigPage
QETProjectm_project
 Currently edited project. More...
 

Detailed Description

Definition at line 120 of file projectconfigpages.h.

Constructor & Destructor Documentation

◆ ProjectAutoNumConfigPage()

ProjectAutoNumConfigPage::ProjectAutoNumConfigPage ( QETProject project,
QWidget *  parent = nullptr 
)

ProjectAutoNumConfigPage::ProjectAutoNumConfigPage Default constructor.

Parameters
project,projectto edit
parent,parentwidget

Definition at line 221 of file projectconfigpages.cpp.

References buildConnections(), initWidgets(), and readValuesFromProject().

Member Function Documentation

◆ adjustReadOnly()

void ProjectAutoNumConfigPage::adjustReadOnly ( )
overrideprotectedvirtual

ProjectAutoNumConfigPage::adjustReadOnly set this config page disable if project is read only.

Implements ProjectConfigPage.

Definition at line 311 of file projectconfigpages.cpp.

◆ applyAutoNum

void ProjectAutoNumConfigPage::applyAutoNum ( )
privateslot

◆ applyManagement

void ProjectAutoNumConfigPage::applyManagement ( )
privateslot

◆ applyProjectConf()

void ProjectAutoNumConfigPage::applyProjectConf ( )
overridevirtual

◆ buildConnections()

void ProjectAutoNumConfigPage::buildConnections ( )
private

◆ changeToTab()

void ProjectAutoNumConfigPage::changeToTab ( int  i)
virtual

ProjectAutoNumConfigPage::changeToTab.

Parameters
tabindex Change to Selected Tab

Definition at line 623 of file projectconfigpages.cpp.

Referenced by ProjectPropertiesDialog::changeToFolio().

◆ icon()

QIcon ProjectAutoNumConfigPage::icon ( ) const
overridevirtual

ProjectAutoNumConfigPage::icon Icon of this config pafe.

Returns

Implements ConfigPage.

Definition at line 243 of file projectconfigpages.cpp.

References QET::Icons::AutoNum.

◆ initLayout()

void ProjectAutoNumConfigPage::initLayout ( )
inlineoverrideprotectedvirtual

Use this pure virtual method to initialize your page layout. This method is always called after initWidgets().

Implements ProjectConfigPage.

Definition at line 133 of file projectconfigpages.h.

◆ initWidgets()

void ProjectAutoNumConfigPage::initWidgets ( )
overrideprotectedvirtual

◆ loadSavedTbp

void ProjectAutoNumConfigPage::loadSavedTbp ( )
signal

Referenced by applyAutoNum().

◆ readValuesFromProject()

void ProjectAutoNumConfigPage::readValuesFromProject ( )
overrideprotectedvirtual

◆ removeContextConductor

void ProjectAutoNumConfigPage::removeContextConductor ( )
privateslot

ProjectAutoNumConfigPage::removeContext Remove from project the current conductor numerotation context.

Definition at line 598 of file projectconfigpages.cpp.

References QETProject::conductorAutoNumRemoved(), SelectAutonumW::contextComboBox(), ProjectConfigPage::m_project, m_saw_conductor, ProjectConfigPage::project(), and QET::Icons::tr.

Referenced by buildConnections().

◆ removeContextElement

void ProjectAutoNumConfigPage::removeContextElement ( )
privateslot

◆ removeContextFolio

void ProjectAutoNumConfigPage::removeContextFolio ( )
privateslot

ProjectAutoNumConfigPage::removeContext_folio Remove from project the current folio numerotation context.

Definition at line 610 of file projectconfigpages.cpp.

References SelectAutonumW::contextComboBox(), QETProject::folioAutoNumRemoved(), ProjectConfigPage::m_project, m_saw_folio, ProjectConfigPage::project(), and QET::Icons::tr.

Referenced by buildConnections().

◆ saveContextConductor

void ProjectAutoNumConfigPage::saveContextConductor ( )
privateslot

◆ saveContextElement

void ProjectAutoNumConfigPage::saveContextElement ( )
privateslot

◆ saveContextFolio

void ProjectAutoNumConfigPage::saveContextFolio ( )
privateslot

ProjectAutoNumConfigPage::saveContext_folio Save the current displayed folio context in project.

Definition at line 457 of file projectconfigpages.cpp.

References QETProject::addFolioAutoNum(), SelectAutonumW::contextComboBox(), QETProject::folioAutoNumAdded(), ProjectConfigPage::m_project, m_saw_folio, ProjectConfigPage::project(), SelectAutonumW::toNumContext(), and QET::Icons::tr.

Referenced by buildConnections().

◆ saveCurrentTbp

void ProjectAutoNumConfigPage::saveCurrentTbp ( )
signal

Referenced by applyAutoNum().

◆ setAutoNum [1/2]

void ProjectAutoNumConfigPage::setAutoNum ( QString  )
signal

Referenced by applyAutoNum().

◆ setAutoNum [2/2]

void ProjectAutoNumConfigPage::setAutoNum ( int  ,
int   
)
signal

◆ title()

QString ProjectAutoNumConfigPage::title ( ) const
overridevirtual

ProjectAutoNumConfigPage::title Title of this config page.

Returns

Implements ConfigPage.

Definition at line 234 of file projectconfigpages.cpp.

References QET::Icons::tr.

Referenced by saveContextElement().

◆ updateContextConductor

void ProjectAutoNumConfigPage::updateContextConductor ( const QString &  str)
privateslot

ProjectAutoNumConfigPage::updateContext_conductor Display the current selected context for conductor.

Parameters
str,keyof context stored in project

Definition at line 347 of file projectconfigpages.cpp.

References QETProject::conductorAutoNum(), ProjectConfigPage::m_project, m_saw_conductor, SelectAutonumW::setContext(), and QET::Icons::tr.

Referenced by buildConnections().

◆ updateContextElement

void ProjectAutoNumConfigPage::updateContextElement ( const QString &  str)
privateslot

ProjectAutoNumConfigPage::updateContextElement Display the current selected context for element.

Parameters
str,keyof context stored in project

Definition at line 367 of file projectconfigpages.cpp.

References QETProject::elementAutoNum(), ProjectConfigPage::m_project, m_saw_element, SelectAutonumW::setContext(), and QET::Icons::tr.

Referenced by buildConnections().

◆ updateContextFolio

void ProjectAutoNumConfigPage::updateContextFolio ( const QString &  str)
privateslot

ProjectAutoNumConfigPage::updateContext_folio Display the current selected context for folio.

Parameters
str,keyof context stored in project

Definition at line 357 of file projectconfigpages.cpp.

References QETProject::folioAutoNum(), ProjectConfigPage::m_project, m_saw_folio, SelectAutonumW::setContext(), and QET::Icons::tr.

Referenced by buildConnections().

Member Data Documentation

◆ m_amw

AutoNumberingManagementW* ProjectAutoNumConfigPage::m_amw
private

Definition at line 164 of file projectconfigpages.h.

Referenced by applyManagement(), buildConnections(), and initWidgets().

◆ m_faw

FolioAutonumberingW* ProjectAutoNumConfigPage::m_faw
private

◆ m_saw_conductor

SelectAutonumW* ProjectAutoNumConfigPage::m_saw_conductor
private

◆ m_saw_element

SelectAutonumW* ProjectAutoNumConfigPage::m_saw_element
private

◆ m_saw_folio

SelectAutonumW* ProjectAutoNumConfigPage::m_saw_folio
private

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