umbrello: umbrello/menus/umlscenepopupmenu.h Source File

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

umlscenepopupmenu.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) 2018 *
8 * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
9 ***************************************************************************/
10
11 #ifndef UMLSCENEPOPUPMENU_H
12 #define UMLSCENEPOPUPMENU_H
13
14 #include "listpopupmenu.h"
15
19 class UMLScenePopupMenu : public ListPopupMenu
20 {
21 public:
22 UMLScenePopupMenu(QWidget *parent, UMLScene *scene);
23
24 protected:
25 UMLScene *m_scene;
26 void insertLayoutItems();
27 void insertSubMenuNew(Uml::DiagramType::Enum type, KMenu *menu = 0);
28 };
29
30 #endif // UMLSCENEPOPUPMENU_H
ListPopupMenu::setActionEnabled
void setActionEnabled(MenuType idx, bool value)
Definition: listpopupmenu.cpp:577
ListPopupMenu::mt_Final_Activity
@ mt_Final_Activity
Definition: listpopupmenu.h:88
ListPopupMenu::mt_Exception
@ mt_Exception
Definition: listpopupmenu.h:86
Uml::DiagramType::UseCase
@ UseCase
Definition: basictypes.h:99
ListPopupMenu::dt_ApplyLayout
@ dt_ApplyLayout
Definition: listpopupmenu.h:270
LayoutGenerator
Definition: layoutgenerator.h:38
Uml::DiagramType::Component
@ Component
Definition: basictypes.h:104
ListPopupMenu::makeNewMenu
KMenu * makeNewMenu()
Definition: listpopupmenu.cpp:501
ListPopupMenu::mt_Properties
@ mt_Properties
Definition: listpopupmenu.h:182
ListPopupMenu::mt_Apply_Layout2
@ mt_Apply_Layout2
Definition: listpopupmenu.h:237
ListPopupMenu::mt_Subsystem
@ mt_Subsystem
Definition: listpopupmenu.h:128
ListPopupMenu::mt_Clear
@ mt_Clear
Definition: listpopupmenu.h:193
ListPopupMenu::mt_Export_Image
@ mt_Export_Image
Definition: listpopupmenu.h:187
ListPopupMenu::mt_MessageDestroy
@ mt_MessageDestroy
Definition: listpopupmenu.h:104
UMLScenePopupMenu
The UMLScenePopupMenu class.
Definition: umlscenepopupmenu.h:19
ListPopupMenu::mt_End_State
@ mt_End_State
Definition: listpopupmenu.h:81
ListPopupMenu::mt_Datatype
@ mt_Datatype
Definition: listpopupmenu.h:76
ListPopupMenu::mt_MessageCreation
@ mt_MessageCreation
Definition: listpopupmenu.h:103
ListPopupMenu::mt_Instance
@ mt_Instance
Definition: listpopupmenu.h:95
ListPopupMenu::mt_Initial_Activity
@ mt_Initial_Activity
Definition: listpopupmenu.h:92
ListPopupMenu::mt_Enum
@ mt_Enum
Definition: listpopupmenu.h:84
UMLScene::widgetLink
WidgetBase * widgetLink()
Definition: umlscene.cpp:4392
Uml::DiagramType::State
@ State
Definition: basictypes.h:102
LayoutGenerator::isEnabled
bool isEnabled()
Definition: layoutgenerator.cpp:99
ListPopupMenu::mt_StateJoin
@ mt_StateJoin
Definition: listpopupmenu.h:126
ListPopupMenu::mt_FloatText
@ mt_FloatText
Definition: listpopupmenu.h:87
ListPopupMenu::mt_Object_Node
@ mt_Object_Node
Definition: listpopupmenu.h:111
ListPopupMenu::mt_Artifact
@ mt_Artifact
Definition: listpopupmenu.h:67
Uml::DiagramType::Enum
Enum
Definition: basictypes.h:94
Uml::DiagramType::Collaboration
@ Collaboration
Definition: basictypes.h:101
ListPopupMenu::mt_Invoke_Activity
@ mt_Invoke_Activity
Definition: listpopupmenu.h:94
ListPopupMenu::mt_StateFork
@ mt_StateFork
Definition: listpopupmenu.h:125
ListPopupMenu::mt_Choice
@ mt_Choice
Definition: listpopupmenu.h:72
ListPopupMenu::mt_Node
@ mt_Node
Definition: listpopupmenu.h:108
ListPopupMenu::mt_MessageFound
@ mt_MessageFound
Definition: listpopupmenu.h:105
ListPopupMenu::mt_Region
@ mt_Region
Definition: listpopupmenu.h:120
ListPopupMenu::mt_Category
@ mt_Category
Definition: listpopupmenu.h:70
ListPopupMenu::mt_Class
@ mt_Class
Definition: listpopupmenu.h:73
UMLScene::snapToGrid
bool snapToGrid() const
Definition: umlscene.cpp:3519
ListPopupMenu::mt_Cut
@ mt_Cut
Definition: listpopupmenu.h:190
ListPopupMenu::mt_Redo
@ mt_Redo
Definition: listpopupmenu.h:194
ListPopupMenu::mt_Undo
@ mt_Undo
Definition: listpopupmenu.h:195
ListPopupMenu::mt_MessageLost
@ mt_MessageLost
Definition: listpopupmenu.h:106
IS_DEBUG_ENABLED
#define IS_DEBUG_ENABLED(src)
Definition: debug_utils.h:130
ListPopupMenu::mt_Apply_Layout6
@ mt_Apply_Layout6
Definition: listpopupmenu.h:241
ListPopupMenu::mt_SnapComponentSizeToGrid
@ mt_SnapComponentSizeToGrid
Definition: listpopupmenu.h:212
ListPopupMenu::mt_SnapToGrid
@ mt_SnapToGrid
Definition: listpopupmenu.h:211
ListPopupMenu::mt_Note
@ mt_Note
Definition: listpopupmenu.h:109
UMLScene::isShowDocumentationIndicator
bool isShowDocumentationIndicator() const
Definition: umlscene.cpp:3631
ListPopupMenu::mt_Entity
@ mt_Entity
Definition: listpopupmenu.h:82
ListPopupMenu::mt_End_Activity
@ mt_End_Activity
Definition: listpopupmenu.h:80
Uml::DiagramType::EntityRelationship
@ EntityRelationship
Definition: basictypes.h:106
ListPopupMenu::mt_ShowSnapGrid
@ mt_ShowSnapGrid
Definition: listpopupmenu.h:214
ListPopupMenu::mt_Import_from_File
@ mt_Import_from_File
Definition: listpopupmenu.h:259
UMLScene::snapComponentSizeToGrid
bool snapComponentSizeToGrid() const
Definition: umlscene.cpp:3536
ListPopupMenu::mt_ShowDocumentationIndicator
@ mt_ShowDocumentationIndicator
Definition: listpopupmenu.h:213
umlscenepopupmenu.h
Settings::optionState
OptionState & optionState()
Definition: optionstate.cpp:370
ListPopupMenu::mt_Apply_Layout7
@ mt_Apply_Layout7
Definition: listpopupmenu.h:242
ListPopupMenu::setupActionsData
void setupActionsData()
Definition: listpopupmenu.cpp:596
ListPopupMenu::mt_UseCase
@ mt_UseCase
Definition: listpopupmenu.h:132
UMLScenePopupMenu::insertLayoutItems
void insertLayoutItems()
Definition: umlscenepopupmenu.cpp:91
ListPopupMenu::mt_Junction
@ mt_Junction
Definition: listpopupmenu.h:101
ListPopupMenu::mt_Apply_Layout8
@ mt_Apply_Layout8
Definition: listpopupmenu.h:243
ListPopupMenu::getAction
QAction * getAction(MenuType idx)
Definition: listpopupmenu.cpp:527
ListPopupMenu::addMenu
void addMenu(KMenu *menu)
Definition: listpopupmenu.cpp:106
ListPopupMenu::mt_Apply_Layout
@ mt_Apply_Layout
Definition: listpopupmenu.h:235
UMLScene::onWidgetLine
ObjectWidget * onWidgetLine(const QPointF &point) const
Definition: umlscene.cpp:1014
ListPopupMenu::mt_Activity_Transition
@ mt_Activity_Transition
Definition: listpopupmenu.h:65
ListPopupMenu::mt_CombinedState
@ mt_CombinedState
Definition: listpopupmenu.h:74
ListPopupMenu::mt_Interface
@ mt_Interface
Definition: listpopupmenu.h:97
ListPopupMenu::mt_Apply_Layout9
@ mt_Apply_Layout9
Definition: listpopupmenu.h:244
uWarning
#define uWarning()
Definition: debug_utils.h:124
UMLScene::type
Uml::DiagramType::Enum type() const
Definition: umlscene.cpp:426
ListPopupMenu::mt_Initial_State
@ mt_Initial_State
Definition: listpopupmenu.h:93
ListPopupMenu::mt_Fork
@ mt_Fork
Definition: listpopupmenu.h:90
ListPopupMenu::mt_DeepHistory
@ mt_DeepHistory
Definition: listpopupmenu.h:77
i18n
#define i18n
Definition: main.cpp:39
WidgetBase::isClassWidget
bool isClassWidget()
Definition: widgetbase.h:247
ListPopupMenu::mt_Object
@ mt_Object
Definition: listpopupmenu.h:110
ListPopupMenu::toString
static QString toString(MenuType menu)
Definition: listpopupmenu.cpp:609
ListPopupMenu::mt_InterfaceComponent
@ mt_InterfaceComponent
Definition: listpopupmenu.h:98
ListPopupMenu::mt_ReturnToCombinedState
@ mt_ReturnToCombinedState
Definition: listpopupmenu.h:144
UMLScenePopupMenu::m_scene
UMLScene * m_scene
Definition: umlscenepopupmenu.h:33
ListPopupMenu::mt_Apply_Layout1
@ mt_Apply_Layout1
Definition: listpopupmenu.h:236
Uml::DiagramType::toString
QString toString(Enum item)
Definition: basictypes.cpp:185
ListPopupMenu::mt_PrePostCondition
@ mt_PrePostCondition
Definition: listpopupmenu.h:118
types
Definition: types.py:1
Icon_Utils::SmallIcon
QPixmap SmallIcon(IconType type)
Definition: icon_utils.cpp:41
ListPopupMenu::mt_Branch
@ mt_Branch
Definition: listpopupmenu.h:69
WidgetBase::isStateWidget
bool isStateWidget()
Definition: widgetbase.h:267
Icon_Utils::it_Clear
@ it_Clear
Definition: icon_utils.h:156
UMLScene::pos
QPointF pos() const
Definition: umlscene.cpp:458
UMLApp::app
static UMLApp * app()
Definition: uml.cpp:269
ListPopupMenu
Displays a popup menu.
Definition: listpopupmenu.h:37
ListPopupMenu::mt_Actor
@ mt_Actor
Definition: listpopupmenu.h:66
ListPopupMenu::mt_Send_Signal
@ mt_Send_Signal
Definition: listpopupmenu.h:122
ListPopupMenu::setActionChecked
void setActionChecked(MenuType idx, bool value)
Definition: listpopupmenu.cpp:560
Uml::DiagramType::Sequence
@ Sequence
Definition: basictypes.h:100
ListPopupMenu::insert
void insert(MenuType m)
Definition: listpopupmenu.cpp:117
UMLApp::isCutCopyState
bool isCutCopyState() const
Definition: uml.cpp:2105
ListPopupMenu::mt_MessageSynchronous
@ mt_MessageSynchronous
Definition: listpopupmenu.h:107
ListPopupMenu::mt_Accept_Time_Event
@ mt_Accept_Time_Event
Definition: listpopupmenu.h:63
UMLScene::isSnapGridVisible
bool isSnapGridVisible() const
Definition: umlscene.cpp:3614
Uml::DiagramType::Class
@ Class
Definition: basictypes.h:98
ListPopupMenu::mt_MessageAsynchronous
@ mt_MessageAsynchronous
Definition: listpopupmenu.h:102
ListPopupMenu::mt_Apply_Layout3
@ mt_Apply_Layout3
Definition: listpopupmenu.h:238
ListPopupMenu::mt_Copy
@ mt_Copy
Definition: listpopupmenu.h:191
Uml::DiagramType::Object
@ Object
Definition: basictypes.h:107
umlscene.h
uml.h
ListPopupMenu::mt_Apply_Layout5
@ mt_Apply_Layout5
Definition: listpopupmenu.h:240
debug_utils.h
WidgetBase::wt_Object
@ wt_Object
Definition: widgetbase.h:122
UMLScene::widgetOnDiagram
UMLWidget * widgetOnDiagram(Uml::ID::Type id)
Definition: umlscene.cpp:1139
ListPopupMenu::mt_Apply_Layout4
@ mt_Apply_Layout4
Definition: listpopupmenu.h:239
UMLScene
Definition: umlscene.h:68
DBG_SRC
#define DBG_SRC
Definition: import_utils.cpp:43
ListPopupMenu::mt_Component
@ mt_Component
Definition: listpopupmenu.h:75
CHECKABLE
static const bool CHECKABLE
Definition: listpopupmenu.cpp:50
ListPopupMenu::mt_Param_Activity
@ mt_Param_Activity
Definition: listpopupmenu.h:115
listpopupmenu.h
LayoutGenerator::availableConfigFiles
static bool availableConfigFiles(UMLScene *scene, QHash< QString, QString > &configFiles)
Definition: layoutgenerator.cpp:309
ListPopupMenu::mt_Pin
@ mt_Pin
Definition: listpopupmenu.h:116
Uml::DiagramType::Activity
@ Activity
Definition: basictypes.h:103
Uml::DiagramType::Deployment
@ Deployment
Definition: basictypes.h:105
ListPopupMenu::mt_Activity
@ mt_Activity
Definition: listpopupmenu.h:64
UMLScenePopupMenu::UMLScenePopupMenu
UMLScenePopupMenu(QWidget *parent, UMLScene *scene)
Definition: umlscenepopupmenu.cpp:22
ListPopupMenu::mt_Paste
@ mt_Paste
Definition: listpopupmenu.h:192
ListPopupMenu::mt_Accept_Signal
@ mt_Accept_Signal
Definition: listpopupmenu.h:62
ListPopupMenu::mt_Package
@ mt_Package
Definition: listpopupmenu.h:114
ListPopupMenu::mt_ReturnToClass
@ mt_ReturnToClass
Definition: listpopupmenu.h:143
ListPopupMenu::mt_State
@ mt_State
Definition: listpopupmenu.h:124
layoutgenerator.h
UMLScenePopupMenu::insertSubMenuNew
void insertSubMenuNew(Uml::DiagramType::Enum type, KMenu *menu=0)
Definition: umlscenepopupmenu.cpp:125
ListPopupMenu::dumpActions
void dumpActions(const QString &title)
Definition: listpopupmenu.cpp:631
ListPopupMenu::mt_ShallowHistory
@ mt_ShallowHistory
Definition: listpopupmenu.h:123