Scenario::ScenarioView Class Referencefinal
Inheritance diagram for Scenario::ScenarioView:
Public Member Functions | |
ScenarioView (QGraphicsItem *parent) | |
void | init (ScenarioPresenter *p) |
void | paint_impl (QPainter *painter) const override |
void | setSelectionArea (const QRectF &rect) |
void | drawDragLine (QPointF, QPointF, const QString &) |
void | stopDrawDragLine () |
void | lock () |
void | unlock () |
void | pressedAsked (const QPointF &p) |
void | movedAsked (const QPointF &p) |
void | setSnapLine (std::optional< double >) |
Public Member Functions inherited from Process::LayerView | |
LayerView (QGraphicsItem *parent) | |
QRectF | boundingRect () const final override |
void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) final override |
void | setHeight (qreal height) noexcept |
qreal | height () const noexcept |
void | setWidth (qreal width) noexcept |
qreal | width () const noexcept |
virtual QPixmap | pixmap () noexcept |
void | dragEnterEvent (QGraphicsSceneDragDropEvent *event) override |
void | dragLeaveEvent (QGraphicsSceneDragDropEvent *event) override |
void | dropEvent (QGraphicsSceneDragDropEvent *event) override |
void | clearPressed () |
void | escPressed () |
void | pressed (QPointF arg_1) |
void | released (QPointF arg_1) |
void | moved (QPointF arg_1) |
void | doubleClicked (QPointF arg_1) |
void | askContextMenu (const QPoint &arg_1, const QPointF &arg_2) |
void | dropReceived (const QPointF &pos, const QMimeData &arg_2) |
void | presetDropReceived (const QPointF &pos, const QMimeData &arg_2) |
void | keyPressed (int arg_1) |
void | keyReleased (int arg_1) |
void | dragEnter (const QPointF &pos, const QMimeData &arg_2) |
void | dragMove (const QPointF &pos, const QMimeData &arg_2) |
void | dragLeave (const QPointF &pos, const QMimeData &arg_2) |
Protected Member Functions | |
void | mousePressEvent (QGraphicsSceneMouseEvent *event) override |
void | mouseMoveEvent (QGraphicsSceneMouseEvent *event) override |
void | mouseReleaseEvent (QGraphicsSceneMouseEvent *event) override |
void | mouseDoubleClickEvent (QGraphicsSceneMouseEvent *event) override |
void | keyPressEvent (QKeyEvent *event) override |
void | keyReleaseEvent (QKeyEvent *event) override |
void | dragEnterEvent (QGraphicsSceneDragDropEvent *event) override |
void | dragMoveEvent (QGraphicsSceneDragDropEvent *event) override |
void | dragLeaveEvent (QGraphicsSceneDragDropEvent *event) override |
void | dropEvent (QGraphicsSceneDragDropEvent *event) override |
Protected Member Functions inherited from Process::LayerView | |
virtual void | heightChanged (qreal) |
virtual void | widthChanged (qreal) |
void | hoverEnterEvent (QGraphicsSceneHoverEvent *event) override |
void | hoverLeaveEvent (QGraphicsSceneHoverEvent *event) override |
void | mousePressEvent (QGraphicsSceneMouseEvent *event) override |
void | mouseMoveEvent (QGraphicsSceneMouseEvent *event) override |
void | mouseReleaseEvent (QGraphicsSceneMouseEvent *event) override |
void | contextMenuEvent (QGraphicsSceneContextMenuEvent *event) override |
The documentation for this class was generated from the following files:
- ScenarioView.hpp
- ScenarioView.cpp