umbrello: umbrello/toolbarstateother.h Source File

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

toolbarstateother.h
Go to the documentation of this file.
1 /***************************************************************************
2 * This program is free software; you can redistribute it and/or modify *
3 * it under the terms of the GNU General Public License as published by *
4 * the Free Software Foundation; either version 2 of the License, or *
5 * (at your option) any later version. *
6 * *
7 * copyright (C) 2004-2020 *
8 * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
9 ***************************************************************************/
10
11 #ifndef TOOLBARSTATEOTHER_H
12 #define TOOLBARSTATEOTHER_H
13
14 #include "toolbarstatepool.h"
15 #include "umlobject.h"
16
25 class ToolBarStateOther : public ToolBarStatePool
26 {
27 Q_OBJECT
28 public:
29 explicit ToolBarStateOther(UMLScene *umlScene);
30 virtual ~ToolBarStateOther();
31
32 private:
33 virtual void setCurrentElement();
34
35 virtual void mouseReleaseEmpty();
36
37 UMLObject::ObjectType getObjectType();
38
39 bool newWidget();
40
41 };
42
43 #endif //TOOLBARSTATEOTHER_H
notewidget.h
UMLScene::resizeSceneToItems
void resizeSceneToItems()
Definition: umlscene.cpp:3675
WorkToolBar::tbb_Accept_Time_Event
@ tbb_Accept_Time_Event
Definition: worktoolbar.h:82
UMLObject::ObjectType
ObjectType
Definition: umlobject.h:80
WorkToolBar::tbb_Entity
@ tbb_Entity
Definition: worktoolbar.h:95
ObjectNodeWidget::Data
@ Data
Definition: objectnodewidget.h:36
pinwidget.h
statewidget.h
ObjectNodeWidget
A graphical version of a UML Activity.
Definition: objectnodewidget.h:29
umlview.h
WorkToolBar::tbb_Component
@ tbb_Component
Definition: worktoolbar.h:97
activitywidget.h
UMLWidget
The base class for graphical UML objects.
Definition: umlwidget.h:41
StateWidget::ShallowHistory
@ ShallowHistory
Definition: statewidget.h:53
UMLObject::ot_Artifact
@ ot_Artifact
Definition: umlobject.h:97
ActivityWidget::Final
@ Final
Definition: activitywidget.h:43
FloatingTextWidget::showChangeTextDialog
void showChangeTextDialog()
Definition: floatingtextwidget.cpp:207
Object_Factory::createUMLObject
UMLObject * createUMLObject(UMLObject::ObjectType type, const QString &n, UMLPackage *parentPkg, bool solicitNewName)
Definition: object_factory.cpp:203
ObjectNodeWidget::askForObjectNodeType
void askForObjectNodeType(UMLWidget *&targetWidget)
Definition: objectnodewidget.cpp:304
StateWidget
A graphical version of a UML State.
Definition: statewidget.h:39
ActivityWidget
A graphical version of a UML Activity.
Definition: activitywidget.h:34
WorkToolBar::tbb_Object
@ tbb_Object
Definition: worktoolbar.h:100
UMLObject::ot_Class
@ ot_Class
Definition: umlobject.h:89
RegionWidget
Definition: regionwidget.h:20
UMLObject::ot_Entity
@ ot_Entity
Definition: umlobject.h:101
ToolBarStateOther::getObjectType
UMLObject::ObjectType getObjectType()
Definition: toolbarstateother.cpp:95
ToolBarStateOther::newWidget
bool newWidget()
Definition: toolbarstateother.cpp:165
ToolBarStatePool
Definition: toolbarstatepool.h:23
WorkToolBar::tbb_Enum
@ tbb_Enum
Definition: worktoolbar.h:94
ToolBarState::m_pUMLScene
UMLScene * m_pUMLScene
The UMLScene.
Definition: toolbarstate.h:124
Dialog_Utils::askNameForWidget
void askNameForWidget(UMLWidget *&targetWidget, const QString &dialogTitle, const QString &dialogPrompt, const QString &defaultName)
Definition: dialog_utils.cpp:74
WorkToolBar::tbb_Text
@ tbb_Text
Definition: worktoolbar.h:86
object_factory.h
UMLObject::ot_Interface
@ ot_Interface
Definition: umlobject.h:86
SignalWidget::Accept
@ Accept
Definition: signalwidget.h:36
WorkToolBar::tbb_PrePostCondition
@ tbb_PrePostCondition
Definition: worktoolbar.h:122
ToolBarStateOther::mouseReleaseEmpty
virtual void mouseReleaseEmpty()
Definition: toolbarstateother.cpp:77
WorkToolBar::tbb_StateJoin
@ tbb_StateJoin
Definition: worktoolbar.h:116
WorkToolBar::ToolBar_Buttons
ToolBar_Buttons
Definition: worktoolbar.h:57
WidgetBase::asCombinedFragmentWidget
CombinedFragmentWidget * asCombinedFragmentWidget()
Definition: widgetbase.cpp:1472
WorkToolBar::tbb_SubSystem
@ tbb_SubSystem
Definition: worktoolbar.h:127
UMLObject::ot_Actor
@ ot_Actor
Definition: umlobject.h:83
UMLObject::ot_Package
@ ot_Package
Definition: umlobject.h:85
WorkToolBar::tbb_Datatype
@ tbb_Datatype
Definition: worktoolbar.h:93
WorkToolBar::tbb_DeepHistory
@ tbb_DeepHistory
Definition: worktoolbar.h:113
ENUM_NAME
#define ENUM_NAME(o, e, v)
Definition: debug_utils.h:143
UMLObject::ot_UMLObject
@ ot_UMLObject
Definition: umlobject.h:82
StateWidget::Junction
@ Junction
Definition: statewidget.h:51
SignalWidget
Definition: signalwidget.h:28
WorkToolBar::tbb_Box
@ tbb_Box
Definition: worktoolbar.h:85
ToolBarStateOther::~ToolBarStateOther
virtual ~ToolBarStateOther()
Definition: toolbarstateother.cpp:54
ToolBarStateOther::ToolBarStateOther
ToolBarStateOther(UMLScene *umlScene)
Definition: toolbarstateother.cpp:46
CombinedFragmentWidget::askNameForWidgetType
void askNameForWidgetType(UMLWidget *&targetWidget, const QString &dialogTitle, const QString &dialogPrompt, const QString &defaultName)
Definition: combinedfragmentwidget.cpp:279
StateWidget::Fork
@ Fork
Definition: statewidget.h:49
ToolBarStateOther::setCurrentElement
virtual void setCurrentElement()
Definition: toolbarstateother.cpp:63
Uml::TextRole::Floating
@ Floating
Definition: basictypes.h:179
WorkToolBar::tbb_Category
@ tbb_Category
Definition: worktoolbar.h:123
floatingtextwidget.h
StateWidget::End
@ End
Definition: statewidget.h:48
WidgetBase::asObjectNodeWidget
ObjectNodeWidget * asObjectNodeWidget()
Definition: widgetbase.cpp:1483
UMLScene::setupNewWidget
void setupNewWidget(UMLWidget *w, bool setPosition=true)
Definition: umlscene.cpp:715
WorkToolBar::tbb_Node
@ tbb_Node
Definition: worktoolbar.h:98
UMLWidget::showPropertiesDialog
virtual bool showPropertiesDialog()
Definition: umlwidget.cpp:1358
NoteWidget::askForNoteType
void askForNoteType(UMLWidget *&targetWidget)
Definition: notewidget.cpp:221
WorkToolBar::tbb_Initial_State
@ tbb_Initial_State
Definition: worktoolbar.h:101
WorkToolBar::tbb_ShallowHistory
@ tbb_ShallowHistory
Definition: worktoolbar.h:114
WorkToolBar::tbb_Interface
@ tbb_Interface
Definition: worktoolbar.h:90
objectwidget.h
ActivityWidget::End
@ End
Definition: activitywidget.h:42
uWarning
#define uWarning()
Definition: debug_utils.h:124
WorkToolBar::tbb_Choice
@ tbb_Choice
Definition: worktoolbar.h:118
UMLObject::ot_Node
@ ot_Node
Definition: umlobject.h:98
i18n
#define i18n
Definition: main.cpp:39
WorkToolBar::tbb_Region
@ tbb_Region
Definition: worktoolbar.h:103
WorkToolBar::tbb_Interface_Provider
@ tbb_Interface_Provider
Definition: worktoolbar.h:91
WorkToolBar::tbb_Package
@ tbb_Package
Definition: worktoolbar.h:96
ToolBarStatePool::getButton
WorkToolBar::ToolBar_Buttons getButton() const
Definition: toolbarstatepool.cpp:42
WorkToolBar::tbb_Accept_Signal
@ tbb_Accept_Signal
Definition: worktoolbar.h:81
UMLObject::ot_SubSystem
@ ot_SubSystem
no real object type
Definition: umlobject.h:111
UMLObject::ot_Datatype
@ ot_Datatype
Definition: umlobject.h:87
SignalWidget::Send
@ Send
Definition: signalwidget.h:35
WorkToolBar::tbb_End_Activity
@ tbb_End_Activity
Definition: worktoolbar.h:107
ForkJoinWidget
Displays a fork/join plate in a state diagram.
Definition: forkjoinwidget.h:26
boxwidget.h
FloatingTextWidget
Displays a line of text or an operation.
Definition: floatingtextwidget.h:37
WorkToolBar::tbb_State
@ tbb_State
Definition: worktoolbar.h:102
WorkToolBar
The toolbar that is different for each type of diagram.
Definition: worktoolbar.h:41
SignalWidget::Time
@ Time
Definition: signalwidget.h:37
ToolBarState::m_pMouseEvent
QGraphicsSceneMouseEvent * m_pMouseEvent
The mouse event currently in use.
Definition: toolbarstate.h:125
toolbarstatepool.h
ActivityWidget::Normal
@ Normal
Definition: activitywidget.h:41
UMLObject::ot_Instance
@ ot_Instance
Definition: umlobject.h:90
WorkToolBar::tbb_Final_Activity
@ tbb_Final_Activity
Definition: worktoolbar.h:108
WorkToolBar::tbb_Branch
@ tbb_Branch
Definition: worktoolbar.h:111
NoteWidget
Displays a note box.
Definition: notewidget.h:31
UMLObject::ot_Component
@ ot_Component
Definition: umlobject.h:96
widget_utils.h
WorkToolBar::tbb_Fork
@ tbb_Fork
Definition: worktoolbar.h:112
StateWidget::Join
@ Join
Definition: statewidget.h:50
WorkToolBar::tbb_Junction
@ tbb_Junction
Definition: worktoolbar.h:117
WorkToolBar::tbb_UseCase
@ tbb_UseCase
Definition: worktoolbar.h:88
BoxWidget
Displays a box.
Definition: boxwidget.h:28
Uml
Definition: basictypes.cpp:37
StateWidget::Initial
@ Initial
Definition: statewidget.h:46
WorkToolBar::tbb_Send_Signal
@ tbb_Send_Signal
Definition: worktoolbar.h:80
ActivityWidget::Branch
@ Branch
Definition: activitywidget.h:44
ActivityWidget::Initial
@ Initial
Definition: activitywidget.h:40
WorkToolBar::tbb_Seq_Combined_Fragment
@ tbb_Seq_Combined_Fragment
Definition: worktoolbar.h:73
WorkToolBar::tbb_Class
@ tbb_Class
Definition: worktoolbar.h:89
UMLObject::ot_Enum
@ ot_Enum
Definition: umlobject.h:88
umlscene.h
uml.h
signalwidget.h
NoteWidget::Normal
@ Normal
Definition: notewidget.h:38
UMLObject::ot_UseCase
@ ot_UseCase
Definition: umlobject.h:84
debug_utils.h
WorkToolBar::tbb_StateFork
@ tbb_StateFork
Definition: worktoolbar.h:115
ToolBarStateOther
Definition: toolbarstateother.h:26
UMLScene
Definition: umlscene.h:69
umlobject.h
toolbarstateother.h
preconditionwidget.h
objectnodewidget.h
WorkToolBar::tbb_End_State
@ tbb_End_State
Definition: worktoolbar.h:104
WorkToolBar::tbb_Activity
@ tbb_Activity
Definition: worktoolbar.h:106
dialog_utils.h
WorkToolBar::tbb_Initial_Activity
@ tbb_Initial_Activity
Definition: worktoolbar.h:105
UMLScene::setCreateObject
void setCreateObject(bool bCreate)
Definition: umlscene.cpp:753
CombinedFragmentWidget
A graphical version of a UML combined fragment.
Definition: combinedfragmentwidget.h:33
combinedfragmentwidget.h
StateWidget::Choice
@ Choice
Definition: statewidget.h:54
WidgetBase::asNoteWidget
NoteWidget * asNoteWidget()
Definition: widgetbase.cpp:1482
WorkToolBar::tbb_Artifact
@ tbb_Artifact
Definition: worktoolbar.h:99
WorkToolBar::tbb_Object_Node
@ tbb_Object_Node
Definition: worktoolbar.h:121
umldoc.h
WorkToolBar::tbb_Actor
@ tbb_Actor
Definition: worktoolbar.h:87
WorkToolBar::tbb_Note
@ tbb_Note
Definition: worktoolbar.h:84
StateWidget::Normal
@ Normal
Definition: statewidget.h:47
forkjoinwidget.h
StateWidget::DeepHistory
@ DeepHistory
Definition: statewidget.h:52
WorkToolBar::tbb_Instance
@ tbb_Instance
Definition: worktoolbar.h:126
UMLObject::ot_Category
@ ot_Category
Definition: umlobject.h:108
regionwidget.h