|
QElectroTech
0.8-dev
|
Go to the documentation of this file.
18 #ifndef ELEMENT_VIEW_H
19 #define ELEMENT_VIEW_H
20 #include <QGraphicsView>
void pasteInArea()
Definition: elementview.cpp:221
void mouseReleaseEvent(QMouseEvent *) override
ElementView::mouseReleaseEvent Manage event release click mouse.
Definition: elementview.cpp:390
QList< QGraphicsItem * > ElementContent
Definition: elementcontent.h:21
Definition: elementview.h:27
ElementScene * m_scene
Definition: elementview.h:86
QPointF start_top_left_corner_
Definition: elementview.h:89
bool gestureEvent(QGestureEvent *event)
ElementView::gestureEvent.
Definition: elementview.cpp:447
void mousePressEvent(QMouseEvent *) override
Definition: elementview.cpp:358
void zoomIn()
Definition: elementview.cpp:100
void setSelectionMode()
Definition: elementview.cpp:91
void mouseMoveEvent(QMouseEvent *) override
ElementView::mouseMoveEvent Manage the event move mouse.
Definition: elementview.cpp:372
ElementContent pasteAreaDefined(const QRectF &)
Definition: elementview.cpp:274
void zoomOutSlowly()
Definition: elementview.cpp:123
~ElementView() override
Destructeur.
Definition: elementview.cpp:44
void paste()
Definition: elementview.cpp:197
ElementView(ElementScene *, QWidget *=nullptr)
Definition: elementview.cpp:27
bool gestures() const
ElementView::gestures.
Definition: elementview.cpp:403
void adjustSceneRect()
ElementView::adjustSceneRect Adjust the scenRect, so that he include all primitives of element plus t...
Definition: elementview.cpp:151
virtual void setGrid(int, int)
ElementScene::setGrid.
Definition: elementscene.cpp:381
void zoomReset()
Definition: elementview.cpp:140
QRectF applyMovement(const QRectF &, const QPointF &)
ElementView::applyMovement Applique le decalage offset dans le sens movement au rectangle start.
Definition: elementview.cpp:550
void setScene(ElementScene *)
Definition: elementview.cpp:74
int offset_paste_count_
Definition: elementview.h:88
void modeChanged()
Signal emitted after the mode changed.
QRectF viewedSceneRect() const
Definition: elementview.cpp:55
static QPointF pasteOffset()
Definition: qetelementeditor.cpp:1520
void setVisualisationMode()
Definition: elementview.cpp:82
void cut()
Definition: elementview.cpp:171
QPointF reference_view_
Definition: elementview.h:90
void zoomFit()
Definition: elementview.cpp:132
QString to_paste_in_area_
Definition: elementview.h:87
void copy()
Definition: elementview.cpp:181
void wheelEvent(QWheelEvent *) override
ElementView::wheelEvent.
Definition: elementview.cpp:414
friend class PastePartsCommand
Definition: elementview.h:29
void zoomOut()
Definition: elementview.cpp:108
bool event(QEvent *event) override
Definition: elementview.cpp:430
ElementContent pasteWithOffset(const QDomDocument &)
Definition: elementview.cpp:309
ElementScene * scene() const
Definition: elementview.cpp:48
ElementScene * m_scene
Element editor/view/scene the command should take place on.
Definition: editorcommands.h:57
ElementView(const ElementView &)
The ElementScene class This class is the canvas allowing the visual edition of an electrial element....
Definition: elementscene.h:40
void zoomInSlowly()
Definition: elementview.cpp:116
void resetSceneRect()
ElementView::resetSceneRect reset le sceneRect (zone du schéma visualisée par l'ElementView) afin que...
Definition: elementview.cpp:163
The PastePartsCommand class Undo command for paste element primitive in an element editor.
Definition: pastepartscommand.h:31
void getPasteArea(const QRectF &)
Definition: elementview.cpp:257
void drawBackground(QPainter *, const QRectF &) override
Definition: elementview.cpp:468