QElectroTech 0.100.0-dev
|
The Diagram class This class represents an electric diagram. It manages its various child elements, conductors and texts and handles their graphic rendering. More...
#include <diagram.h>
Inherits QGraphicsScene.
Public Types | |
enum | BorderOptions { EmptyBorder , TitleBlock , Columns } |
The BorderOptions enum Represents available options when rendering a particular diagram: EmptyBorder: display border only TitleBlock: display title block Columns: display columns. More... | |
enum | NumerotationType { Conductors } |
Represents available option of Numerotation type. More... | |
Public Slots | |
void | adjustSceneRect () |
Diagram::adjustSceneRect Recalcul and adjust the size of the scene. | |
void | titleChanged () |
Diagram::titleChanged emit(diagramTitleChanged(this, title));. | |
void | titleBlockTemplateChanged (const QString &) |
Diagram::titleBlockTemplateChanged This slot may be used to inform the diagram object that the given title block template has changed. The diagram will thus flush its title block-dedicated rendering cache. | |
void | titleBlockTemplateRemoved (const QString &, const QString &=QString()) |
Diagram::titleBlockTemplateRemoved This slot has to be be used to inform this class that the given title block template is about to be removed and is no longer accessible. This class will either use the provided optional TitleBlockTemplate or the default title block provided by QETApp::defaultTitleBlockTemplate() | |
void | setTitleBlockTemplate (const QString &) |
Diagram::setTitleBlockTemplate Set the template to use to render the title block of this diagram. | |
void | loadElmtFolioSeq () |
Diagram::loadElmtFolioSeq This class loads all folio sequential variables related to the current autonum. | |
void | loadCndFolioSeq () |
Diagram::loadCndFolioSeq This class loads all conductor folio sequential variables related to the current autonum. | |
void | selectAll () |
Diagram::selectAll Select all schema objects. | |
void | deselectAll () |
Diagram::deselectAll Deselects all selected objects. | |
void | invertSelection () |
Diagram::invertSelection Reverses the selection state of all schema objects Inverse l'etat de selection de tous les objets du schema. | |
Signals | |
void | showDiagram (Diagram *) |
void | usedTitleBlockTemplateChanged (const QString &) |
void | diagramTitleChanged (Diagram *) |
void | findElementRequired (const ElementsLocation &) |
void | diagramActivated () |
void | diagramInformationChanged () |
Public Member Functions | |
QUuid | uuid () |
Diagram::uuid. | |
void | setEventInterface (DiagramEventInterface *event_interface) |
Diagram::setEventInterface Set event_interface has current interface. Diagram become the ownership of event_interface If there is a previous interface, they will be delete before and call init() to the new interface. | |
void | clearEventInterface () |
Diagram::clearEventInterface Clear the current event interface. | |
QString | conductorsAutonumName () const |
Diagram::conductorsAutonumName. | |
void | setConductorsAutonumName (const QString &name) |
Diagram::setConductorsAutonumName. | |
QETProject * | project () const |
Diagram::project. | |
int | folioIndex () const |
Diagram::folioIndex. | |
void | showMe () |
bool | isReadOnly () const |
Diagram::isReadOnly. | |
void | setConductor (bool) |
Diagram::setConductor Display or hide the conductor setter, i.e. a dashed conductor stub which appears when creating a conductor between two terminals. | |
void | setConductorStart (QPointF) |
Diagram::setConductorStart Set the start point of the conductor setter. | |
void | setConductorStop (QPointF) |
Diagram::setConductorStop Set the end point of the conductor setter. | |
QList< QSet< Conductor * > > | potentials () |
Diagram::potential. | |
QDomDocument | toXml (bool=true) |
Diagram::toXml Exports all or part of the schema. | |
bool | initFromXml (QDomElement &, QPointF=QPointF(), bool=true, DiagramContent *=nullptr) |
Diagram::initFromXml Imports the described schema in an XML element. This method delegates its work to Diagram :: fromXml If the import is successful, this method also initializes the XML document internal allowing to manage the recording of this diagram in the project to which it belongs. | |
bool | fromXml (QDomDocument &, QPointF=QPointF(), bool=true, DiagramContent *=nullptr) |
Diagram::fromXml Imports the described schema into an XML document. If a position is specified, the imported elements are positioned so that the upper left corner of the smallest rectangle that can surround them all (the bounding rect) is at this position. | |
bool | fromXml (QDomElement &, QPointF=QPointF(), bool=true, DiagramContent *=nullptr) |
Diagram::fromXml Imports the described schema in an XML element. If a position is specified, the imported elements are positioned in such a way that the upper left corner of the smallest rectangle that can surround them all (the bounding rect) either at this position. | |
void | folioSequentialsToXml (QHash< QString, QStringList > *, QDomElement *, const QString &, const QString &, QDomDocument *) |
Diagram::folioSequentialsToXml Add folio sequential to QDomElement. | |
void | folioSequentialsFromXml (const QDomElement &, QHash< QString, QStringList > *, const QString &, const QString &, const QString &, const QString &) |
Diagram::folioSequentialsFromXml Load folio sequential from QDomElement. | |
void | refreshContents () |
Diagram::refreshContents refresh all content of diagram. | |
virtual void | addItem (QGraphicsItem *item) |
Diagram::addItem Réimplemented from QGraphicsScene::addItem(QGraphicsItem *item) Do some specific operation if item need it (for example an element) | |
virtual void | removeItem (QGraphicsItem *item) |
Diagram::removeItem Reimplemented from QGraphicsScene::removeItem(QGraphicsItem *item) Do some specific operation if item need it (for example an element) | |
ExportProperties | applyProperties (const ExportProperties &) |
Diagram::applyProperties This method allows you to apply new rendering options while accessing the current rendering properties. | |
void | setDisplayGrid (bool) |
Diagram::setDisplayGrid Set whether the diagram grid should be drawn. | |
bool | displayGrid () |
Diagram::displayGrid. | |
void | setUseBorder (bool) |
Diagram::setUseBorder Set whether the diagram border (including rows/columns headers and the title block) should be rendered along with the diagram. When set to false, the size of the smallest rectangle containing all items is considered as the diagram size. | |
bool | useBorder () |
Diagram::useBorder. | |
void | setBorderOptions (BorderOptions) |
Diagram::setBorderOptions Set the rendering options for the diagram border (including rows/columns headers and the title block) | |
BorderOptions | borderOptions () |
Diagram::borderOptions. | |
DiagramPosition | convertPosition (const QPointF &) |
Diagram::convertPosition. | |
bool | drawTerminals () const |
Diagram::drawTerminals. | |
void | setDrawTerminals (bool) |
Diagram::setDrawTerminals Defines whether or not to display the terminals. | |
bool | drawColoredConductors () const |
Diagram::drawColoredConductors. | |
void | setDrawColoredConductors (bool) |
Diagram::setDrawColoredConductors Defines whether or not to respect the colors of the conductors. If not, the conductors are all drawn in black. | |
QString | title () const |
Diagram::title. | |
bool | toPaintDevice (QPaintDevice &, int=-1, int=-1, Qt::AspectRatioMode=Qt::KeepAspectRatio) |
QSize | imageSize () const |
Diagram::imageSize Allows you to know the dimensions that the image generated by the toImage() method will have. | |
bool | isEmpty () const |
Diagram::isEmpty An empty schema contains no element, conductor, or text field. | |
QList< Element * > | elements () const |
Diagram::elements. | |
QList< Conductor * > | conductors () const |
Diagram::conductors. | |
QSet< Conductor * > | selectedConductors () const |
Diagram::selectedConductors. | |
DiagramContent | content () const |
Diagram::content. | |
bool | canRotateSelection () const |
Diagram::canRotateSelection. | |
ElementsMover & | elementsMover () |
Diagram::elementsMover. | |
ElementTextsMover & | elementTextsMover () |
Diagram::elementTextsMover. | |
bool | usesElement (const ElementsLocation &) |
Diagram::usesElement Used to find out if an element is used on a schema. | |
bool | usesTitleBlockTemplate (const QString &) |
Diagram::usesTitleBlockTemplate. | |
QUndoStack & | undoStack () |
Diagram::undoStack. | |
QGIManager & | qgiManager () |
Diagram::qgiManager. | |
void | freezeElements (bool freeze) |
Diagram::freezeElements Freeze every existent element label. | |
void | unfreezeElements () |
Diagram::unfreezeElements Unfreeze every existent element label. | |
void | setFreezeNewElements (bool) |
Diagram::freezeNewElements Set new element label to be frozen. | |
bool | freezeNewElements () |
Diagram::freezeNewElements. | |
void | freezeConductors (bool freeze) |
Diagram::freezeConductors Freeze every existent conductor label. | |
void | setFreezeNewConductors (bool) |
Diagram::setfreezeNewConductors Set new conductor label to be frozen. | |
bool | freezeNewConductors () |
Diagram::freezeNewConductors. | |
void | insertFolioSeqHash (QHash< QString, QStringList > *hash, const QString &title, const QString &seq, NumerotationContext *nc) |
Diagram::insertFolioSeqHash This class inserts a stringlist containing all sequential variables related to an autonum in a QHash. | |
void | loadFolioSeqHash (QHash< QString, QStringList > *hash, const QString &title, const QString &seq, NumerotationContext *nc) |
Diagram::loadFolioSeqHash This class loads all folio sequential variables related to the current autonum. | |
void | changeZValue (QET::DepthOption option) |
Diagram::changeZValue Change the Z value of the current selected item, according to option. | |
Static Public Member Functions | |
static bool | clipboardMayContainDiagram () |
Diagram::clipboardMayContainDiagram. | |
static QPointF | snapToGrid (const QPointF &p) |
Diagram::snapToGrid Return a nearest snap point of p. | |
Public Attributes | |
ConductorProperties | defaultConductorProperties |
Default properties for new conductors. | |
BorderTitleBlock | border_and_titleblock |
Diagram dimensions and title block. | |
QHash< QString, QStringList > | m_elmt_unitfolio_max |
Hash containing max values for folio sequential autonums in this diagram. | |
QHash< QString, QStringList > | m_elmt_tenfolio_max |
QHash< QString, QStringList > | m_elmt_hundredfolio_max |
QHash< QString, QStringList > | m_cnd_unitfolio_max |
Hash containing max values for folio sequential autonums in this diagram. | |
QHash< QString, QStringList > | m_cnd_tenfolio_max |
QHash< QString, QStringList > | m_cnd_hundredfolio_max |
Static Public Attributes | |
static int | xGrid = 10 |
abscissa grid step size | |
static int | yGrid = 10 |
ordinate grid step size | |
static int | xKeyGrid = 10 |
Key grid x step size. | |
static int | yKeyGrid = 10 |
Key grid y step size. | |
static int | xKeyGridFine = 1 |
Key grid fine x step size. | |
static int | yKeyGridFine = 1 |
Key grid fine y step size. | |
static const qreal | margin = 5.0 |
margin around the diagram | |
static QColor | background_color = Qt::white |
background color of diagram | |
Protected Member Functions | |
void | drawBackground (QPainter *, const QRectF &) override |
Diagram::drawBackground Draw the background of the diagram, ie the grid. | |
void | mouseDoubleClickEvent (QGraphicsSceneMouseEvent *event) override |
Diagram::mouseDoubleClickEvent This event is managed by diagram event interface if any. | |
void | mousePressEvent (QGraphicsSceneMouseEvent *event) override |
Diagram::mousePressEvent This event is managed by diagram event interface if any. | |
void | mouseMoveEvent (QGraphicsSceneMouseEvent *event) override |
Diagram::mouseMoveEvent This event is managed by diagram event interface if any. | |
void | mouseReleaseEvent (QGraphicsSceneMouseEvent *event) override |
Diagram::mouseReleaseEvent This event is managed by diagram event interface if any. | |
void | wheelEvent (QGraphicsSceneWheelEvent *event) override |
Diagram::wheelEvent This event is managed by diagram event interface if any. | |
void | keyPressEvent (QKeyEvent *event) override |
Diagram::keyPressEvent This event is managed by diagram event interface if any. Else move selected elements. | |
void | keyReleaseEvent (QKeyEvent *) override |
Diagram::keyReleaseEvent This event is managed by diagram event interface if any. Else move selected element. | |
Private Member Functions | |
Diagram (QETProject *project) | |
Diagram::Diagram Constructor. | |
~Diagram () override | |
Diagram::~Diagram Destructor. | |
Diagram (const Diagram &diagram) | |
Private Attributes | |
friend | DiagramFolioList |
friend | QETProject |
QGraphicsLineItem * | conductor_setter_ |
ElementsMover | m_elements_mover |
ElementTextsMover | m_element_texts_mover |
QGIManager * | qgi_manager_ |
QETProject * | m_project |
QDomDocument | xml_document_ |
qreal | diagram_qet_version_ |
bool | draw_grid_ |
bool | use_border_ |
bool | draw_terminals_ |
bool | draw_colored_conductors_ |
QString | m_conductors_autonum_name |
DiagramEventInterface * | m_event_interface |
bool | m_freeze_new_elements |
bool | m_freeze_new_conductors_ |
QUuid | m_uuid = QUuid::createUuid() |
The Diagram class This class represents an electric diagram. It manages its various child elements, conductors and texts and handles their graphic rendering.
|
private |
Diagram::Diagram Constructor.
project | : The project of this diagram and also parent QObject |
|
private |
|
virtual |
Diagram::addItem Réimplemented from QGraphicsScene::addItem(QGraphicsItem *item) Do some specific operation if item need it (for example an element)
item |
|
slot |
Diagram::adjustSceneRect Recalcul and adjust the size of the scene.
ExportProperties Diagram::applyProperties | ( | const ExportProperties & | new_properties | ) |
Diagram::applyProperties This method allows you to apply new rendering options while accessing the current rendering properties.
new_properties | : New rendering options to apply |
|
inline |
bool Diagram::canRotateSelection | ( | ) | const |
void Diagram::changeZValue | ( | QET::DepthOption | option | ) |
Diagram::changeZValue Change the Z value of the current selected item, according to option.
option |
void Diagram::clearEventInterface | ( | ) |
Diagram::clearEventInterface Clear the current event interface.
|
static |
Diagram::clipboardMayContainDiagram.
QList< Conductor * > Diagram::conductors | ( | ) | const |
QString Diagram::conductorsAutonumName | ( | ) | const |
Diagram::conductorsAutonumName.
DiagramContent Diagram::content | ( | ) | const |
DiagramPosition Diagram::convertPosition | ( | const QPointF & | pos | ) |
pos | : Cartesian position (ex: 10.3, 45.2) to transform into position in the grid (ex: B2) |
|
slot |
Diagram::deselectAll Deselects all selected objects.
|
signal |
|
signal |
|
signal |
|
inline |
|
overrideprotected |
Diagram::drawBackground Draw the background of the diagram, ie the grid.
p | : The QPainter to use for drawing |
r | : The rectangle of the area to be drawn |
|
inline |
Diagram::drawColoredConductors.
|
inline |
QList< Element * > Diagram::elements | ( | ) | const |
ElementsMover & Diagram::elementsMover | ( | ) |
ElementTextsMover & Diagram::elementTextsMover | ( | ) |
|
signal |
Signal emitted when users wish to locate an element from the diagram within elements collection
int Diagram::folioIndex | ( | ) | const |
void Diagram::folioSequentialsFromXml | ( | const QDomElement & | root, |
QHash< QString, QStringList > * | hash, | ||
const QString & | folioSeq, | ||
const QString & | seq, | ||
const QString & | type, | ||
const QString & | autonumFolioSeqType | ||
) |
Diagram::folioSequentialsFromXml Load folio sequential from QDomElement.
root | containing all folio sequentials |
hash | : to be loaded with content |
folioSeq | type |
seq | type |
type | of sequential |
autonumFolioSeqType |
void Diagram::folioSequentialsToXml | ( | QHash< QString, QStringList > * | hash, |
QDomElement * | domElement, | ||
const QString & | seq_type, | ||
const QString & | type, | ||
QDomDocument * | doc | ||
) |
Diagram::folioSequentialsToXml Add folio sequential to QDomElement.
hash | to retrieve content with content |
domElement | to add attributes |
seq_type | type |
type | |
doc |
void Diagram::freezeConductors | ( | bool | freeze | ) |
Diagram::freezeConductors Freeze every existent conductor label.
void Diagram::freezeElements | ( | bool | freeze | ) |
Diagram::freezeElements Freeze every existent element label.
bool Diagram::freezeNewConductors | ( | ) |
bool Diagram::freezeNewElements | ( | ) |
bool Diagram::fromXml | ( | QDomDocument & | document, |
QPointF | position = QPointF() , |
||
bool | consider_informations = true , |
||
DiagramContent * | content_ptr = nullptr |
||
) |
Diagram::fromXml Imports the described schema into an XML document. If a position is specified, the imported elements are positioned so that the upper left corner of the smallest rectangle that can surround them all (the bounding rect) is at this position.
document | : The XML document to analyze |
position | : The position of the diagram matters |
consider_informations | : If true, additional information (author, title, ...) will be taken into account |
content_ptr | : if this pointer to a DiagramContent is different from 0, it will be filled with the content added to the schema by the fromXml |
bool Diagram::fromXml | ( | QDomElement & | document, |
QPointF | position = QPointF() , |
||
bool | consider_informations = true , |
||
DiagramContent * | content_ptr = nullptr |
||
) |
Diagram::fromXml Imports the described schema in an XML element. If a position is specified, the imported elements are positioned in such a way that the upper left corner of the smallest rectangle that can surround them all (the bounding rect) either at this position.
document | : The XML document to analyze |
position | : The position of the diagram matters |
consider_informations | : If true, additional information (author, title, ...) will be taken into account |
content_ptr | : if this pointer to a DiagramContent is different from 0, it will be filled with the content added to the schema by the fromXml |
QSize Diagram::imageSize | ( | ) | const |
Diagram::imageSize Allows you to know the dimensions that the image generated by the toImage() method will have.
bool Diagram::initFromXml | ( | QDomElement & | document, |
QPointF | position = QPointF() , |
||
bool | consider_informations = true , |
||
DiagramContent * | content_ptr = nullptr |
||
) |
Diagram::initFromXml Imports the described schema in an XML element. This method delegates its work to Diagram :: fromXml If the import is successful, this method also initializes the XML document internal allowing to manage the recording of this diagram in the project to which it belongs.
document | : The XML document to analyze |
position | : The position of the diagram matters |
consider_informations | : If true, additional information (author, title, ...) will be taken into account |
content_ptr | : if this pointer to a DiagramContent is different from 0, it will be filled with the content added to the schema by the fromXml |
void Diagram::insertFolioSeqHash | ( | QHash< QString, QStringList > * | hash, |
const QString & | title, | ||
const QString & | type, | ||
NumerotationContext * | nc | ||
) |
Diagram::insertFolioSeqHash This class inserts a stringlist containing all sequential variables related to an autonum in a QHash.
hash | : to be accessed |
title | : autonum title |
type | : to be treated |
nc | : Context to be manipulated |
|
slot |
Diagram::invertSelection Reverses the selection state of all schema objects Inverse l'etat de selection de tous les objets du schema.
bool Diagram::isEmpty | ( | ) | const |
Diagram::isEmpty An empty schema contains no element, conductor, or text field.
bool Diagram::isReadOnly | ( | ) | const |
|
overrideprotected |
Diagram::keyPressEvent This event is managed by diagram event interface if any. Else move selected elements.
event |
|
overrideprotected |
Diagram::keyReleaseEvent This event is managed by diagram event interface if any. Else move selected element.
e |
|
slot |
Diagram::loadCndFolioSeq This class loads all conductor folio sequential variables related to the current autonum.
|
slot |
Diagram::loadElmtFolioSeq This class loads all folio sequential variables related to the current autonum.
void Diagram::loadFolioSeqHash | ( | QHash< QString, QStringList > * | hash, |
const QString & | title, | ||
const QString & | type, | ||
NumerotationContext * | nc | ||
) |
Diagram::loadFolioSeqHash This class loads all folio sequential variables related to the current autonum.
hash | : to be accessed |
title | : autonum title |
type | : to be treated |
nc | : Context to be manipulated |
|
overrideprotected |
Diagram::mouseDoubleClickEvent This event is managed by diagram event interface if any.
event | : |
|
overrideprotected |
Diagram::mouseMoveEvent This event is managed by diagram event interface if any.
event |
|
overrideprotected |
Diagram::mousePressEvent This event is managed by diagram event interface if any.
event |
|
overrideprotected |
Diagram::mouseReleaseEvent This event is managed by diagram event interface if any.
event |
QList< QSet< Conductor * > > Diagram::potentials | ( | ) |
Diagram::potential.
QETProject * Diagram::project | ( | ) | const |
|
inline |
void Diagram::refreshContents | ( | ) |
Diagram::refreshContents refresh all content of diagram.
|
virtual |
Diagram::removeItem Reimplemented from QGraphicsScene::removeItem(QGraphicsItem *item) Do some specific operation if item need it (for example an element)
item |
|
slot |
Diagram::selectAll Select all schema objects.
QSet< Conductor * > Diagram::selectedConductors | ( | ) | const |
|
inline |
Diagram::setBorderOptions Set the rendering options for the diagram border (including rows/columns headers and the title block)
bo | Enabled options ORed together |
|
inline |
Diagram::setConductor Display or hide the conductor setter, i.e. a dashed conductor stub which appears when creating a conductor between two terminals.
adding | true add conductor ,false remove conductor |
void Diagram::setConductorsAutonumName | ( | const QString & | name | ) |
Diagram::setConductorsAutonumName.
name | : name of autonum to use. |
|
inline |
Diagram::setConductorStart Set the start point of the conductor setter.
start | the point (in scene coordinates) which the newly created conductor should start from. |
|
inline |
Diagram::setConductorStop Set the end point of the conductor setter.
end | the point (in scene coordinates) upon to which the newly created conductor should be drawn. |
|
inline |
Diagram::setDisplayGrid Set whether the diagram grid should be drawn.
dg | true to render the grid, false otherwise. |
void Diagram::setDrawColoredConductors | ( | bool | dcc | ) |
Diagram::setDrawColoredConductors Defines whether or not to respect the colors of the conductors. If not, the conductors are all drawn in black.
dcc | true to respect the colors, false otherwise |
void Diagram::setDrawTerminals | ( | bool | dt | ) |
Diagram::setDrawTerminals Defines whether or not to display the terminals.
dt | : true to display the bounds, false otherwise |
void Diagram::setEventInterface | ( | DiagramEventInterface * | event_interface | ) |
Diagram::setEventInterface Set event_interface has current interface. Diagram become the ownership of event_interface If there is a previous interface, they will be delete before and call init() to the new interface.
event_interface |
void Diagram::setFreezeNewConductors | ( | bool | b | ) |
Diagram::setfreezeNewConductors Set new conductor label to be frozen.
void Diagram::setFreezeNewElements | ( | bool | b | ) |
Diagram::freezeNewElements Set new element label to be frozen.
|
slot |
Diagram::setTitleBlockTemplate Set the template to use to render the title block of this diagram.
template_name | Name of the title block template. |
|
inline |
Diagram::setUseBorder Set whether the diagram border (including rows/columns headers and the title block) should be rendered along with the diagram. When set to false, the size of the smallest rectangle containing all items is considered as the diagram size.
ub | true to take the border into account, false otherwise |
|
signal |
|
inline |
|
static |
Diagram::snapToGrid Return a nearest snap point of p.
p | point to find the nearest snapped point |
QString Diagram::title | ( | ) | const |
|
slot |
Diagram::titleBlockTemplateChanged This slot may be used to inform the diagram object that the given title block template has changed. The diagram will thus flush its title block-dedicated rendering cache.
template_name | Name of the title block template that has changed |
|
slot |
Diagram::titleBlockTemplateRemoved This slot has to be be used to inform this class that the given title block template is about to be removed and is no longer accessible. This class will either use the provided optional TitleBlockTemplate or the default title block provided by QETApp::defaultTitleBlockTemplate()
template_name | Name of the title block template that has changed |
new_template | (Optional) Name of the title block template to use instead |
|
slot |
Diagram::titleChanged emit(diagramTitleChanged(this, title));.
title |
bool Diagram::toPaintDevice | ( | QPaintDevice & | pix, |
int | width = -1 , |
||
int | height = -1 , |
||
Qt::AspectRatioMode | aspectRatioMode = Qt::KeepAspectRatio |
||
) |
Exporte le schema vers une image
QDomDocument Diagram::toXml | ( | bool | whole_content = true | ) |
Diagram::toXml Exports all or part of the schema.
whole_content | : Boolean (to true by default) indicating if the generated XML must represent the entire schema or only the selected content |
|
inline |
void Diagram::unfreezeElements | ( | ) |
Diagram::unfreezeElements Unfreeze every existent element label.
|
inline |
|
signal |
bool Diagram::usesElement | ( | const ElementsLocation & | location | ) |
Diagram::usesElement Used to find out if an element is used on a schema.
location | : Location of an element |
bool Diagram::usesTitleBlockTemplate | ( | const QString & | name | ) |
Diagram::usesTitleBlockTemplate.
name | : a title block template name |
QUuid Diagram::uuid | ( | ) |
|
overrideprotected |
Diagram::wheelEvent This event is managed by diagram event interface if any.
event |
|
overrideprivate |
|
static |
background color of diagram
Diagram::background_color static variable to keep track of present background color of the diagram.
BorderTitleBlock Diagram::border_and_titleblock |
Diagram dimensions and title block.
|
private |
ConductorProperties Diagram::defaultConductorProperties |
Default properties for new conductors.
|
private |
|
private |
|
private |
|
private |
|
private |
QHash<QString, QStringList> Diagram::m_cnd_hundredfolio_max |
QHash<QString, QStringList> Diagram::m_cnd_tenfolio_max |
QHash<QString, QStringList> Diagram::m_cnd_unitfolio_max |
Hash containing max values for folio sequential autonums in this diagram.
|
private |
|
private |
|
private |
QHash<QString, QStringList> Diagram::m_elmt_hundredfolio_max |
QHash<QString, QStringList> Diagram::m_elmt_tenfolio_max |
QHash<QString, QStringList> Diagram::m_elmt_unitfolio_max |
Hash containing max values for folio sequential autonums in this diagram.
|
private |
|
private |
|
private |
|
private |
|
private |
|
static |
margin around the diagram
|
private |
|
private |
|
private |
|
static |
abscissa grid step size
|
static |
Key grid x step size.
|
static |
Key grid fine x step size.
|
private |
|
static |
ordinate grid step size
|
static |
Key grid y step size.
|
static |
Key grid fine y step size.