QElectroTech
0.70
|
#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... | |
![]() | |
ProjectConfigPage (QETProject *, QWidget *=nullptr) | |
~ProjectConfigPage () override | |
virtual QETProject * | project () const |
virtual QETProject * | setProject (QETProject *project, bool=true) |
void | applyConf () override |
![]() | |
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... | |
![]() | |
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 | |
SelectAutonumW * | m_saw_conductor |
SelectAutonumW * | m_saw_folio |
SelectAutonumW * | m_saw_element |
FolioAutonumberingW * | m_faw |
AutoNumberingManagementW * | m_amw |
Additional Inherited Members | |
![]() | |
QETProject * | m_project |
Currently edited project. More... | |
Definition at line 120 of file projectconfigpages.h.
ProjectAutoNumConfigPage::ProjectAutoNumConfigPage | ( | QETProject * | project, |
QWidget * | parent = nullptr |
||
) |
ProjectAutoNumConfigPage::ProjectAutoNumConfigPage Default constructor.
project,project | to edit |
parent,parent | widget |
Definition at line 221 of file projectconfigpages.cpp.
References buildConnections(), initWidgets(), and readValuesFromProject().
|
overrideprotectedvirtual |
ProjectAutoNumConfigPage::adjustReadOnly set this config page disable if project is read only.
Implements ProjectConfigPage.
Definition at line 311 of file projectconfigpages.cpp.
|
privateslot |
ProjectAutoNumConfigPage::applyAutoNum Apply auto folio numbering, New Folios or Selected Folios.
Definition at line 480 of file projectconfigpages.cpp.
References QETProject::autoFolioNumberingNewFolios(), QETProject::autoFolioNumberingSelectedFolios(), FolioAutonumberingW::autoNumSelected(), FolioAutonumberingW::fromFolio(), loadSavedTbp(), m_faw, ProjectConfigPage::m_project, FolioAutonumberingW::newFolios, FolioAutonumberingW::newFoliosNumber(), ProjectConfigPage::project(), saveCurrentTbp(), setAutoNum(), and FolioAutonumberingW::toFolio().
Referenced by buildConnections().
|
privateslot |
ProjectAutoNumConfigPage::applyAutoManagement Apply Management Options in Selected Folios.
Definition at line 504 of file projectconfigpages.cpp.
References QETProject::diagrams(), QETProject::freezeExistentConductorLabel(), QETProject::freezeExistentElementLabel(), QETProject::freezeNewConductorLabel(), QETProject::freezeNewElementLabel(), m_amw, ProjectConfigPage::project(), QETProject::setFreezeNewConductors(), QETProject::setFreezeNewElements(), and AutoNumberingManagementW::ui.
Referenced by buildConnections().
|
overridevirtual |
ProjectAutoNumConfigPage::applyProjectConf.
Implements ProjectConfigPage.
Definition at line 250 of file projectconfigpages.cpp.
|
private |
ProjectAutoNumConfigPage::buildConnections setup some connections.
Definition at line 318 of file projectconfigpages.cpp.
References applyAutoNum(), applyManagement(), SelectAutonumW::applyPressed(), SelectAutonumW::contextComboBox(), m_amw, m_faw, m_saw_conductor, m_saw_element, m_saw_folio, SelectAutonumW::removeClicked(), removeContextConductor(), removeContextElement(), removeContextFolio(), saveContextConductor(), saveContextElement(), saveContextFolio(), updateContextConductor(), updateContextElement(), and updateContextFolio().
Referenced by ProjectAutoNumConfigPage().
|
virtual |
ProjectAutoNumConfigPage::changeToTab.
tab | index Change to Selected Tab |
Definition at line 623 of file projectconfigpages.cpp.
Referenced by ProjectPropertiesDialog::changeToFolio().
|
overridevirtual |
ProjectAutoNumConfigPage::icon Icon of this config pafe.
Implements ConfigPage.
Definition at line 243 of file projectconfigpages.cpp.
References QET::Icons::AutoNum.
|
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.
|
overrideprotectedvirtual |
ProjectAutoNumConfigPage::initWidgets Init some widget of this page.
Implements ProjectConfigPage.
Definition at line 256 of file projectconfigpages.cpp.
References m_amw, m_faw, m_saw_conductor, m_saw_element, m_saw_folio, ProjectConfigPage::project(), and QET::Icons::tr.
Referenced by ProjectAutoNumConfigPage().
|
signal |
Referenced by applyAutoNum().
|
overrideprotectedvirtual |
ProjectAutoNumConfigPage::readValuesFromProject Read value stored on project, and update display.
Implements ProjectConfigPage.
Definition at line 289 of file projectconfigpages.cpp.
References QETProject::conductorAutoNum(), SelectAutonumW::contextComboBox(), QETProject::elementAutoNum(), QETProject::folioAutoNum(), m_faw, ProjectConfigPage::m_project, m_saw_conductor, m_saw_element, m_saw_folio, and FolioAutonumberingW::setContext().
Referenced by ProjectAutoNumConfigPage().
|
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().
|
privateslot |
ProjectAutoNumConfigPage::removeContextElement Remove from project the current element numerotation context.
Definition at line 414 of file projectconfigpages.cpp.
References SelectAutonumW::contextComboBox(), ProjectConfigPage::m_project, m_saw_element, QETProject::removeElementAutoNum(), and QET::Icons::tr.
Referenced by buildConnections().
|
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().
|
privateslot |
ProjectAutoNumConfigPage::saveContext_conductor Save the current displayed conductor context in project.
Definition at line 427 of file projectconfigpages.cpp.
References QETProject::addConductorAutoNum(), QETProject::conductorAutoNumAdded(), SelectAutonumW::contextComboBox(), ProjectConfigPage::m_project, m_saw_conductor, ProjectConfigPage::project(), QETProject::setCurrentConductorAutoNum(), SelectAutonumW::toNumContext(), and QET::Icons::tr.
Referenced by buildConnections().
|
privateslot |
ProjectAutoNumConfigPage::saveContextElement Save the current displayed Element formula in project.
Definition at line 383 of file projectconfigpages.cpp.
References QETProject::addElementAutoNum(), SelectAutonumW::contextComboBox(), ProjectConfigPage::m_project, m_saw_element, QETProject::setCurrrentElementAutonum(), title(), SelectAutonumW::toNumContext(), and QET::Icons::tr.
Referenced by buildConnections().
|
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().
|
signal |
Referenced by applyAutoNum().
|
signal |
Referenced by applyAutoNum().
|
signal |
|
overridevirtual |
ProjectAutoNumConfigPage::title Title of this config page.
Implements ConfigPage.
Definition at line 234 of file projectconfigpages.cpp.
References QET::Icons::tr.
Referenced by saveContextElement().
|
privateslot |
ProjectAutoNumConfigPage::updateContext_conductor Display the current selected context for conductor.
str,key | of 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().
|
privateslot |
ProjectAutoNumConfigPage::updateContextElement Display the current selected context for element.
str,key | of 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().
|
privateslot |
ProjectAutoNumConfigPage::updateContext_folio Display the current selected context for folio.
str,key | of 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().
|
private |
Definition at line 164 of file projectconfigpages.h.
Referenced by applyManagement(), buildConnections(), and initWidgets().
|
private |
Definition at line 163 of file projectconfigpages.h.
Referenced by applyAutoNum(), buildConnections(), initWidgets(), and readValuesFromProject().
|
private |
Definition at line 160 of file projectconfigpages.h.
Referenced by buildConnections(), initWidgets(), readValuesFromProject(), removeContextConductor(), saveContextConductor(), and updateContextConductor().
|
private |
Definition at line 162 of file projectconfigpages.h.
Referenced by buildConnections(), initWidgets(), readValuesFromProject(), removeContextElement(), saveContextElement(), and updateContextElement().
|
private |
Definition at line 161 of file projectconfigpages.h.
Referenced by buildConnections(), initWidgets(), readValuesFromProject(), removeContextFolio(), saveContextFolio(), and updateContextFolio().