QElectroTech 0.100.0-dev
Loading...
Searching...
No Matches
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.
 
void setFolioAutonum (QString)
 NewDiagramPage::setFolioAutonum Set temporary TBP to use in auto folio num.
 
void saveCurrentTbp ()
 NewDiagramPage::saveCurrentTbp Save current TBP to retrieve after auto folio num.
 
void loadSavedTbp ()
 NewDiagramPage::loadSavedTbp Retrieve saved auto folio num.
 

Public Member Functions

 NewDiagramPage (QETProject *project=nullptr, QWidget *=nullptr, ProjectPropertiesDialog *teste=nullptr)
 NewDiagramPage::NewDiagramPage Default constructor.
 
 ~NewDiagramPage () override
 NewDiagramPage::~NewDiagramPage.
 
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.
 
QString title () const override
 NewDiagramPage::title.
 
QIcon icon () const override
 NewDiagramPage::icon.
 
- Public Member Functions inherited from ConfigPage
 ConfigPage (QWidget *parent)
 
 ~ConfigPage () override
 Destructor.
 

Private Member Functions

 NewDiagramPage (const NewDiagramPage &)
 

Private Attributes

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

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 properties.

◆ 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: