umbrello: umbrello/umlwidgets/toolbarstateonewidget.h Source File

umbrello 2.38.2 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

toolbarstateonewidget.h
Go to the documentation of this file.
1/*
2 SPDX-License-Identifier: GPL-2.0-or-later
3 SPDX-FileCopyrightText: 2004-2014 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
4*/
5
6#ifndef TOOLBARSTATEONEWIDGET_H
7#define TOOLBARSTATEONEWIDGET_H
8
9#include "toolbarstatepool.h"
10#include "widgetbase.h"
11
18 class ToolBarStateOneWidget : public ToolBarStatePool
19{
20 Q_OBJECT
21public:
22 explicit ToolBarStateOneWidget(UMLScene *umlScene);
23 virtual ~ToolBarStateOneWidget();
24
25 virtual void cleanBeforeChange();
26
27 // FIXME: obsolete
28 virtual void mouseMove(QGraphicsSceneMouseEvent* ome);
29
30public Q_SLOTS:
31 virtual void slotWidgetRemoved(UMLWidget* widget);
32
33protected:
34 virtual void setCurrentElement();
35
36 virtual void mouseReleaseWidget();
37 virtual void mouseReleaseEmpty();
38
39 void setWidget(UMLWidget* firstObject);
40 WidgetBase::WidgetType widgetType();
41
42 UMLWidget* m_firstObject;
43
48 bool m_isObjectWidgetLine;
49
50private:
51 virtual void init();
52};
53
54#endif //TOOLBARSTATEONEWIDGET_H
ToolBarStateOneWidget
Definition: toolbarstateonewidget.h:19
ToolBarStateOneWidget::setWidget
void setWidget(UMLWidget *firstObject)
Definition: toolbarstateonewidget.cpp:181
ToolBarStateOneWidget::widgetType
WidgetBase::WidgetType widgetType()
Definition: toolbarstateonewidget.cpp:221
ToolBarStateOneWidget::cleanBeforeChange
virtual void cleanBeforeChange()
Definition: toolbarstateonewidget.cpp:62
ToolBarStateOneWidget::init
virtual void init()
Definition: toolbarstateonewidget.cpp:242
ToolBarStateOneWidget::slotWidgetRemoved
virtual void slotWidgetRemoved(UMLWidget *widget)
Definition: toolbarstateonewidget.cpp:83
ToolBarStateOneWidget::mouseReleaseWidget
virtual void mouseReleaseWidget()
Definition: toolbarstateonewidget.cpp:123
ToolBarStateOneWidget::mouseReleaseEmpty
virtual void mouseReleaseEmpty()
Definition: toolbarstateonewidget.cpp:170
ToolBarStateOneWidget::setCurrentElement
virtual void setCurrentElement()
Definition: toolbarstateonewidget.cpp:95
ToolBarStateOneWidget::m_isObjectWidgetLine
bool m_isObjectWidgetLine
Definition: toolbarstateonewidget.h:48
ToolBarStateOneWidget::mouseMove
virtual void mouseMove(QGraphicsSceneMouseEvent *ome)
Definition: toolbarstateonewidget.cpp:72
ToolBarStateOneWidget::~ToolBarStateOneWidget
virtual ~ToolBarStateOneWidget()
Definition: toolbarstateonewidget.cpp:54
ToolBarStateOneWidget::m_firstObject
UMLWidget * m_firstObject
The first object in the message.
Definition: toolbarstateonewidget.h:42
ToolBarStatePool
Definition: toolbarstatepool.h:18
UMLScene
Definition: umlscene.h:65
UMLWidget
The base class for graphical UML objects.
Definition: umlwidget.h:36
WidgetBase::WidgetType
WidgetType
Definition: widgetbase.h:107
toolbarstatepool.h
widgetbase.h