18 #ifndef ELEMENT_VIEW_H 19 #define ELEMENT_VIEW_H 20 #include <QGraphicsView> QRectF viewedSceneRect() const
ElementScene * scene() const
void wheelEvent(QWheelEvent *) override
ElementView::wheelEvent.
void setScene(ElementScene *)
void modeChanged()
Signal emitted after the mode changed.
void mouseReleaseEvent(QMouseEvent *) override
ElementView::mouseReleaseEvent Manage event release click mouse.
void setVisualisationMode()
bool gestures() const
ElementView::gestures.
void resetSceneRect()
ElementView::resetSceneRect reset le sceneRect (zone du schéma visualisée par l'ElementView) afin que...
bool gestureEvent(QGestureEvent *event)
ElementView::gestureEvent.
void adjustSceneRect()
ElementView::adjustSceneRect Adjust the scenRect, so that he include all primitives of element plus t...
~ElementView() override
Destructeur.
void mousePressEvent(QMouseEvent *) override
void getPasteArea(const QRectF &)
ElementContent pasteAreaDefined(const QRectF &)
void drawBackground(QPainter *, const QRectF &) override
ElementView(ElementScene *, QWidget *=nullptr)
QPointF start_top_left_corner_
QList< QGraphicsItem * > ElementContent
ElementContent pasteWithOffset(const QDomDocument &)
QRectF applyMovement(const QRectF &, const QPointF &)
void mouseMoveEvent(QMouseEvent *) override
ElementView::mouseMoveEvent Manage the event move mouse.
bool event(QEvent *event) override
QString to_paste_in_area_