umbrello 26.03.70-1a62d36 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
21 public:
22 explicit ToolBarStateOneWidget(UMLScene *umlScene);
23 virtual ~ToolBarStateOneWidget();
24
25 virtual void cleanBeforeChange();
26
27 // FIXME: obsolete
28 virtual void mouseMove(QGraphicsSceneMouseEvent* ome);
29
30 public Q_SLOTS:
31 virtual void slotWidgetRemoved(UMLWidget* widget);
32
33 protected:
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
50 private:
51 virtual void init();
52};
53
54#endif //TOOLBARSTATEONEWIDGET_H
ToolBarStateOneWidget
Definition: toolbarstateonewidget.h:19
ToolBarStateOneWidget::setWidget
void setWidget(UMLWidget *firstObject)
Definition: toolbarstateonewidget.cpp:180
ToolBarStateOneWidget::widgetType
WidgetBase::WidgetType widgetType()
Definition: toolbarstateonewidget.cpp:220
ToolBarStateOneWidget::cleanBeforeChange
virtual void cleanBeforeChange()
Definition: toolbarstateonewidget.cpp:61
ToolBarStateOneWidget::init
virtual void init()
Definition: toolbarstateonewidget.cpp:241
ToolBarStateOneWidget::slotWidgetRemoved
virtual void slotWidgetRemoved(UMLWidget *widget)
Definition: toolbarstateonewidget.cpp:82
ToolBarStateOneWidget::mouseReleaseWidget
virtual void mouseReleaseWidget()
Definition: toolbarstateonewidget.cpp:122
ToolBarStateOneWidget::mouseReleaseEmpty
virtual void mouseReleaseEmpty()
Definition: toolbarstateonewidget.cpp:169
ToolBarStateOneWidget::setCurrentElement
virtual void setCurrentElement()
Definition: toolbarstateonewidget.cpp:94
ToolBarStateOneWidget::m_isObjectWidgetLine
bool m_isObjectWidgetLine
Definition: toolbarstateonewidget.h:48
ToolBarStateOneWidget::mouseMove
virtual void mouseMove(QGraphicsSceneMouseEvent *ome)
Definition: toolbarstateonewidget.cpp:71
ToolBarStateOneWidget::~ToolBarStateOneWidget
virtual ~ToolBarStateOneWidget()
Definition: toolbarstateonewidget.cpp:53
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:66
UMLWidget
The base class for graphical UML objects.
Definition: umlwidget.h:36
WidgetBase::WidgetType
WidgetType
Definition: widgetbase.h:107
toolbarstatepool.h
widgetbase.h