umbrello 26.03.70-f7b1fd3 Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

toolbarstatearrow.h
Go to the documentation of this file.
1/*
2 SPDX-License-Identifier: GPL-2.0-or-later
3 SPDX-FileCopyrightText: 2004-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
4*/
5
6#ifndef TOOLBARSTATEARROW_H
7#define TOOLBARSTATEARROW_H
8
9#include "toolbarstate.h"
10
11#include <QList>
12
13 class QGraphicsLineItem;
14 class UMLScene;
15
25 class ToolBarStateArrow : public ToolBarState
26{
27 Q_OBJECT
28 public:
29 explicit ToolBarStateArrow(UMLScene *umlScene);
30 virtual ~ToolBarStateArrow();
31
32 virtual void init();
33 void cleanup();
34
35 protected:
36
37 virtual void mousePressAssociation();
38 virtual void mousePressWidget();
39 virtual void mousePressEmpty();
40 virtual void mouseReleaseAssociation();
41 virtual void mouseReleaseWidget();
42 virtual void mouseReleaseEmpty();
43 virtual void mouseDoubleClickAssociation();
44 virtual void mouseDoubleClickWidget();
45 virtual void mouseMoveAssociation();
46 virtual void mouseMoveWidget();
47 virtual void mouseMoveEmpty();
48
49 virtual void setCurrentWidget(UMLWidget* currentWidget);
50
51 virtual void changeTool();
52
56 QList<QGraphicsLineItem*> m_selectionRect;
57
61 QPointF m_startPosition;
62
63};
64
65#endif //TOOLBARSTATEARROW_H
ToolBarStateArrow
Definition: toolbarstatearrow.h:26
ToolBarStateArrow::m_selectionRect
QList< QGraphicsLineItem * > m_selectionRect
Definition: toolbarstatearrow.h:56
ToolBarStateArrow::mouseDoubleClickAssociation
virtual void mouseDoubleClickAssociation()
Definition: toolbarstatearrow.cpp:138
ToolBarStateArrow::init
virtual void init()
Definition: toolbarstatearrow.cpp:36
ToolBarStateArrow::mouseReleaseWidget
virtual void mouseReleaseWidget()
Definition: toolbarstatearrow.cpp:119
ToolBarStateArrow::mouseMoveAssociation
virtual void mouseMoveAssociation()
Definition: toolbarstatearrow.cpp:157
ToolBarStateArrow::cleanup
void cleanup()
Definition: toolbarstatearrow.cpp:46
ToolBarStateArrow::mouseDoubleClickWidget
virtual void mouseDoubleClickWidget()
Definition: toolbarstatearrow.cpp:147
ToolBarStateArrow::mousePressWidget
virtual void mousePressWidget()
Definition: toolbarstatearrow.cpp:66
ToolBarStateArrow::setCurrentWidget
virtual void setCurrentWidget(UMLWidget *currentWidget)
Definition: toolbarstatearrow.cpp:219
ToolBarStateArrow::mousePressAssociation
virtual void mousePressAssociation()
Definition: toolbarstatearrow.cpp:57
ToolBarStateArrow::mouseMoveWidget
virtual void mouseMoveWidget()
Definition: toolbarstatearrow.cpp:167
ToolBarStateArrow::mouseReleaseEmpty
virtual void mouseReleaseEmpty()
Definition: toolbarstatearrow.cpp:129
ToolBarStateArrow::~ToolBarStateArrow
virtual ~ToolBarStateArrow()
Definition: toolbarstatearrow.cpp:28
ToolBarStateArrow::mouseReleaseAssociation
virtual void mouseReleaseAssociation()
Definition: toolbarstatearrow.cpp:110
ToolBarStateArrow::m_startPosition
QPointF m_startPosition
Definition: toolbarstatearrow.h:61
ToolBarStateArrow::mousePressEmpty
virtual void mousePressEmpty()
Definition: toolbarstatearrow.cpp:76
ToolBarStateArrow::changeTool
virtual void changeTool()
Definition: toolbarstatearrow.cpp:207
ToolBarStateArrow::mouseMoveEmpty
virtual void mouseMoveEmpty()
Definition: toolbarstatearrow.cpp:180
ToolBarState
Definition: toolbarstate.h:65
ToolBarState::currentWidget
virtual UMLWidget * currentWidget() const
Definition: toolbarstate.cpp:445
UMLScene
Definition: umlscene.h:66
UMLWidget
The base class for graphical UML objects.
Definition: umlwidget.h:36
toolbarstate.h