QElectroTech 0.200.1-dev
Loading...
Searching...
No Matches
diagram.h
Go to the documentation of this file.
1/*
2 Copyright 2006-2026 The QElectroTech Team
3 This file is part of QElectroTech.
4
5 QElectroTech is free software: you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation, either version 2 of the License, or
8 (at your option) any later version.
9
10 QElectroTech is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
17*/
18#ifndef DIAGRAM_H
19#define DIAGRAM_H
21#include "bordertitleblock.h"
22#include "conductorproperties.h"
23#include "elementsmover.h"
24#include "elementtextsmover.h"
25#include "exportproperties.h"
27#include "qgimanager.h"
28
29#include <QHash>
30#include <QUuid>
31#include <QtWidgets>
32#include <QtXml>
33
34class Conductor;
35class CustomElement;
36class DiagramContent;
37class DiagramPosition;
38class DiagramTextItem;
39class Element;
43class DiagramFolioList;
44class QETProject;
45struct GuideProperties;
46
53class Diagram : public QGraphicsScene
54{
56 friend QETProject;
57
58 Q_OBJECT
59
60 // constructors, destructor
61 private:
63 ~Diagram() override;
64 Diagram(const Diagram &diagram);
65
66 // ATTRIBUTES
67 public:
74
90 static int xGrid;
92 static int yGrid;
94 static int xKeyGrid;
96 static int yKeyGrid;
98 static int xKeyGridFine;
100 static int yKeyGridFine;
102 static const qreal margin;
104 static QColor background_color;
106 QHash <QString, QStringList> m_elmt_unitfolio_max;
107 QHash <QString, QStringList> m_elmt_tenfolio_max;
108 QHash <QString, QStringList> m_elmt_hundredfolio_max;
110 QHash <QString, QStringList> m_cnd_unitfolio_max;
111 QHash <QString, QStringList> m_cnd_tenfolio_max;
112 QHash <QString, QStringList> m_cnd_hundredfolio_max;
113
114 private:
115 QGraphicsLineItem *conductor_setter_;
120
121 QDomDocument xml_document_;
122
124
128 QList<Diagram::Guide> m_guides_list;
132
135
138 QUuid m_uuid = QUuid::createUuid();
139
140 // METHODS
141 protected:
142 void drawBackground(QPainter *, const QRectF &) override;
143
145 QGraphicsSceneMouseEvent *event) override;
146 void mousePressEvent (QGraphicsSceneMouseEvent *event) override;
147 void mouseMoveEvent (QGraphicsSceneMouseEvent *event) override;
148 void mouseReleaseEvent (
149 QGraphicsSceneMouseEvent *event) override;
150 void wheelEvent (QGraphicsSceneWheelEvent *event) override;
151 void keyPressEvent (QKeyEvent *event) override;
152 void keyReleaseEvent (QKeyEvent *) override;
153
154
155 public:
156 void correctTextPos(Element* elmt);
157 void restoreText(Element* elmt);
158 QUuid uuid();
159 void setEventInterface (DiagramEventInterface *event_interface);
160 void clearEventInterface();
161
162 //methods related to autonum
163 QString conductorsAutonumName() const;
164 void setConductorsAutonumName(const QString &name);
165
166 static bool clipboardMayContainDiagram();
167
168 // methods related to parent project
169 QETProject *project() const;
170 int folioIndex() const;
171 void showMe() {emit showDiagram(this);}
172 bool isReadOnly() const;
173
174 // methods related to conductor creation
175 void setConductor(bool);
176 void setConductorStart (QPointF);
177 void setConductorStop(QPointF);
178 QList < QSet <Conductor *> > potentials();
179
180 // methods related to XML import/export
181 QDomDocument toXml(bool wholeContent = true, bool is_copy_command = false);
182 bool initFromXml(QDomElement &,
183 QPointF = QPointF(),
184 bool = true,
185 DiagramContent * = nullptr);
186 bool fromXml(QDomDocument &,
187 QPointF = QPointF(),
188 bool = true,
189 DiagramContent * = nullptr);
190 bool fromXml(QDomElement &,
191 QPointF = QPointF(),
192 bool = true,
193 DiagramContent * = nullptr);
194 void folioSequentialsToXml(QHash<QString,
195 QStringList>*,
196 QDomElement *,
197 const QString&,
198 const QString&,
199 QDomDocument *);
200 void folioSequentialsFromXml(const QDomElement&,
201 QHash<QString,
202 QStringList>*,
203 const QString&,
204 const QString&,
205 const QString&,
206 const QString&);
207
208 void refreshContents();
209
210 // methods related to graphics items addition/removal on the diagram
211 virtual void addItem (QGraphicsItem *item);
212 virtual void removeItem (QGraphicsItem *item);
213
214 // methods related to graphics options
216 void setDisplayGrid(bool);
217 bool displayGrid();
218 void setDisplayGuides(bool);
219 bool displayGuides();
220 void updateProjectGuides(const QList<GuideProperties> &guides);
221 void setUseBorder(bool);
222 bool useBorder();
225 DiagramPosition convertPosition(const QPointF &);
226 static QPointF snapToGrid(const QPointF &p);
227
228 bool drawTerminals() const;
229 void setDrawTerminals(bool);
230 bool drawTerminalNames() const;
231 void setDrawTerminalNames(bool);
232 bool drawColoredConductors() const;
233 void setDrawColoredConductors(bool);
234
235 QString title() const;
236 bool toPaintDevice(QPaintDevice &, int = -1, int = -1,
237 Qt::AspectRatioMode = Qt::KeepAspectRatio);
238 QSize imageSize() const;
239
240 bool isEmpty() const;
241
242 QList<Element *> elements() const;
243 QList<Conductor *> conductors() const;
244 QSet<Conductor *> selectedConductors() const;
245 DiagramContent content() const;
246 bool canRotateSelection() const;
249 bool usesElement(const ElementsLocation &);
250 bool usesTitleBlockTemplate(const QString &);
251
252 QUndoStack &undoStack();
254
255 //methods related to element label Update Policy
256 void freezeElements(bool freeze);
257 void unfreezeElements();
258 void setFreezeNewElements(bool);
259 bool freezeNewElements();
260
261 //methods related to conductor label Update Policy
262 void freezeConductors(bool freeze);
263 void setFreezeNewConductors(bool);
264 bool freezeNewConductors();
265
266 //methods related to insertion and loading of folio sequential
267 void insertFolioSeqHash (QHash<QString, QStringList> *hash,
268 const QString& title,
269 const QString& seq,
271 void loadFolioSeqHash (QHash<QString, QStringList> *hash,
272 const QString& title, const QString& seq,
274 void changeZValue(QET::DepthOption option);
275
276 public slots:
277 void adjustSceneRect ();
278 void titleChanged();
279 void titleBlockTemplateChanged(const QString &);
280 void titleBlockTemplateRemoved(const QString &,
281 const QString & = QString());
282 void setTitleBlockTemplate(const QString &);
283 void loadElmtFolioSeq();
284 void loadCndFolioSeq();
285
286 // methods related to graphics items selection
287 void selectAll();
288 void deselectAll();
289 void invertSelection();
290
291 signals:
293 void usedTitleBlockTemplateChanged(const QString &);
295
299
302};
304
305
312inline void Diagram::setConductor(bool adding) {
313 if (adding) {
315 } else {
317 }
318}
319
326inline void Diagram::setConductorStart(QPointF start) {
327 conductor_setter_ -> setLine(QLineF(start, conductor_setter_ -> line().p2()));
328}
329
336inline void Diagram::setConductorStop(QPointF end) {
337 conductor_setter_ -> setLine(QLineF(conductor_setter_ -> line().p1(), end));
338}
339
345inline void Diagram::setDisplayGrid(bool dg) {
346 draw_grid_ = dg;
347}
348
353inline bool Diagram::displayGrid() {
354 return(draw_grid_);
355}
356
357inline void Diagram::setDisplayGuides(bool dg) {
358 if (draw_guides_ != dg) {
359 draw_guides_ = dg;
360 update();
361 }
362}
363
365 return(draw_guides_);
366}
367
375inline void Diagram::setUseBorder(bool ub) {
376 use_border_ = ub;
377}
378
384inline bool Diagram::useBorder() {
385 return(use_border_);
386}
387
396 border_and_titleblock.displayBorder(!(bo & EmptyBorder));
397 border_and_titleblock.displayColumns(bo & Columns);
398 border_and_titleblock.displayTitleBlock(bo & TitleBlock);
399}
400
407 BorderOptions options = EmptyBorder;
408 if (border_and_titleblock.titleBlockIsDisplayed())
409 options = (BorderOptions)(options|TitleBlock);
410 if (border_and_titleblock.columnsAreDisplayed())
411 options = (BorderOptions)(options|Columns);
412 return(options);
413}
414
420 return(*qgi_manager_);
421}
422
427inline bool Diagram::drawTerminals() const
428{
429 return(draw_terminals_);
430}
431
436inline bool Diagram::drawTerminalNames() const
437{
438 return(draw_terminal_names_);
439}
440
446{
448}
449
450#endif
The BorderTitleBlock class This class represents the border and the titleblock which frame a particul...
Definition bordertitleblock.h:38
Definition conductor.h:44
The ConductorProperties class This class represents the functional properties of a particular conduct...
Definition conductorproperties.h:68
Definition diagramcontent.h:49
The DiagramEventInterface class isRunning() return true if action is running (do something)....
Definition diagrameventinterface.h:47
The Diagram class This class represents an electric diagram. It manages its various child elements,...
Definition diagram.h:54
DiagramPosition convertPosition(const QPointF &)
Diagram::convertPosition.
Definition diagram.cpp:2405
void setDisplayGrid(bool)
Diagram::setDisplayGrid Set whether the diagram grid should be drawn.
Definition diagram.h:345
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 auto...
Definition diagram.cpp:1928
bool draw_guides_
Definition diagram.h:127
bool draw_colored_conductors_
Definition diagram.h:131
ElementTextsMover m_element_texts_mover
Definition diagram.h:117
void unfreezeElements()
Diagram::unfreezeElements Unfreeze every existent element label.
Definition diagram.cpp:2289
static bool clipboardMayContainDiagram()
Diagram::clipboardMayContainDiagram.
Definition diagram.cpp:2510
QSize imageSize() const
Diagram::imageSize Allows you to know the dimensions that the image generated by the toImage() method...
Definition diagram.cpp:782
QDomDocument xml_document_
Definition diagram.h:121
virtual void removeItem(QGraphicsItem *item)
Diagram::removeItem Reimplemented from QGraphicsScene::removeItem(QGraphicsItem *item) Do some specif...
Definition diagram.cpp:1740
void freezeElements(bool freeze)
Diagram::freezeElements Freeze every existent element label.
Definition diagram.cpp:2279
void drawBackground(QPainter *, const QRectF &) override
Diagram::drawBackground Draw the background of the diagram, ie the grid.
Definition diagram.cpp:244
bool freezeNewConductors()
Diagram::freezeNewConductors.
Definition diagram.cpp:2335
ElementsMover m_elements_mover
Definition diagram.h:116
void freezeConductors(bool freeze)
Diagram::freezeConductors Freeze every existent conductor label.
Definition diagram.cpp:2317
friend QETProject
Definition diagram.h:56
bool displayGrid()
Diagram::displayGrid.
Definition diagram.h:353
void setConductorStop(QPointF)
Diagram::setConductorStop Set the end point of the conductor setter.
Definition diagram.h:336
QSet< Conductor * > selectedConductors() const
Diagram::selectedConductors.
Definition diagram.cpp:2494
void keyPressEvent(QKeyEvent *event) override
Diagram::keyPressEvent This event is managed by diagram event interface if any. Else move selected el...
Definition diagram.cpp:446
QHash< QString, QStringList > m_elmt_unitfolio_max
Hash containing max values for folio sequential autonums in this diagram.
Definition diagram.h:106
void keyReleaseEvent(QKeyEvent *) override
Diagram::keyReleaseEvent This event is managed by diagram event interface if any. Else move selected ...
Definition diagram.cpp:608
void setFreezeNewConductors(bool)
Diagram::setfreezeNewConductors Set new conductor label to be frozen.
Definition diagram.cpp:2327
DiagramEventInterface * m_event_interface
Definition diagram.h:134
void setBorderOptions(BorderOptions)
Diagram::setBorderOptions Set the rendering options for the diagram border (including rows/columns he...
Definition diagram.h:395
void setDrawTerminals(bool)
Diagram::setDrawTerminals Defines whether or not to display the terminals.
Definition diagram.cpp:2453
bool draw_grid_
Definition diagram.h:125
void setDrawColoredConductors(bool)
Diagram::setDrawColoredConductors Defines whether or not to respect the colors of the conductors....
Definition diagram.cpp:2485
void folioSequentialsToXml(QHash< QString, QStringList > *, QDomElement *, const QString &, const QString &, QDomDocument *)
Diagram::folioSequentialsToXml Add folio sequential to QDomElement.
Definition diagram.cpp:1149
void titleChanged()
Diagram::titleChanged emit(diagramTitleChanged(this, title));.
Definition diagram.cpp:1771
void diagramActivated()
bool useBorder()
Diagram::useBorder.
Definition diagram.h:384
void showDiagram(Diagram *)
BorderOptions borderOptions()
Diagram::borderOptions.
Definition diagram.h:406
bool canRotateSelection() const
Diagram::canRotateSelection.
Definition diagram.cpp:2579
bool drawTerminalNames() const
Diagram::drawTerminalNames.
Definition diagram.h:436
void mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event) override
Diagram::mouseDoubleClickEvent This event is managed by diagram event interface if any.
Definition diagram.cpp:350
bool m_freeze_new_conductors_
Definition diagram.h:137
bool drawTerminals() const
Diagram::drawTerminals.
Definition diagram.h:427
void setDisplayGuides(bool)
Definition diagram.h:357
void folioSequentialsFromXml(const QDomElement &, QHash< QString, QStringList > *, const QString &, const QString &, const QString &, const QString &)
Diagram::folioSequentialsFromXml Load folio sequential from QDomElement.
Definition diagram.cpp:1644
void clearEventInterface()
Diagram::clearEventInterface Clear the current event interface.
Definition diagram.cpp:681
Diagram(QETProject *project)
Diagram::Diagram Constructor.
Definition diagram.cpp:109
void loadElmtFolioSeq()
Diagram::loadElmtFolioSeq This class loads all folio sequential variables related to the current auto...
Definition diagram.cpp:2025
bool toPaintDevice(QPaintDevice &, int=-1, int=-1, Qt::AspectRatioMode=Qt::KeepAspectRatio)
Definition diagram.cpp:711
void restoreText(Element *elmt)
Diagram::restoreText After correcting the elementtext position during copying the Text has to be rest...
Definition diagram.cpp:2707
bool fromXml(QDomDocument &, QPointF=QPointF(), bool=true, DiagramContent *=nullptr)
Diagram::fromXml Imports the described schema into an XML document. If a position is specified,...
Definition diagram.cpp:1202
void deselectAll()
Diagram::deselectAll Deselects all selected objects.
Definition diagram.cpp:1853
void setDrawTerminalNames(bool)
Diagram::setDrawTerminalNames Defines whether or not to display the terminal names/labels.
Definition diagram.cpp:2467
void setUseBorder(bool)
Diagram::setUseBorder Set whether the diagram border (including rows/columns headers and the title bl...
Definition diagram.h:375
QETProject * m_project
Definition diagram.h:119
void invertSelection()
Diagram::invertSelection Reverses the selection state of all schema objects Inverse l'etat de selecti...
Definition diagram.cpp:1865
NumerotationType
Represents available option of Numerotation type.
Definition diagram.h:84
@ Conductors
Definition diagram.h:84
bool drawColoredConductors() const
Diagram::drawColoredConductors.
Definition diagram.h:445
bool usesTitleBlockTemplate(const QString &)
Diagram::usesTitleBlockTemplate.
Definition diagram.cpp:2271
static int xKeyGrid
Key grid x step size.
Definition diagram.h:94
BorderOptions
The BorderOptions enum Represents available options when rendering a particular diagram: EmptyBorder:...
Definition diagram.h:82
@ TitleBlock
Definition diagram.h:82
@ EmptyBorder
Definition diagram.h:82
@ Columns
Definition diagram.h:82
ConductorProperties defaultConductorProperties
Default properties for new conductors.
Definition diagram.h:86
void adjustSceneRect()
Diagram::adjustSceneRect Recalcul and adjust the size of the scene.
Definition diagram.cpp:2344
QList< QSet< Conductor * > > potentials()
Diagram::potential.
Definition diagram.cpp:823
bool draw_terminal_names_
Definition diagram.h:130
QList< Conductor * > conductors() const
Diagram::conductors.
Definition diagram.cpp:2216
bool initFromXml(QDomElement &, QPointF=QPointF(), bool=true, DiagramContent *=nullptr)
Diagram::initFromXml Imports the described schema in an XML element. This method delegates its work t...
Definition diagram.cpp:1240
void updateProjectGuides(const QList< GuideProperties > &guides)
Diagram::updateProjectGuides Aktualisiert die internen Hilfslinien dieses Schaltplans basierend auf d...
Definition diagram.cpp:2760
void mousePressEvent(QGraphicsSceneMouseEvent *event) override
Diagram::mousePressEvent This event is managed by diagram event interface if any.
Definition diagram.cpp:369
int folioIndex() const
Diagram::folioIndex.
Definition diagram.cpp:2535
static int xKeyGridFine
Key grid fine x step size.
Definition diagram.h:98
void changeZValue(QET::DepthOption option)
Diagram::changeZValue Change the Z value of the current selected item, according to option.
Definition diagram.cpp:1952
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 relat...
Definition diagram.cpp:1901
void setEventInterface(DiagramEventInterface *event_interface)
Diagram::setEventInterface Set event_interface has current interface. Diagram become the ownership of...
Definition diagram.cpp:661
ExportProperties applyProperties(const ExportProperties &)
Diagram::applyProperties This method allows you to apply new rendering options while accessing the cu...
Definition diagram.cpp:2364
qreal diagram_qet_version_
Definition diagram.h:123
QString m_conductors_autonum_name
Definition diagram.h:133
QString conductorsAutonumName() const
Diagram::conductorsAutonumName.
Definition diagram.cpp:694
void wheelEvent(QGraphicsSceneWheelEvent *event) override
Diagram::wheelEvent This event is managed by diagram event interface if any.
Definition diagram.cpp:426
QHash< QString, QStringList > m_cnd_tenfolio_max
Definition diagram.h:111
QETProject * project() const
Diagram::project.
Definition diagram.cpp:2525
void titleBlockTemplateChanged(const QString &)
Diagram::titleBlockTemplateChanged This slot may be used to inform the diagram object that the given ...
Definition diagram.cpp:1782
static int xGrid
abscissa grid step size
Definition diagram.h:90
void loadCndFolioSeq()
Diagram::loadCndFolioSeq This class loads all conductor folio sequential variables related to the cur...
Definition diagram.cpp:2111
void findElementRequired(const ElementsLocation &)
QHash< QString, QStringList > m_cnd_unitfolio_max
Hash containing max values for folio sequential autonums in this diagram.
Definition diagram.h:110
bool freezeNewElements()
Diagram::freezeNewElements.
Definition diagram.cpp:2308
DiagramContent content() const
Diagram::content.
Definition diagram.cpp:2558
void setFreezeNewElements(bool)
Diagram::freezeNewElements Set new element label to be frozen.
Definition diagram.cpp:2300
QGraphicsLineItem * conductor_setter_
Definition diagram.h:115
QDomDocument toXml(bool wholeContent=true, bool is_copy_command=false)
Diagram::toXml Exports all or part of the schema.
Definition diagram.cpp:857
QGIManager * qgi_manager_
Definition diagram.h:118
QUndoStack & undoStack()
Definition diagram.cpp:2751
QUuid m_uuid
Definition diagram.h:138
void titleBlockTemplateRemoved(const QString &, const QString &=QString())
Diagram::titleBlockTemplateRemoved This slot has to be be used to inform this class that the given ti...
Definition diagram.cpp:1799
QHash< QString, QStringList > m_elmt_hundredfolio_max
Definition diagram.h:108
bool m_freeze_new_elements
Definition diagram.h:136
bool isReadOnly() const
Diagram::isReadOnly.
Definition diagram.cpp:2546
void diagramTitleChanged(Diagram *)
void correctTextPos(Element *elmt)
Diagram::correctTextPos set insertion position to the original insertion position of the element text...
Definition diagram.cpp:2609
QUuid uuid()
Diagram::uuid.
Definition diagram.cpp:648
bool draw_terminals_
Definition diagram.h:129
static int yKeyGrid
Key grid y step size.
Definition diagram.h:96
static int yGrid
ordinate grid step size
Definition diagram.h:92
ElementsMover & elementsMover()
Diagram::elementsMover.
Definition diagram.cpp:2230
QGIManager & qgiManager()
Diagram::qgiManager.
Definition diagram.h:419
virtual void addItem(QGraphicsItem *item)
Diagram::addItem Réimplemented from QGraphicsScene::addItem(QGraphicsItem *item) Do some specific ope...
Definition diagram.cpp:1708
static QPointF snapToGrid(const QPointF &p)
Diagram::snapToGrid Return a nearest snap point of p.
Definition diagram.cpp:2422
void setConductorStart(QPointF)
Diagram::setConductorStart Set the start point of the conductor setter.
Definition diagram.h:326
BorderTitleBlock border_and_titleblock
Diagram dimensions and title block.
Definition diagram.h:88
bool isEmpty() const
Diagram::isEmpty An empty schema contains no element, conductor, or text field.
Definition diagram.cpp:812
bool displayGuides()
Definition diagram.h:364
static QColor background_color
background color of diagram
Definition diagram.h:104
friend DiagramFolioList
Definition diagram.h:55
void setConductorsAutonumName(const QString &name)
Diagram::setConductorsAutonumName.
Definition diagram.cpp:703
QHash< QString, QStringList > m_cnd_hundredfolio_max
Definition diagram.h:112
ElementTextsMover & elementTextsMover()
Diagram::elementTextsMover.
Definition diagram.cpp:2239
void setConductor(bool)
Diagram::setConductor Display or hide the conductor setter, i.e. a dashed conductor stub which appear...
Definition diagram.h:312
bool use_border_
Definition diagram.h:126
void mouseMoveEvent(QGraphicsSceneMouseEvent *event) override
Diagram::mouseMoveEvent This event is managed by diagram event interface if any.
Definition diagram.cpp:388
QHash< QString, QStringList > m_elmt_tenfolio_max
Definition diagram.h:107
void refreshContents()
Diagram::refreshContents refresh all content of diagram.
Definition diagram.cpp:1679
void usedTitleBlockTemplateChanged(const QString &)
QString title() const
Diagram::title.
Definition diagram.cpp:2193
QList< Element * > elements() const
Diagram::elements.
Definition diagram.cpp:2202
Diagram(const Diagram &diagram)
void showMe()
Definition diagram.h:171
~Diagram() override
Diagram::~Diagram Destructor.
Definition diagram.cpp:201
void mouseReleaseEvent(QGraphicsSceneMouseEvent *event) override
Diagram::mouseReleaseEvent This event is managed by diagram event interface if any.
Definition diagram.cpp:407
void setTitleBlockTemplate(const QString &)
Diagram::setTitleBlockTemplate Set the template to use to render the title block of this diagram.
Definition diagram.cpp:1816
QList< Diagram::Guide > m_guides_list
Definition diagram.h:128
static int yKeyGridFine
Key grid fine y step size.
Definition diagram.h:100
static const qreal margin
margin around the diagram
Definition diagram.h:102
void diagramInformationChanged()
void selectAll()
Diagram::selectAll Select all schema objects.
Definition diagram.cpp:1838
bool usesElement(const ElementsLocation &)
Diagram::usesElement Used to find out if an element is used on a schema.
Definition diagram.cpp:2255
Definition diagramimageitem.h:40
Definition diagramposition.h:28
Definition diagramtextitem.h:34
Definition element.h:44
Definition elementtextsmover.h:36
The ElementsLocation class This class represents the location, the location of an element or of a cat...
Definition elementslocation.h:47
Definition elementsmover.h:41
Definition exportproperties.h:27
Definition numerotationcontext.h:31
Definition qetproject.h:77
Definition qgimanager.h:30
Q_DECLARE_METATYPE(NamesList)
DepthOption
List the various kind of changes for the zValue.
Definition qet.h:42
Definition diagram.h:68
Orientation
Definition diagram.h:69
@ Horizontal
Definition diagram.h:69
@ Vertical
Definition diagram.h:69
qreal position
Definition diagram.h:71
Orientation orientation
Definition diagram.h:70
QColor color
Definition diagram.h:72
Definition qetproject.h:55