umbrello: umbrello/toolbarstatearrow.h Source File

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

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
13class QGraphicsLineItem;
14class UMLScene;
15
25 class ToolBarStateArrow : public ToolBarState
26{
27 Q_OBJECT
28public:
29 explicit ToolBarStateArrow(UMLScene *umlScene);
30 virtual ~ToolBarStateArrow();
31
32 virtual void init();
33 void cleanup();
34
35protected:
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::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
ToolBarStateArrow(UMLScene *umlScene)
Definition toolbarstatearrow.cpp:19
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::ToolBarState
ToolBarState(UMLScene *umlScene)
Definition toolbarstate.cpp:260
ToolBarState::currentWidget
virtual UMLWidget * currentWidget() const
Definition toolbarstate.cpp:445
UMLScene
Definition umlscene.h:65
UMLWidget
The base class for graphical UML objects.
Definition umlwidget.h:36
toolbarstate.h