umbrello/umbrello
toolbarstatearrow.cpp
Go to the documentation of this file.
void clear()
virtual void mouseMoveEvent(QGraphicsSceneMouseEvent *event)
Handles a mouse move event.
Definition: umlwidget.cpp:468
virtual void mouseMoveEvent(QGraphicsSceneMouseEvent *event)
Moves the break point being dragged.
Definition: associationwidget.cpp:3277
virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
Handles a mouse release event.
Definition: umlwidget.cpp:546
const T & at(int i) const
QList< QGraphicsLineItem * > m_selectionRect
The selection rectangle that contains the four lines of its borders.
Definition: toolbarstatearrow.h:60
virtual void mouseReleaseWidget()
Called when the release event happened on a widget.
Definition: toolbarstatearrow.cpp:115
void selectWidgets(qreal px, qreal py, qreal qx, qreal qy)
Selects all the widgets within an internally kept rectangle.
Definition: umlscene.cpp:1589
virtual void mousePressWidget()
Called when the press event happened on a widget.
Definition: toolbarstatearrow.cpp:62
QPointF scenePos() const
virtual void changeTool()
Overridden from base class to do nothing, as arrow is the default tool.
Definition: toolbarstatearrow.cpp:207
virtual void setCurrentWidget(UMLWidget *currentWidget)
Sets the widget currently in use.
Definition: toolbarstatearrow.cpp:219
virtual void mouseReleaseAssociation()
Called when the release event happened on an association.
Definition: toolbarstatearrow.cpp:106
virtual void mousePressEvent(QGraphicsSceneMouseEvent *event)
Sets the association to be selected.
Definition: associationwidget.cpp:2944
int count(const T &value) const
qreal x() const
qreal y() const
void append(const T &value)
virtual void mousePressEmpty()
Called when the press event happened on an empty space.
Definition: toolbarstate.cpp:330
virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event)
Event handler for mouse double click events.
Definition: umlwidget.cpp:593
virtual void mouseMoveWidget()
Called when the move event happened when a widget is currently available.
Definition: toolbarstatearrow.cpp:167
bool isEmpty() const
void setLine(const QLineF &line)
Qt::MouseButton button() const
virtual void mousePressEmpty()
Called when the press event happened on an empty space.
Definition: toolbarstatearrow.cpp:72
void setPen(const QPen &pen)
ToolBarStateArrow(UMLScene *umlScene)
Creates a new ToolBarStateArrow.
Definition: toolbarstatearrow.cpp:24
virtual void setCurrentWidget(UMLWidget *widget)
Sets the widget currently in use.
Definition: toolbarstate.cpp:445
virtual void mousePressAssociation()
Called when the press event happened on an association.
Definition: toolbarstatearrow.cpp:53
T takeFirst()
virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event)
Adds a break point (if left mouse button).
Definition: associationwidget.cpp:1566
virtual void mouseDoubleClickWidget()
Called when the double click event happened on a widget.
Definition: toolbarstatearrow.cpp:147
QGraphicsSceneMouseEvent * m_pMouseEvent
The mouse event currently in use.
Definition: toolbarstate.h:121
virtual void mouseMoveAssociation()
Called when the move event happened when an association is currently available.
Definition: toolbarstatearrow.cpp:157
virtual void mousePressEvent(QGraphicsSceneMouseEvent *event)
Handles a mouse press event.
Definition: umlwidget.cpp:378
void setVisible(bool visible)
virtual UMLWidget * currentWidget() const
Returns the widget currently in use.
Definition: toolbarstate.cpp:431
virtual AssociationWidget * currentAssociation() const
Returns the association currently in use.
Definition: toolbarstate.cpp:455
void addItem(QGraphicsItem *item)
virtual void mouseReleaseEmpty()
Called when the release event happened on an empty space.
Definition: toolbarstatearrow.cpp:125
void setZValue(qreal z)
virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
Displays the right mouse buttom menu if right button is pressed.
Definition: associationwidget.cpp:2974
QPointF m_startPosition
The start position of the selection rectangle.
Definition: toolbarstatearrow.h:65
virtual void mouseMoveEmpty()
Called when the move event happened when no association nor widget are currently available.
Definition: toolbarstatearrow.cpp:180
virtual void mouseDoubleClickAssociation()
Called when the double click event happened on an association.
Definition: toolbarstatearrow.cpp:138
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.