umbrello: umbrello/menus/listpopupmenu.h Source File

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

listpopupmenu.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) 2003-2020 *
8 * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
9 ***************************************************************************/
10
11 #ifndef LISTPOPUPMENU_H
12 #define LISTPOPUPMENU_H
13
14 #include "basictypes.h"
15 #include "umllistviewitem.h"
16 #include "umlobject.h"
17 #include "widgetbase.h"
18 #include <kmenu.h>
19
20 #include <QHash>
21
22 class UMLCategory;
23 class ListPopupMenuPrivate;
24
37 class ListPopupMenu : public KMenu
38 {
39 Q_OBJECT
40 Q_ENUMS(MenuType)
41 Q_ENUMS(DataType)
42 public:
43 enum MenuType
44 {
45 mt_Model,
46 // diagrams
47 mt_Activity_Diagram,
48 mt_Class_Diagram,
49 mt_Collaboration_Diagram,
50 mt_Component_Diagram,
51 mt_Deployment_Diagram,
52 mt_EntityRelationship_Diagram,
53 mt_Sequence_Diagram,
54 mt_State_Diagram,
55 mt_UseCase_Diagram,
56 mt_Logical_Folder,
57 mt_UseCase_Folder,
58 mt_Component_Folder,
59 mt_Deployment_Folder,
60 mt_EntityRelationship_Folder,
61 // widgets, uml objects
62 mt_Accept_Signal,
63 mt_Accept_Time_Event,
64 mt_Activity,
65 mt_Activity_Transition,
66 mt_Actor,
67 mt_Artifact,
68 mt_Attribute,
69 mt_Branch,
70 mt_Category,
71 mt_CheckConstraint,
72 mt_Choice,
73 mt_Class,
74 mt_CombinedState,
75 mt_Component,
76 mt_Datatype,
77 mt_DeepHistory,
78 mt_DisjointSpecialisation,
79 mt_EditCombinedState,
80 mt_End_Activity,
81 mt_End_State,
82 mt_Entity,
83 mt_EntityAttribute,
84 mt_Enum,
85 mt_EnumLiteral,
86 mt_Exception,
87 mt_FloatText,
88 mt_Final_Activity,
89 mt_ForeignKeyConstraint,
90 mt_Fork,
91 mt_GoToStateDiagram,
92 mt_Initial_Activity,
93 mt_Initial_State,
94 mt_Invoke_Activity,
95 mt_Instance,
96 mt_InstanceAttribute,
97 mt_Interface,
98 mt_InterfaceComponent,
99 mt_InterfaceProvided,
100 mt_InterfaceRequired,
101 mt_Junction,
102 mt_MessageAsynchronous,
103 mt_MessageCreation,
104 mt_MessageDestroy,
105 mt_MessageFound,
106 mt_MessageLost,
107 mt_MessageSynchronous,
108 mt_Node,
109 mt_Note,
110 mt_Object,
111 mt_Object_Node,
112 mt_Operation,
113 mt_OverlappingSpecialisation,
114 mt_Package,
115 mt_Param_Activity,
116 mt_Pin,
117 mt_Port,
118 mt_PrePostCondition,
119 mt_PrimaryKeyConstraint,
120 mt_Region,
121 mt_SelectStateDiagram,
122 mt_Send_Signal,
123 mt_ShallowHistory,
124 mt_State,
125 mt_StateFork,
126 mt_StateJoin,
127 mt_StateTransition,
128 mt_Subsystem,
129 mt_Template,
130 mt_Union,
131 mt_UniqueConstraint,
132 mt_UseCase,
133 // new from dialogs
134 mt_New_Activity,
135 mt_New_Attribute,
136 mt_New_EntityAttribute,
137 mt_New_EnumLiteral,
138 mt_New_InstanceAttribute,
139 mt_New_Operation,
140 mt_New_Parameter,
141 mt_New_Template,
142 mt_RemoveStateDiagram,
143 mt_ReturnToClass,
144 mt_ReturnToCombinedState,
145 // selection
146 // visual properties
147 mt_Hide_Attribute_Signature_Selection,
148 mt_Hide_Attributes_Selection, // Unset visual property on multiple widgets
149 mt_Hide_Destruction_Box,
150 mt_Hide_NonPublic_Selection, // Could be named "show public only"
151 mt_Hide_Operation_Signature_Selection,
152 mt_Hide_Operations_Selection, // Hide operations
153 mt_Hide_Packages_Selection,
154 mt_Hide_Stereotypes_Selection,
155 mt_Hide_Visibility_Selection,
156 mt_Show_Attribute_Signature,
157 mt_Show_Attribute_Signature_Selection,
158 mt_Show_Attributes_Selection, // Set visual property on multiple widgets
159 mt_Show_Attributes, // Toggle visual property on a widget
160 mt_Show_Destruction_Box,
161 mt_Show_Documentation,
162 mt_Show_NonPublic_Selection, // Could be named "hide public only" (crazy!)
163 mt_Show_Operation_Signature,
164 mt_Show_Operation_Signature_Selection,
165 mt_Show_Operations_Selection, // Show operations
166 mt_Show_Operations, // Toggle 'show operations'
167 mt_Show_Packages, // etc...
168 mt_Show_Packages_Selection,
169 mt_Show_Public_Only,
170 mt_Show_Stereotypes,
171 mt_Show_Stereotypes_Selection,
172 mt_Show_Visibility_Selection,
173 mt_Visibility,
174 // other
175 mt_DrawAsCircle,
176 mt_ChangeToClass,
177 mt_ChangeToInterface,
178 mt_ChangeToPackage,
179 mt_Open_File,
180 mt_Rename_Object,
181 mt_Select_Operation,
182 mt_Properties,
183 mt_Rename,
184 mt_NameAsTooltip,
185 mt_Show,
186 mt_Delete,
187 mt_Export_Image,
188 mt_Import_Class,
189 mt_Import_Project,
190 mt_Cut,
191 mt_Copy,
192 mt_Paste,
193 mt_Clear,
194 mt_Redo,
195 mt_Undo,
196 mt_Reset_Label_Positions,
197 mt_Line_Color,
198 mt_Line_Color_Selection,
199 mt_Fill_Color,
200 mt_Fill_Color_Selection,
201 mt_Use_Fill_Color,
202 mt_Set_Use_Fill_Color_Selection,
203 mt_Unset_Use_Fill_Color_Selection,
204 mt_Rename_MultiA,
205 mt_Rename_MultiB,
206 mt_Rename_Name,
207 mt_Rename_RoleAName,
208 mt_Rename_RoleBName,
209 mt_Change_Font,
210 mt_Change_Font_Selection,
211 mt_SnapToGrid,
212 mt_SnapComponentSizeToGrid,
213 mt_ShowDocumentationIndicator,
214 mt_ShowSnapGrid,
215 mt_AutoResize,
216 mt_Resize,
217 mt_Up,
218 mt_Down,
219 mt_FlipHorizontal,
220 mt_FlipVertical,
221 mt_Add_Point,
222 mt_Delete_Point,
223 mt_Auto_Layout_Spline,
224
225 mt_Expand_All, // Expand all items in the list
226 mt_Collapse_All, // Collapse all items in the list
227
228 mt_Refactoring,
229 mt_ViewCode, // view code document contents
230 mt_Clone, // Create a deep copy of the object.
231 mt_Externalize_Folder, // Mark folder for saving as separate submodel
232 mt_Internalize_Folder, // Reintegrate separate submodel into main model
233
234 mt_AddInteractionOperand, // add a dash line to an alternative or a parallel combined fragment
235 mt_Apply_Layout, // apply automatically created layout
236 mt_Apply_Layout1, // apply automatically created layout
237 mt_Apply_Layout2, // apply automatically created layout
238 mt_Apply_Layout3, // apply automatically created layout
239 mt_Apply_Layout4, // apply automatically created layout
240 mt_Apply_Layout5, // apply automatically created layout
241 mt_Apply_Layout6, // apply automatically created layout
242 mt_Apply_Layout7, // apply automatically created layout
243 mt_Apply_Layout8, // apply automatically created layout
244 mt_Apply_Layout9, // apply automatically created layout
245
246 mt_LayoutDirect, // associations with direct lines
247 mt_LayoutSpline, // associations with slines
248 mt_LayoutOrthogonal, // associations with orthogonal lines
249 mt_LayoutPolyline, // associations with polylines
250
251 mt_Align_Right,
252 mt_Align_Left,
253 mt_Align_Top,
254 mt_Align_Bottom,
255 mt_Align_VerticalMiddle,
256 mt_Align_HorizontalMiddle,
257 mt_Align_VerticalDistribute,
258 mt_Align_HorizontalDistribute,
259 mt_Import_from_File,
260 mt_Remove,
261 // add new entries above
262 mt_Undefined = - 1
263 };
264
265 static QString toString(MenuType menu);
266
267 enum DataType
268 {
269 dt_MenuPointer,
270 dt_ApplyLayout
271 };
272
273 static QString toString(DataType data);
274 static QVariant dataFromAction(DataType key, QAction* action);
275
276 ListPopupMenu(QWidget* parent = 0);
277
278 virtual ~ListPopupMenu();
279
280 static UMLObject::ObjectType convert_MT_OT(MenuType mt);
281
282 static ListPopupMenu* menuFromAction(QAction *action);
283 static MenuType typeFromAction(QAction *action);
284
285 QAction* getAction(MenuType idx);
286
287 void setActionEnabled(MenuType idx, bool value);
288
289 MenuType getMenuType(QAction* action);
290
291 void dumpActions(const QString &title);
292
293 KMenu *newMenu(const QString &title, QWidget *widget);
294 void addMenu(KMenu *menu);
295 protected:
296 void insert(MenuType m);
297 void insertFromActionKey(const MenuType m, KMenu *menu, const QString &action);
298 void insert(const MenuType m, KMenu* menu);
299 void insert(const MenuType m, KMenu* menu, const QIcon & icon, const QString & text);
300 void insert(const MenuType m, KMenu* menu, const QString & text, const bool checkable = false);
301 void insert(const MenuType m, const QIcon & icon, const QString & text);
302 void insert(const MenuType m, const QString & text, const bool checkable = false);
303
304 void insertContainerItems(bool folders, bool diagrams, bool packages);
305 void insertContainerItems(KMenu* menu, bool folders, bool diagrams, bool packages);
306 void insertAssociationTextItem(const QString &label, MenuType mt);
307
308 KMenu *makeNewMenu();
309 void insertSubMenuCategoryType(UMLCategory *category);
310
311 void setActionChecked(MenuType idx, bool value);
312 void setupActionsData();
313
314 QHash<MenuType, QAction*> m_actions;
315 ListPopupMenuPrivate *d;
316 };
317
319 Q_DECLARE_METATYPE(ListPopupMenu*)
320
321 #endif
basictypes.h
ListPopupMenuPrivate
Definition: listpopupmenu.cpp:63
ListPopupMenu
Displays a popup menu.
Definition: listpopupmenu.h:38
ListPopupMenu::insertFromActionKey
void insertFromActionKey(const MenuType m, KMenu *menu, const QString &action)
Definition: listpopupmenu.cpp:129
ListPopupMenu::toString
static QString toString(MenuType menu)
Definition: listpopupmenu.cpp:614
ListPopupMenu::DataType
DataType
< Key value of the data map used in actions.
Definition: listpopupmenu.h:268
ListPopupMenu::dt_MenuPointer
@ dt_MenuPointer
Definition: listpopupmenu.h:269
ListPopupMenu::dt_ApplyLayout
@ dt_ApplyLayout
Definition: listpopupmenu.h:270
ListPopupMenu::menuFromAction
static ListPopupMenu * menuFromAction(QAction *action)
Definition: listpopupmenu.cpp:491
ListPopupMenu::ListPopupMenu
ListPopupMenu(QWidget *parent=0)
Definition: listpopupmenu.cpp:81
ListPopupMenu::dataFromAction
static QVariant dataFromAction(DataType key, QAction *action)
Definition: listpopupmenu.cpp:480
ListPopupMenu::dumpActions
void dumpActions(const QString &title)
Definition: listpopupmenu.cpp:636
ListPopupMenu::makeNewMenu
KMenu * makeNewMenu()
Definition: listpopupmenu.cpp:506
ListPopupMenu::addMenu
void addMenu(KMenu *menu)
Definition: listpopupmenu.cpp:106
ListPopupMenu::setupActionsData
void setupActionsData()
Definition: listpopupmenu.cpp:601
ListPopupMenu::convert_MT_OT
static UMLObject::ObjectType convert_MT_OT(MenuType mt)
Definition: listpopupmenu.cpp:427
ListPopupMenu::m_actions
QHash< MenuType, QAction * > m_actions
Definition: listpopupmenu.h:314
ListPopupMenu::setActionEnabled
void setActionEnabled(MenuType idx, bool value)
Definition: listpopupmenu.cpp:582
ListPopupMenu::getAction
QAction * getAction(MenuType idx)
Definition: listpopupmenu.cpp:532
ListPopupMenu::getMenuType
MenuType getMenuType(QAction *action)
Definition: listpopupmenu.cpp:548
ListPopupMenu::d
ListPopupMenuPrivate * d
Definition: listpopupmenu.h:315
ListPopupMenu::insertContainerItems
void insertContainerItems(bool folders, bool diagrams, bool packages)
Definition: listpopupmenu.cpp:355
ListPopupMenu::insertAssociationTextItem
void insertAssociationTextItem(const QString &label, MenuType mt)
Definition: listpopupmenu.cpp:399
ListPopupMenu::insert
void insert(MenuType m)
Definition: listpopupmenu.cpp:117
ListPopupMenu::insertSubMenuCategoryType
void insertSubMenuCategoryType(UMLCategory *category)
Definition: listpopupmenu.cpp:517
ListPopupMenu::typeFromAction
static MenuType typeFromAction(QAction *action)
Definition: listpopupmenu.cpp:412
ListPopupMenu::newMenu
KMenu * newMenu(const QString &title, QWidget *widget)
Definition: listpopupmenu.cpp:99
ListPopupMenu::~ListPopupMenu
virtual ~ListPopupMenu()
Definition: listpopupmenu.cpp:90
ListPopupMenu::MenuType
MenuType
< This type hosts all possible menu entry types
Definition: listpopupmenu.h:44
ListPopupMenu::mt_Branch
@ mt_Branch
Definition: listpopupmenu.h:69
ListPopupMenu::mt_GoToStateDiagram
@ mt_GoToStateDiagram
Definition: listpopupmenu.h:91
ListPopupMenu::mt_Entity
@ mt_Entity
Definition: listpopupmenu.h:82
ListPopupMenu::mt_SnapToGrid
@ mt_SnapToGrid
Definition: listpopupmenu.h:211
ListPopupMenu::mt_Fill_Color_Selection
@ mt_Fill_Color_Selection
Definition: listpopupmenu.h:200
ListPopupMenu::mt_AddInteractionOperand
@ mt_AddInteractionOperand
Definition: listpopupmenu.h:234
ListPopupMenu::mt_FlipHorizontal
@ mt_FlipHorizontal
Definition: listpopupmenu.h:219
ListPopupMenu::mt_Refactoring
@ mt_Refactoring
Definition: listpopupmenu.h:228
ListPopupMenu::mt_MessageFound
@ mt_MessageFound
Definition: listpopupmenu.h:105
ListPopupMenu::mt_State_Diagram
@ mt_State_Diagram
Definition: listpopupmenu.h:54
ListPopupMenu::mt_Reset_Label_Positions
@ mt_Reset_Label_Positions
Definition: listpopupmenu.h:196
ListPopupMenu::mt_Junction
@ mt_Junction
Definition: listpopupmenu.h:101
ListPopupMenu::mt_Show_Packages
@ mt_Show_Packages
Definition: listpopupmenu.h:167
ListPopupMenu::mt_PrimaryKeyConstraint
@ mt_PrimaryKeyConstraint
Definition: listpopupmenu.h:119
ListPopupMenu::mt_Operation
@ mt_Operation
Definition: listpopupmenu.h:112
ListPopupMenu::mt_Show_Packages_Selection
@ mt_Show_Packages_Selection
Definition: listpopupmenu.h:168
ListPopupMenu::mt_Align_HorizontalMiddle
@ mt_Align_HorizontalMiddle
Definition: listpopupmenu.h:256
ListPopupMenu::mt_StateTransition
@ mt_StateTransition
Definition: listpopupmenu.h:127
ListPopupMenu::mt_New_EnumLiteral
@ mt_New_EnumLiteral
Definition: listpopupmenu.h:137
ListPopupMenu::mt_Deployment_Diagram
@ mt_Deployment_Diagram
Definition: listpopupmenu.h:51
ListPopupMenu::mt_Rename
@ mt_Rename
Definition: listpopupmenu.h:183
ListPopupMenu::mt_Class_Diagram
@ mt_Class_Diagram
Definition: listpopupmenu.h:48
ListPopupMenu::mt_Collaboration_Diagram
@ mt_Collaboration_Diagram
Definition: listpopupmenu.h:49
ListPopupMenu::mt_Logical_Folder
@ mt_Logical_Folder
Definition: listpopupmenu.h:56
ListPopupMenu::mt_Hide_Operations_Selection
@ mt_Hide_Operations_Selection
Definition: listpopupmenu.h:152
ListPopupMenu::mt_StateJoin
@ mt_StateJoin
Definition: listpopupmenu.h:126
ListPopupMenu::mt_Align_Top
@ mt_Align_Top
Definition: listpopupmenu.h:253
ListPopupMenu::mt_Align_Bottom
@ mt_Align_Bottom
Definition: listpopupmenu.h:254
ListPopupMenu::mt_Show_Destruction_Box
@ mt_Show_Destruction_Box
Definition: listpopupmenu.h:160
ListPopupMenu::mt_Show_Visibility_Selection
@ mt_Show_Visibility_Selection
Definition: listpopupmenu.h:172
ListPopupMenu::mt_Show_Attributes
@ mt_Show_Attributes
Definition: listpopupmenu.h:159
ListPopupMenu::mt_Change_Font
@ mt_Change_Font
Definition: listpopupmenu.h:209
ListPopupMenu::mt_Apply_Layout3
@ mt_Apply_Layout3
Definition: listpopupmenu.h:238
ListPopupMenu::mt_FlipVertical
@ mt_FlipVertical
Definition: listpopupmenu.h:220
ListPopupMenu::mt_Cut
@ mt_Cut
Definition: listpopupmenu.h:190
ListPopupMenu::mt_UseCase_Folder
@ mt_UseCase_Folder
Definition: listpopupmenu.h:57
ListPopupMenu::mt_DrawAsCircle
@ mt_DrawAsCircle
Definition: listpopupmenu.h:175
ListPopupMenu::mt_Component_Diagram
@ mt_Component_Diagram
Definition: listpopupmenu.h:50
ListPopupMenu::mt_New_InstanceAttribute
@ mt_New_InstanceAttribute
Definition: listpopupmenu.h:138
ListPopupMenu::mt_Apply_Layout8
@ mt_Apply_Layout8
Definition: listpopupmenu.h:243
ListPopupMenu::mt_Set_Use_Fill_Color_Selection
@ mt_Set_Use_Fill_Color_Selection
Definition: listpopupmenu.h:202
ListPopupMenu::mt_Sequence_Diagram
@ mt_Sequence_Diagram
Definition: listpopupmenu.h:53
ListPopupMenu::mt_New_Operation
@ mt_New_Operation
Definition: listpopupmenu.h:139
ListPopupMenu::mt_Align_HorizontalDistribute
@ mt_Align_HorizontalDistribute
Definition: listpopupmenu.h:258
ListPopupMenu::mt_Union
@ mt_Union
Definition: listpopupmenu.h:130
ListPopupMenu::mt_ForeignKeyConstraint
@ mt_ForeignKeyConstraint
Definition: listpopupmenu.h:89
ListPopupMenu::mt_Rename_Object
@ mt_Rename_Object
Definition: listpopupmenu.h:180
ListPopupMenu::mt_Visibility
@ mt_Visibility
Definition: listpopupmenu.h:173
ListPopupMenu::mt_DisjointSpecialisation
@ mt_DisjointSpecialisation
Definition: listpopupmenu.h:78
ListPopupMenu::mt_Note
@ mt_Note
Definition: listpopupmenu.h:109
ListPopupMenu::mt_ReturnToClass
@ mt_ReturnToClass
Definition: listpopupmenu.h:143
ListPopupMenu::mt_CheckConstraint
@ mt_CheckConstraint
Definition: listpopupmenu.h:71
ListPopupMenu::mt_Collapse_All
@ mt_Collapse_All
Definition: listpopupmenu.h:226
ListPopupMenu::mt_Accept_Time_Event
@ mt_Accept_Time_Event
Definition: listpopupmenu.h:63
ListPopupMenu::mt_Param_Activity
@ mt_Param_Activity
Definition: listpopupmenu.h:115
ListPopupMenu::mt_Add_Point
@ mt_Add_Point
Definition: listpopupmenu.h:221
ListPopupMenu::mt_Hide_Visibility_Selection
@ mt_Hide_Visibility_Selection
Definition: listpopupmenu.h:155
ListPopupMenu::mt_ViewCode
@ mt_ViewCode
Definition: listpopupmenu.h:229
ListPopupMenu::mt_Export_Image
@ mt_Export_Image
Definition: listpopupmenu.h:187
ListPopupMenu::mt_Externalize_Folder
@ mt_Externalize_Folder
Definition: listpopupmenu.h:231
ListPopupMenu::mt_Activity_Transition
@ mt_Activity_Transition
Definition: listpopupmenu.h:65
ListPopupMenu::mt_StateFork
@ mt_StateFork
Definition: listpopupmenu.h:125
ListPopupMenu::mt_MessageLost
@ mt_MessageLost
Definition: listpopupmenu.h:106
ListPopupMenu::mt_Apply_Layout2
@ mt_Apply_Layout2
Definition: listpopupmenu.h:237
ListPopupMenu::mt_OverlappingSpecialisation
@ mt_OverlappingSpecialisation
Definition: listpopupmenu.h:113
ListPopupMenu::mt_Enum
@ mt_Enum
Definition: listpopupmenu.h:84
ListPopupMenu::mt_NameAsTooltip
@ mt_NameAsTooltip
Definition: listpopupmenu.h:184
ListPopupMenu::mt_Hide_Destruction_Box
@ mt_Hide_Destruction_Box
Definition: listpopupmenu.h:149
ListPopupMenu::mt_Invoke_Activity
@ mt_Invoke_Activity
Definition: listpopupmenu.h:94
ListPopupMenu::mt_EditCombinedState
@ mt_EditCombinedState
Definition: listpopupmenu.h:79
ListPopupMenu::mt_EntityAttribute
@ mt_EntityAttribute
Definition: listpopupmenu.h:83
ListPopupMenu::mt_New_Attribute
@ mt_New_Attribute
Definition: listpopupmenu.h:135
ListPopupMenu::mt_Activity
@ mt_Activity
Definition: listpopupmenu.h:64
ListPopupMenu::mt_ChangeToInterface
@ mt_ChangeToInterface
Definition: listpopupmenu.h:177
ListPopupMenu::mt_Down
@ mt_Down
Definition: listpopupmenu.h:218
ListPopupMenu::mt_Resize
@ mt_Resize
Definition: listpopupmenu.h:216
ListPopupMenu::mt_Show_NonPublic_Selection
@ mt_Show_NonPublic_Selection
Definition: listpopupmenu.h:162
ListPopupMenu::mt_Align_VerticalMiddle
@ mt_Align_VerticalMiddle
Definition: listpopupmenu.h:255
ListPopupMenu::mt_Hide_Attribute_Signature_Selection
@ mt_Hide_Attribute_Signature_Selection
Definition: listpopupmenu.h:147
ListPopupMenu::mt_Properties
@ mt_Properties
Definition: listpopupmenu.h:182
ListPopupMenu::mt_Delete_Point
@ mt_Delete_Point
Definition: listpopupmenu.h:222
ListPopupMenu::mt_Auto_Layout_Spline
@ mt_Auto_Layout_Spline
Definition: listpopupmenu.h:223
ListPopupMenu::mt_Show_Operation_Signature
@ mt_Show_Operation_Signature
Definition: listpopupmenu.h:163
ListPopupMenu::mt_Region
@ mt_Region
Definition: listpopupmenu.h:120
ListPopupMenu::mt_Subsystem
@ mt_Subsystem
Definition: listpopupmenu.h:128
ListPopupMenu::mt_Undo
@ mt_Undo
Definition: listpopupmenu.h:195
ListPopupMenu::mt_Model
@ mt_Model
Definition: listpopupmenu.h:45
ListPopupMenu::mt_MessageCreation
@ mt_MessageCreation
Definition: listpopupmenu.h:103
ListPopupMenu::mt_Rename_MultiA
@ mt_Rename_MultiA
Definition: listpopupmenu.h:204
ListPopupMenu::mt_Show
@ mt_Show
Definition: listpopupmenu.h:185
ListPopupMenu::mt_LayoutSpline
@ mt_LayoutSpline
Definition: listpopupmenu.h:247
ListPopupMenu::mt_SnapComponentSizeToGrid
@ mt_SnapComponentSizeToGrid
Definition: listpopupmenu.h:212
ListPopupMenu::mt_Change_Font_Selection
@ mt_Change_Font_Selection
Definition: listpopupmenu.h:210
ListPopupMenu::mt_UseCase_Diagram
@ mt_UseCase_Diagram
Definition: listpopupmenu.h:55
ListPopupMenu::mt_ChangeToClass
@ mt_ChangeToClass
Definition: listpopupmenu.h:176
ListPopupMenu::mt_Pin
@ mt_Pin
Definition: listpopupmenu.h:116
ListPopupMenu::mt_EnumLiteral
@ mt_EnumLiteral
Definition: listpopupmenu.h:85
ListPopupMenu::mt_Attribute
@ mt_Attribute
Definition: listpopupmenu.h:68
ListPopupMenu::mt_Activity_Diagram
@ mt_Activity_Diagram
Definition: listpopupmenu.h:47
ListPopupMenu::mt_Package
@ mt_Package
Definition: listpopupmenu.h:114
ListPopupMenu::mt_End_State
@ mt_End_State
Definition: listpopupmenu.h:81
ListPopupMenu::mt_Fill_Color
@ mt_Fill_Color
Definition: listpopupmenu.h:199
ListPopupMenu::mt_ChangeToPackage
@ mt_ChangeToPackage
Definition: listpopupmenu.h:178
ListPopupMenu::mt_Apply_Layout1
@ mt_Apply_Layout1
Definition: listpopupmenu.h:236
ListPopupMenu::mt_End_Activity
@ mt_End_Activity
Definition: listpopupmenu.h:80
ListPopupMenu::mt_FloatText
@ mt_FloatText
Definition: listpopupmenu.h:87
ListPopupMenu::mt_MessageSynchronous
@ mt_MessageSynchronous
Definition: listpopupmenu.h:107
ListPopupMenu::mt_Show_Stereotypes
@ mt_Show_Stereotypes
Definition: listpopupmenu.h:170
ListPopupMenu::mt_RemoveStateDiagram
@ mt_RemoveStateDiagram
Definition: listpopupmenu.h:142
ListPopupMenu::mt_Align_Left
@ mt_Align_Left
Definition: listpopupmenu.h:252
ListPopupMenu::mt_Hide_Packages_Selection
@ mt_Hide_Packages_Selection
Definition: listpopupmenu.h:153
ListPopupMenu::mt_Show_Stereotypes_Selection
@ mt_Show_Stereotypes_Selection
Definition: listpopupmenu.h:171
ListPopupMenu::mt_Up
@ mt_Up
Definition: listpopupmenu.h:217
ListPopupMenu::mt_Apply_Layout
@ mt_Apply_Layout
Definition: listpopupmenu.h:235
ListPopupMenu::mt_Initial_State
@ mt_Initial_State
Definition: listpopupmenu.h:93
ListPopupMenu::mt_Delete
@ mt_Delete
Definition: listpopupmenu.h:186
ListPopupMenu::mt_Class
@ mt_Class
Definition: listpopupmenu.h:73
ListPopupMenu::mt_InterfaceRequired
@ mt_InterfaceRequired
Definition: listpopupmenu.h:100
ListPopupMenu::mt_LayoutOrthogonal
@ mt_LayoutOrthogonal
Definition: listpopupmenu.h:248
ListPopupMenu::mt_Port
@ mt_Port
Definition: listpopupmenu.h:117
ListPopupMenu::mt_Actor
@ mt_Actor
Definition: listpopupmenu.h:66
ListPopupMenu::mt_Object
@ mt_Object
Definition: listpopupmenu.h:110
ListPopupMenu::mt_LayoutDirect
@ mt_LayoutDirect
Definition: listpopupmenu.h:246
ListPopupMenu::mt_Line_Color_Selection
@ mt_Line_Color_Selection
Definition: listpopupmenu.h:198
ListPopupMenu::mt_Use_Fill_Color
@ mt_Use_Fill_Color
Definition: listpopupmenu.h:201
ListPopupMenu::mt_Apply_Layout4
@ mt_Apply_Layout4
Definition: listpopupmenu.h:239
ListPopupMenu::mt_Show_Documentation
@ mt_Show_Documentation
Definition: listpopupmenu.h:161
ListPopupMenu::mt_Unset_Use_Fill_Color_Selection
@ mt_Unset_Use_Fill_Color_Selection
Definition: listpopupmenu.h:203
ListPopupMenu::mt_New_EntityAttribute
@ mt_New_EntityAttribute
Definition: listpopupmenu.h:136
ListPopupMenu::mt_Align_Right
@ mt_Align_Right
Definition: listpopupmenu.h:251
ListPopupMenu::mt_Remove
@ mt_Remove
Definition: listpopupmenu.h:260
ListPopupMenu::mt_Hide_NonPublic_Selection
@ mt_Hide_NonPublic_Selection
Definition: listpopupmenu.h:150
ListPopupMenu::mt_Clear
@ mt_Clear
Definition: listpopupmenu.h:193
ListPopupMenu::mt_Hide_Attributes_Selection
@ mt_Hide_Attributes_Selection
Definition: listpopupmenu.h:148
ListPopupMenu::mt_Show_Attribute_Signature
@ mt_Show_Attribute_Signature
Definition: listpopupmenu.h:156
ListPopupMenu::mt_Hide_Stereotypes_Selection
@ mt_Hide_Stereotypes_Selection
Definition: listpopupmenu.h:154
ListPopupMenu::mt_Instance
@ mt_Instance
Definition: listpopupmenu.h:95
ListPopupMenu::mt_Copy
@ mt_Copy
Definition: listpopupmenu.h:191
ListPopupMenu::mt_Deployment_Folder
@ mt_Deployment_Folder
Definition: listpopupmenu.h:59
ListPopupMenu::mt_Template
@ mt_Template
Definition: listpopupmenu.h:129
ListPopupMenu::mt_DeepHistory
@ mt_DeepHistory
Definition: listpopupmenu.h:77
ListPopupMenu::mt_CombinedState
@ mt_CombinedState
Definition: listpopupmenu.h:74
ListPopupMenu::mt_Apply_Layout7
@ mt_Apply_Layout7
Definition: listpopupmenu.h:242
ListPopupMenu::mt_Datatype
@ mt_Datatype
Definition: listpopupmenu.h:76
ListPopupMenu::mt_Show_Operations_Selection
@ mt_Show_Operations_Selection
Definition: listpopupmenu.h:165
ListPopupMenu::mt_Import_Class
@ mt_Import_Class
Definition: listpopupmenu.h:188
ListPopupMenu::mt_Apply_Layout6
@ mt_Apply_Layout6
Definition: listpopupmenu.h:241
ListPopupMenu::mt_State
@ mt_State
Definition: listpopupmenu.h:124
ListPopupMenu::mt_Initial_Activity
@ mt_Initial_Activity
Definition: listpopupmenu.h:92
ListPopupMenu::mt_Choice
@ mt_Choice
Definition: listpopupmenu.h:72
ListPopupMenu::mt_MessageDestroy
@ mt_MessageDestroy
Definition: listpopupmenu.h:104
ListPopupMenu::mt_LayoutPolyline
@ mt_LayoutPolyline
Definition: listpopupmenu.h:249
ListPopupMenu::mt_Artifact
@ mt_Artifact
Definition: listpopupmenu.h:67
ListPopupMenu::mt_New_Activity
@ mt_New_Activity
Definition: listpopupmenu.h:134
ListPopupMenu::mt_UniqueConstraint
@ mt_UniqueConstraint
Definition: listpopupmenu.h:131
ListPopupMenu::mt_Accept_Signal
@ mt_Accept_Signal
Definition: listpopupmenu.h:62
ListPopupMenu::mt_ReturnToCombinedState
@ mt_ReturnToCombinedState
Definition: listpopupmenu.h:144
ListPopupMenu::mt_InstanceAttribute
@ mt_InstanceAttribute
Definition: listpopupmenu.h:96
ListPopupMenu::mt_Exception
@ mt_Exception
Definition: listpopupmenu.h:86
ListPopupMenu::mt_New_Parameter
@ mt_New_Parameter
Definition: listpopupmenu.h:140
ListPopupMenu::mt_Node
@ mt_Node
Definition: listpopupmenu.h:108
ListPopupMenu::mt_ShowDocumentationIndicator
@ mt_ShowDocumentationIndicator
Definition: listpopupmenu.h:213
ListPopupMenu::mt_Rename_RoleAName
@ mt_Rename_RoleAName
Definition: listpopupmenu.h:207
ListPopupMenu::mt_Category
@ mt_Category
Definition: listpopupmenu.h:70
ListPopupMenu::mt_Undefined
@ mt_Undefined
Definition: listpopupmenu.h:262
ListPopupMenu::mt_Line_Color
@ mt_Line_Color
Definition: listpopupmenu.h:197
ListPopupMenu::mt_Show_Operations
@ mt_Show_Operations
Definition: listpopupmenu.h:166
ListPopupMenu::mt_Apply_Layout9
@ mt_Apply_Layout9
Definition: listpopupmenu.h:244
ListPopupMenu::mt_SelectStateDiagram
@ mt_SelectStateDiagram
Definition: listpopupmenu.h:121
ListPopupMenu::mt_Component_Folder
@ mt_Component_Folder
Definition: listpopupmenu.h:58
ListPopupMenu::mt_Select_Operation
@ mt_Select_Operation
Definition: listpopupmenu.h:181
ListPopupMenu::mt_New_Template
@ mt_New_Template
Definition: listpopupmenu.h:141
ListPopupMenu::mt_Hide_Operation_Signature_Selection
@ mt_Hide_Operation_Signature_Selection
Definition: listpopupmenu.h:151
ListPopupMenu::mt_Show_Operation_Signature_Selection
@ mt_Show_Operation_Signature_Selection
Definition: listpopupmenu.h:164
ListPopupMenu::mt_Rename_RoleBName
@ mt_Rename_RoleBName
Definition: listpopupmenu.h:208
ListPopupMenu::mt_Apply_Layout5
@ mt_Apply_Layout5
Definition: listpopupmenu.h:240
ListPopupMenu::mt_Final_Activity
@ mt_Final_Activity
Definition: listpopupmenu.h:88
ListPopupMenu::mt_InterfaceComponent
@ mt_InterfaceComponent
Definition: listpopupmenu.h:98
ListPopupMenu::mt_Show_Attribute_Signature_Selection
@ mt_Show_Attribute_Signature_Selection
Definition: listpopupmenu.h:157
ListPopupMenu::mt_Clone
@ mt_Clone
Definition: listpopupmenu.h:230
ListPopupMenu::mt_Component
@ mt_Component
Definition: listpopupmenu.h:75
ListPopupMenu::mt_PrePostCondition
@ mt_PrePostCondition
Definition: listpopupmenu.h:118
ListPopupMenu::mt_EntityRelationship_Folder
@ mt_EntityRelationship_Folder
Definition: listpopupmenu.h:60
ListPopupMenu::mt_MessageAsynchronous
@ mt_MessageAsynchronous
Definition: listpopupmenu.h:102
ListPopupMenu::mt_Open_File
@ mt_Open_File
Definition: listpopupmenu.h:179
ListPopupMenu::mt_Send_Signal
@ mt_Send_Signal
Definition: listpopupmenu.h:122
ListPopupMenu::mt_ShallowHistory
@ mt_ShallowHistory
Definition: listpopupmenu.h:123
ListPopupMenu::mt_Rename_MultiB
@ mt_Rename_MultiB
Definition: listpopupmenu.h:205
ListPopupMenu::mt_Import_from_File
@ mt_Import_from_File
Definition: listpopupmenu.h:259
ListPopupMenu::mt_Fork
@ mt_Fork
Definition: listpopupmenu.h:90
ListPopupMenu::mt_Rename_Name
@ mt_Rename_Name
Definition: listpopupmenu.h:206
ListPopupMenu::mt_ShowSnapGrid
@ mt_ShowSnapGrid
Definition: listpopupmenu.h:214
ListPopupMenu::mt_Show_Attributes_Selection
@ mt_Show_Attributes_Selection
Definition: listpopupmenu.h:158
ListPopupMenu::mt_Import_Project
@ mt_Import_Project
Definition: listpopupmenu.h:189
ListPopupMenu::mt_Interface
@ mt_Interface
Definition: listpopupmenu.h:97
ListPopupMenu::mt_Show_Public_Only
@ mt_Show_Public_Only
Definition: listpopupmenu.h:169
ListPopupMenu::mt_Internalize_Folder
@ mt_Internalize_Folder
Definition: listpopupmenu.h:232
ListPopupMenu::mt_AutoResize
@ mt_AutoResize
Definition: listpopupmenu.h:215
ListPopupMenu::mt_InterfaceProvided
@ mt_InterfaceProvided
Definition: listpopupmenu.h:99
ListPopupMenu::mt_Expand_All
@ mt_Expand_All
Definition: listpopupmenu.h:225
ListPopupMenu::mt_Redo
@ mt_Redo
Definition: listpopupmenu.h:194
ListPopupMenu::mt_UseCase
@ mt_UseCase
Definition: listpopupmenu.h:132
ListPopupMenu::mt_EntityRelationship_Diagram
@ mt_EntityRelationship_Diagram
Definition: listpopupmenu.h:52
ListPopupMenu::mt_Align_VerticalDistribute
@ mt_Align_VerticalDistribute
Definition: listpopupmenu.h:257
ListPopupMenu::mt_Object_Node
@ mt_Object_Node
Definition: listpopupmenu.h:111
ListPopupMenu::mt_Paste
@ mt_Paste
Definition: listpopupmenu.h:192
ListPopupMenu::setActionChecked
void setActionChecked(MenuType idx, bool value)
Definition: listpopupmenu.cpp:565
UMLCategory
Information for a non-graphical UML Category.
Definition: category.h:28
UMLObject::ObjectType
ObjectType
Definition: umlobject.h:81
umllistviewitem.h
umlobject.h
Q_DECLARE_METATYPE
Q_DECLARE_METATYPE(UMLStereotype *)
widgetbase.h