20#include <QGraphicsView>
The ElementScene class This class is the canvas allowing the visual edition of an electrical element....
Definition elementscene.h:46
Definition elementview.h:27
void mouseMoveEvent(QMouseEvent *) override
ElementView::mouseMoveEvent Manage the event move mouse.
Definition elementview.cpp:398
void zoomInSlowly()
Definition elementview.cpp:124
ElementScene * m_scene
Definition elementview.h:86
QString to_paste_in_area_
Definition elementview.h:87
void adjustSceneRect()
ElementView::adjustSceneRect Adjust the scenRect, so that he include all primitives of element plus t...
Definition elementview.cpp:163
ElementView(const ElementView &)
void zoomOutSlowly()
Definition elementview.cpp:132
void setVisualisationMode()
Definition elementview.cpp:86
void zoomFit()
Definition elementview.cpp:142
int offset_paste_count_
Definition elementview.h:88
void mousePressEvent(QMouseEvent *) override
Definition elementview.cpp:376
void drawBackground(QPainter *, const QRectF &) override
Definition elementview.cpp:511
void modeChanged()
Signal emitted after the mode changed.
bool gestureEvent(QGestureEvent *event)
ElementView::gestureEvent.
Definition elementview.cpp:490
QPointF start_top_left_corner_
Definition elementview.h:89
bool gestures() const
ElementView::gestures.
Definition elementview.cpp:446
void wheelEvent(QWheelEvent *) override
ElementView::wheelEvent.
Definition elementview.cpp:457
void mouseReleaseEvent(QMouseEvent *) override
ElementView::mouseReleaseEvent Manage event release click mouse.
Definition elementview.cpp:424
void setScene(ElementScene *)
Definition elementview.cpp:78
bool event(QEvent *event) override
Definition elementview.cpp:473
ElementContent pasteAreaDefined(const QRectF &)
Definition elementview.cpp:292
void cut()
Definition elementview.cpp:185
void zoomIn()
Definition elementview.cpp:106
QPointF reference_view_
Definition elementview.h:90
void resetSceneRect()
ElementView::resetSceneRect reset le sceneRect (zone du schéma visualisée par l'ElementView) afin que...
Definition elementview.cpp:176
ElementScene * scene() const
Definition elementview.cpp:50
void getPasteArea(const QRectF &)
Definition elementview.cpp:275
QRectF viewedSceneRect() const
Definition elementview.cpp:58
ElementContent pasteWithOffset(const QDomDocument &)
Definition elementview.cpp:327
void paste()
Definition elementview.cpp:213
QRectF applyMovement(const QRectF &, const QPointF &)
ElementView::applyMovement Applique le decalage offset dans le sens movement au rectangle start.
Definition elementview.cpp:593
void copy()
Definition elementview.cpp:196
void zoomReset()
Definition elementview.cpp:151
void pasteInArea()
Definition elementview.cpp:238
void zoomOut()
Definition elementview.cpp:115
~ElementView() override
Destructeur.
Definition elementview.cpp:45
void setSelectionMode()
Definition elementview.cpp:96
The PastePartsCommand class Undo command for paste element primitive in an element editor.
Definition pastepartscommand.h:31
QList< QGraphicsItem * > ElementContent
Definition elementcontent.h:30