QElectroTech
0.70
|
#include <configpages.h>
Public Slots | |
void | changeToAutoFolioTab () |
NewDiagramPage::changeToAutoFolioTab Set the current tab to Autonum. More... | |
void | setFolioAutonum (QString) |
NewDiagramPage::setFolioAutonum Set temporary TBP to use in auto folio num. More... | |
void | saveCurrentTbp () |
NewDiagramPage::saveCurrentTbp Save current TBP to retrieve after auto folio num. More... | |
void | loadSavedTbp () |
NewDiagramPage::loadSavedTbp Retrieve saved auto folio num. More... | |
Public Member Functions | |
NewDiagramPage (QETProject *project=nullptr, QWidget *=nullptr, ProjectPropertiesDialog *teste=nullptr) | |
NewDiagramPage::NewDiagramPage Default constructor. More... | |
~NewDiagramPage () override | |
NewDiagramPage::~NewDiagramPage. More... | |
void | applyConf () override |
NewDiagramPage::applyConf Apply conf for this page. If there is a project, save in the project, else save to the default conf of QElectroTech. More... | |
QString | title () const override |
NewDiagramPage::title. More... | |
QIcon | icon () const override |
NewDiagramPage::icon. More... | |
![]() | |
ConfigPage (QWidget *parent) | |
~ConfigPage () override | |
Destructor. More... | |
Private Member Functions | |
NewDiagramPage (const NewDiagramPage &) | |
Private Attributes | |
ProjectPropertiesDialog * | ppd_ |
QETProject * | m_project |
Project to edit propertie. More... | |
BorderPropertiesWidget * | bpw |
Widget to edit default diagram dimensions. More... | |
TitleBlockPropertiesWidget * | ipw |
Widget to edit default title block properties. More... | |
ConductorPropertiesWidget * | m_cpw |
Widget to edit default conductor properties. More... | |
ReportPropertieWidget * | rpw |
Widget to edit default report label. More... | |
XRefPropertiesWidget * | xrefpw |
Widget to edit default xref properties. More... | |
TitleBlockProperties | savedTbp |
Used to save current TBP and retrieve later. More... | |
This configuration page enables users to define the properties of new diagrams to come.
Definition at line 38 of file configpages.h.
NewDiagramPage::NewDiagramPage | ( | QETProject * | project = nullptr , |
QWidget * | parent = nullptr , |
||
ProjectPropertiesDialog * | ppd = nullptr |
||
) |
NewDiagramPage::NewDiagramPage Default constructor.
project,If | project, edit the propertie of Project else edit the properties by default of QElectroTech |
parent,parent | widget |
Definition at line 42 of file configpages.cpp.
References bpw, changeToAutoFolioTab(), QETApp::commonTitleBlockTemplatesCollection(), QETApp::customTitleBlockTemplatesCollection(), ReportProperties::defaultProperties(), BorderProperties::defaultProperties(), TitleBlockProperties::defaultProperties(), XRefProperties::defaultProperties(), ConductorProperties::defaultProperties(), QETProject::embeddedTitleBlockTemplatesCollection(), ipw, m_cpw, m_project, rpw, ConductorPropertiesWidget::setHiddenAvailableAutonum(), QET::Icons::tr, and xrefpw.
|
override |
NewDiagramPage::~NewDiagramPage.
Definition at line 98 of file configpages.cpp.
References changeToAutoFolioTab(), and ipw.
|
private |
|
overridevirtual |
NewDiagramPage::applyConf Apply conf for this page. If there is a project, save in the project, else save to the default conf of QElectroTech.
Implements ConfigPage.
Definition at line 108 of file configpages.cpp.
References bpw, ipw, m_cpw, m_project, rpw, ReportPropertieWidget::toSettings(), XRefProperties::toSettings(), and xrefpw.
Referenced by loadSavedTbp(), and setFolioAutonum().
|
slot |
NewDiagramPage::changeToAutoFolioTab Set the current tab to Autonum.
Definition at line 195 of file configpages.cpp.
References ProjectPropertiesDialog::Autonum, ProjectPropertiesDialog::changeToFolio(), ProjectPropertiesDialog::exec(), m_project, ppd_, and ProjectPropertiesDialog::setCurrentPage().
Referenced by NewDiagramPage(), and ~NewDiagramPage().
|
overridevirtual |
Implements ConfigPage.
Definition at line 177 of file configpages.cpp.
References m_project, QET::Icons::NewDiagram, and QET::Icons::Projects.
|
slot |
NewDiagramPage::loadSavedTbp Retrieve saved auto folio num.
Definition at line 225 of file configpages.cpp.
References applyConf(), ipw, savedTbp, and TitleBlockPropertiesWidget::setProperties().
|
slot |
NewDiagramPage::saveCurrentTbp Save current TBP to retrieve after auto folio num.
Definition at line 217 of file configpages.cpp.
References ipw, TitleBlockPropertiesWidget::properties(), and savedTbp.
|
slot |
NewDiagramPage::setFolioAutonum Set temporary TBP to use in auto folio num.
Definition at line 207 of file configpages.cpp.
References applyConf(), ipw, TitleBlockPropertiesWidget::propertiesAutoNum(), and TitleBlockPropertiesWidget::setProperties().
|
overridevirtual |
Implements ConfigPage.
Definition at line 186 of file configpages.cpp.
References m_project, and QET::Icons::tr.
|
private |
Widget to edit default diagram dimensions.
Definition at line 63 of file configpages.h.
Referenced by applyConf(), and NewDiagramPage().
|
private |
Widget to edit default title block properties.
Definition at line 64 of file configpages.h.
Referenced by applyConf(), loadSavedTbp(), NewDiagramPage(), saveCurrentTbp(), setFolioAutonum(), and ~NewDiagramPage().
|
private |
Widget to edit default conductor properties.
Definition at line 65 of file configpages.h.
Referenced by applyConf(), and NewDiagramPage().
|
private |
Project to edit propertie.
Definition at line 62 of file configpages.h.
Referenced by applyConf(), changeToAutoFolioTab(), icon(), NewDiagramPage(), and title().
|
private |
Definition at line 61 of file configpages.h.
Referenced by changeToAutoFolioTab().
|
private |
Widget to edit default report label.
Definition at line 66 of file configpages.h.
Referenced by applyConf(), and NewDiagramPage().
|
private |
Used to save current TBP and retrieve later.
Definition at line 68 of file configpages.h.
Referenced by loadSavedTbp(), and saveCurrentTbp().
|
private |
Widget to edit default xref properties.
Definition at line 67 of file configpages.h.
Referenced by applyConf(), and NewDiagramPage().