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

The NewDiagramPage class This configuration page enables users to define the properties of new diagrams to come. More...

#include <configpages.h>

Inheritance diagram for NewDiagramPage:
Inheritance graph
Collaboration diagram for NewDiagramPage:
Collaboration graph

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...
 
- Public Member Functions inherited from ConfigPage
 ConfigPage (QWidget *parent)
 
 ~ConfigPage () override
 Destructor. More...
 

Private Member Functions

 NewDiagramPage (const NewDiagramPage &)
 

Private Attributes

ProjectPropertiesDialogppd_
 
QETProjectm_project
 Project to edit propertie. More...
 
BorderPropertiesWidgetbpw
 Widget to edit default diagram dimensions. More...
 
TitleBlockPropertiesWidgetipw
 Widget to edit default title block properties. More...
 
ConductorPropertiesWidgetm_cpw
 Widget to edit default conductor properties. More...
 
ReportPropertieWidgetrpw
 Widget to edit default report label. More...
 
XRefPropertiesWidgetxrefpw
 Widget to edit default xref properties. More...
 
TitleBlockProperties savedTbp
 Used to save current TBP and retrieve later. More...
 

Detailed Description

The NewDiagramPage class This configuration page enables users to define the properties of new diagrams to come.

Constructor & Destructor Documentation

◆ NewDiagramPage() [1/2]

NewDiagramPage::NewDiagramPage ( QETProject project = nullptr,
QWidget *  parent = nullptr,
ProjectPropertiesDialog ppd = nullptr 
)

NewDiagramPage::NewDiagramPage Default constructor.

Parameters
project: QETProject
parent: QWidget
ppd: ProjectPropertiesDialog
Here is the call graph for this function:

◆ ~NewDiagramPage()

NewDiagramPage::~NewDiagramPage ( )
override

NewDiagramPage::~NewDiagramPage.

Here is the call graph for this function:

◆ NewDiagramPage() [2/2]

NewDiagramPage::NewDiagramPage ( const NewDiagramPage )
private

Member Function Documentation

◆ applyConf()

void NewDiagramPage::applyConf ( )
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.

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

◆ changeToAutoFolioTab

void NewDiagramPage::changeToAutoFolioTab ( )
slot

NewDiagramPage::changeToAutoFolioTab Set the current tab to Autonum.

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

◆ icon()

QIcon NewDiagramPage::icon ( ) const
overridevirtual

NewDiagramPage::icon.

Returns
icon of this page

Implements ConfigPage.

◆ loadSavedTbp

void NewDiagramPage::loadSavedTbp ( )
slot

NewDiagramPage::loadSavedTbp Retrieve saved auto folio num.

Here is the call graph for this function:

◆ saveCurrentTbp

void NewDiagramPage::saveCurrentTbp ( )
slot

NewDiagramPage::saveCurrentTbp Save current TBP to retrieve after auto folio num.

Here is the call graph for this function:

◆ setFolioAutonum

void NewDiagramPage::setFolioAutonum ( QString  autoNum)
slot

NewDiagramPage::setFolioAutonum Set temporary TBP to use in auto folio num.

Here is the call graph for this function:

◆ title()

QString NewDiagramPage::title ( ) const
overridevirtual

NewDiagramPage::title.

Returns
title of this page

Implements ConfigPage.

Member Data Documentation

◆ bpw

BorderPropertiesWidget* NewDiagramPage::bpw
private

Widget to edit default diagram dimensions.

◆ ipw

TitleBlockPropertiesWidget* NewDiagramPage::ipw
private

Widget to edit default title block properties.

◆ m_cpw

ConductorPropertiesWidget* NewDiagramPage::m_cpw
private

Widget to edit default conductor properties.

◆ m_project

QETProject* NewDiagramPage::m_project
private

Project to edit propertie.

◆ ppd_

ProjectPropertiesDialog* NewDiagramPage::ppd_
private

◆ rpw

ReportPropertieWidget* NewDiagramPage::rpw
private

Widget to edit default report label.

◆ savedTbp

TitleBlockProperties NewDiagramPage::savedTbp
private

Used to save current TBP and retrieve later.

◆ xrefpw

XRefPropertiesWidget* NewDiagramPage::xrefpw
private

Widget to edit default xref properties.


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