umbrello: umbrello/menus/listpopupmenu.h Source File

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