umbrello: umbrello/menus/umllistviewpopupmenu.h Source File

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

umllistviewpopupmenu.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-2020 *
8 * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
9 ***************************************************************************/
10
11 #ifndef UMLLISTVIEWPOPUPMENU_H
12 #define UMLLISTVIEWPOPUPMENU_H
13
14 #include "listpopupmenu.h"
15 #include "umllistviewitem.h"
16
17 class UMLListViewPopupMenu : public ListPopupMenu {
18 public:
19 UMLListViewPopupMenu(QWidget *parent, UMLListViewItem *item);
20
21 protected:
22 void insertSubMenuNew(UMLListViewItem::ListViewType type, KMenu *menu = 0);
23 void insertStdItems(bool insertLeadingSeparator = true);
24 void insertSubmodelAction();
25 };
26
27 #endif // UMLLISTVIEWPOPUPMENU_H
umllistviewpopupmenu.h
UMLListViewItem::lvt_UseCase_Folder
@ lvt_UseCase_Folder
Definition: umllistviewitem.h:51
UMLListViewItem::lvt_CheckConstraint
@ lvt_CheckConstraint
Definition: umllistviewitem.h:90
ListPopupMenu::mt_Expand_All
@ mt_Expand_All
Definition: listpopupmenu.h:225
UMLListViewItem::lvt_Logical_View
@ lvt_Logical_View
Definition: umllistviewitem.h:48
ListPopupMenu::mt_CheckConstraint
@ mt_CheckConstraint
Definition: listpopupmenu.h:71
ListPopupMenu::mt_Show
@ mt_Show
Definition: listpopupmenu.h:185
ListPopupMenu::makeNewMenu
KMenu * makeNewMenu()
Definition: listpopupmenu.cpp:501
UMLListViewItem::lvt_Enum
@ lvt_Enum
Definition: umllistviewitem.h:78
ListPopupMenu::mt_EntityRelationship_Folder
@ mt_EntityRelationship_Folder
Definition: listpopupmenu.h:60
ListPopupMenu::mt_EntityAttribute
@ mt_EntityAttribute
Definition: listpopupmenu.h:83
ListPopupMenu::mt_Internalize_Folder
@ mt_Internalize_Folder
Definition: listpopupmenu.h:232
Settings::GeneralState::tabdiagrams
bool tabdiagrams
Definition: optionstate.h:65
ListPopupMenu::mt_Properties
@ mt_Properties
Definition: listpopupmenu.h:182
ListPopupMenu::mt_Subsystem
@ mt_Subsystem
Definition: listpopupmenu.h:128
ListPopupMenu::mt_Export_Image
@ mt_Export_Image
Definition: listpopupmenu.h:187
UMLObject::name
QString name() const
Definition: umlobject.cpp:211
ListPopupMenu::mt_Deployment_Diagram
@ mt_Deployment_Diagram
Definition: listpopupmenu.h:51
ListPopupMenu::mt_Datatype
@ mt_Datatype
Definition: listpopupmenu.h:76
UMLListViewItem::ListViewType
ListViewType
Definition: umllistviewitem.h:43
UMLListViewItem::lvt_EntityRelationship_Folder
@ lvt_EntityRelationship_Folder
Definition: umllistviewitem.h:82
UMLFolder::folderFile
QString folderFile() const
Definition: folder.cpp:259
UMLListViewItem::lvt_EntityRelationship_Diagram
@ lvt_EntityRelationship_Diagram
Definition: umllistviewitem.h:81
UMLListViewItem::lvt_Properties
@ lvt_Properties
Definition: umllistviewitem.h:93
UMLListViewItem::umlObject
UMLObject * umlObject() const
Definition: umllistviewitem.cpp:312
UMLListViewPopupMenu::insertSubmodelAction
void insertSubmodelAction()
Definition: umllistviewpopupmenu.cpp:399
UMLListViewItem::lvt_Collaboration_Diagram
@ lvt_Collaboration_Diagram
Definition: umllistviewitem.h:53
UMLListViewPopupMenu::insertSubMenuNew
void insertSubMenuNew(UMLListViewItem::ListViewType type, KMenu *menu=0)
Definition: umllistviewpopupmenu.cpp:292
Model_Utils::treeViewGetCurrentObject
UMLObject * treeViewGetCurrentObject()
Definition: model_utils.cpp:451
UMLListViewItem
Items used by UMLListView.
Definition: umllistviewitem.h:40
UMLListViewItem::lvt_Datatype
@ lvt_Datatype
Definition: umllistviewitem.h:76
UMLListViewItem::lvt_Subsystem
@ lvt_Subsystem
Definition: umllistviewitem.h:84
UMLListViewItem::lvt_Attribute
@ lvt_Attribute
Definition: umllistviewitem.h:61
ListPopupMenu::mt_ChangeToClass
@ mt_ChangeToClass
Definition: listpopupmenu.h:176
UMLListViewItem::type
ListViewType type() const
Definition: umllistviewitem.cpp:234
ListPopupMenu::mt_Collapse_All
@ mt_Collapse_All
Definition: listpopupmenu.h:226
UMLListViewItem::lvt_Actor
@ lvt_Actor
Definition: umllistviewitem.h:58
UMLListViewItem::lvt_EntityRelationship_Model
@ lvt_EntityRelationship_Model
Definition: umllistviewitem.h:83
ListPopupMenu::insertSubMenuCategoryType
void insertSubMenuCategoryType(UMLCategory *category)
Definition: listpopupmenu.cpp:512
ListPopupMenu::mt_Artifact
@ mt_Artifact
Definition: listpopupmenu.h:67
UMLListViewItem::lvt_UseCase_Diagram
@ lvt_UseCase_Diagram
Definition: umllistviewitem.h:52
ListPopupMenu::mt_UniqueConstraint
@ mt_UniqueConstraint
Definition: listpopupmenu.h:131
UMLListViewItem::lvt_Properties_CodeGeneration
@ lvt_Properties_CodeGeneration
Definition: umllistviewitem.h:96
UMLListViewItem::lvt_Model
@ lvt_Model
Definition: umllistviewitem.h:85
ListPopupMenu::mt_Node
@ mt_Node
Definition: listpopupmenu.h:108
UMLListViewItem::lvt_Deployment_View
@ lvt_Deployment_View
Definition: umllistviewitem.h:74
UMLObject::asUMLCategory
UMLCategory * asUMLCategory()
Definition: umlobject.cpp:1306
ListPopupMenu::mt_Category
@ mt_Category
Definition: listpopupmenu.h:70
ListPopupMenu::mt_Port
@ mt_Port
Definition: listpopupmenu.h:117
UMLListViewItem::lvt_Activity_Diagram
@ lvt_Activity_Diagram
Definition: umllistviewitem.h:56
UMLListViewItem::lvt_Sequence_Diagram
@ lvt_Sequence_Diagram
Definition: umllistviewitem.h:57
ListPopupMenu::mt_Cut
@ mt_Cut
Definition: listpopupmenu.h:190
ListPopupMenu::mt_Deployment_Folder
@ mt_Deployment_Folder
Definition: listpopupmenu.h:59
Settings::OptionState::generalState
GeneralState generalState
Definition: optionstate.h:334
UMLListViewItem::lvt_Component_Folder
@ lvt_Component_Folder
Definition: umllistviewitem.h:67
UMLListViewItem::lvt_Class
@ lvt_Class
Definition: umllistviewitem.h:60
UMLListViewItem::lvt_Deployment_Folder
@ lvt_Deployment_Folder
Definition: umllistviewitem.h:73
model_utils.h
ListPopupMenu::mt_Entity
@ mt_Entity
Definition: listpopupmenu.h:82
UMLListViewItem::lvt_ForeignKeyConstraint
@ lvt_ForeignKeyConstraint
Definition: umllistviewitem.h:89
UMLListViewItem::lvt_InstanteAttribute
@ lvt_InstanteAttribute
Definition: umllistviewitem.h:105
UMLObject
The base class for UML objects.
Definition: umlobject.h:74
UMLListViewItem::lvt_EntityAttribute
@ lvt_EntityAttribute
Definition: umllistviewitem.h:80
UMLListViewItem::lvt_Component_Diagram
@ lvt_Component_Diagram
Definition: umllistviewitem.h:66
UMLListViewItem::lvt_Properties_CodeImport
@ lvt_Properties_CodeImport
Definition: umllistviewitem.h:97
ListPopupMenu::mt_Clone
@ mt_Clone
Definition: listpopupmenu.h:230
UMLListViewPopupMenu
Definition: umllistviewpopupmenu.h:17
optionstate.h
Settings::optionState
OptionState & optionState()
Definition: optionstate.cpp:370
UMLObject::asUMLFolder
UMLFolder * asUMLFolder()
Definition: umlobject.cpp:1317
ListPopupMenu::mt_Component_Diagram
@ mt_Component_Diagram
Definition: listpopupmenu.h:50
ListPopupMenu::mt_Model
@ mt_Model
Definition: listpopupmenu.h:45
UMLListViewItem::lvt_Properties_CodeViewer
@ lvt_Properties_CodeViewer
Definition: umllistviewitem.h:98
ListPopupMenu::mt_Operation
@ mt_Operation
Definition: listpopupmenu.h:112
ListPopupMenu::setupActionsData
void setupActionsData()
Definition: listpopupmenu.cpp:596
ListPopupMenu::mt_UseCase
@ mt_UseCase
Definition: listpopupmenu.h:132
ListPopupMenu::insertContainerItems
void insertContainerItems(bool folderAndDiagrams, bool packages=true)
Definition: listpopupmenu.cpp:350
ListPopupMenu::addMenu
void addMenu(KMenu *menu)
Definition: listpopupmenu.cpp:106
UMLListViewItem::lvt_Object_Diagram
@ lvt_Object_Diagram
Definition: umllistviewitem.h:103
UMLListViewPopupMenu::UMLListViewPopupMenu
UMLListViewPopupMenu(QWidget *parent, UMLListViewItem *item)
Definition: umllistviewpopupmenu.cpp:20
ListPopupMenu::mt_Externalize_Folder
@ mt_Externalize_Folder
Definition: listpopupmenu.h:231
ListPopupMenu::mt_Attribute
@ mt_Attribute
Definition: listpopupmenu.h:68
UMLListViewItem::lvt_PrimaryKeyConstraint
@ lvt_PrimaryKeyConstraint
Definition: umllistviewitem.h:88
UMLListViewItem::lvt_Properties_Font
@ lvt_Properties_Font
Definition: umllistviewitem.h:99
UMLListViewItem::lvt_Instance
@ lvt_Instance
Definition: umllistviewitem.h:104
folder.h
i18n
#define i18n
Definition: main.cpp:39
UMLListViewItem::lvt_Properties_General
@ lvt_Properties_General
Definition: umllistviewitem.h:100
UMLListViewItem::lvt_Deployment_Diagram
@ lvt_Deployment_Diagram
Definition: umllistviewitem.h:72
UMLListViewItem::lvt_Interface
@ lvt_Interface
Definition: umllistviewitem.h:64
UMLListViewItem::lvt_Artifact
@ lvt_Artifact
Definition: umllistviewitem.h:71
ListPopupMenu::mt_Import_Project
@ mt_Import_Project
Definition: listpopupmenu.h:189
UMLListViewItem::lvt_UniqueConstraint
@ lvt_UniqueConstraint
Definition: umllistviewitem.h:87
ListPopupMenu::mt_Template
@ mt_Template
Definition: listpopupmenu.h:129
UMLListViewItem::lvt_Entity
@ lvt_Entity
Definition: umllistviewitem.h:79
UMLListViewItem::lvt_Template
@ lvt_Template
Definition: umllistviewitem.h:63
ListPopupMenu::mt_EnumLiteral
@ mt_EnumLiteral
Definition: listpopupmenu.h:85
ListPopupMenu
Displays a popup menu.
Definition: listpopupmenu.h:38
UMLListViewItem::lvt_Properties_UserInterface
@ lvt_Properties_UserInterface
Definition: umllistviewitem.h:101
ListPopupMenu::mt_Actor
@ mt_Actor
Definition: listpopupmenu.h:66
UMLListViewItem::lvt_Component
@ lvt_Component
Definition: umllistviewitem.h:69
UMLFolder
Non-graphical management of objects and diagrams of a Folder.
Definition: folder.h:35
ListPopupMenu::insert
void insert(MenuType m)
Definition: listpopupmenu.cpp:117
UMLListViewItem::lvt_Datatype_Folder
@ lvt_Datatype_Folder
Definition: umllistviewitem.h:77
umllistviewitem.h
ListPopupMenu::mt_Delete
@ mt_Delete
Definition: listpopupmenu.h:186
UMLListViewPopupMenu::insertStdItems
void insertStdItems(bool insertLeadingSeparator=true)
Definition: umllistviewpopupmenu.cpp:384
Settings::OptionState
Definition: optionstate.h:322
UMLListViewItem::lvt_Component_View
@ lvt_Component_View
Definition: umllistviewitem.h:68
UMLListViewItem::lvt_Category
@ lvt_Category
Definition: umllistviewitem.h:91
uError
#define uError()
Definition: debug_utils.h:123
ListPopupMenu::mt_Copy
@ mt_Copy
Definition: listpopupmenu.h:191
UMLListViewItem::lvt_Properties_AutoLayout
@ lvt_Properties_AutoLayout
Definition: umllistviewitem.h:94
UMLListViewItem::lvt_UseCase
@ lvt_UseCase
Definition: umllistviewitem.h:59
UMLListViewItem::lvt_Properties_Class
@ lvt_Properties_Class
Definition: umllistviewitem.h:95
ListPopupMenu::mt_PrimaryKeyConstraint
@ mt_PrimaryKeyConstraint
Definition: listpopupmenu.h:119
debug_utils.h
ListPopupMenu::mt_Component
@ mt_Component
Definition: listpopupmenu.h:75
UMLListViewItem::lvt_Logical_Folder
@ lvt_Logical_Folder
Definition: umllistviewitem.h:50
ListPopupMenu::mt_Open_File
@ mt_Open_File
Definition: listpopupmenu.h:179
UMLListViewItem::lvt_Class_Diagram
@ lvt_Class_Diagram
Definition: umllistviewitem.h:54
UMLListViewItem::lvt_Package
@ lvt_Package
Definition: umllistviewitem.h:65
ListPopupMenu::mt_UseCase_Folder
@ mt_UseCase_Folder
Definition: listpopupmenu.h:57
UMLListViewItem::lvt_Node
@ lvt_Node
Definition: umllistviewitem.h:75
ListPopupMenu::mt_Rename
@ mt_Rename
Definition: listpopupmenu.h:183
UMLListViewItem::lvt_Operation
@ lvt_Operation
Definition: umllistviewitem.h:62
listpopupmenu.h
UMLListViewItem::lvt_EnumLiteral
@ lvt_EnumLiteral
Definition: umllistviewitem.h:86
UMLListViewItem::lvt_State_Diagram
@ lvt_State_Diagram
Definition: umllistviewitem.h:55
ListPopupMenu::mt_ChangeToPackage
@ mt_ChangeToPackage
Definition: listpopupmenu.h:178
ListPopupMenu::mt_Component_Folder
@ mt_Component_Folder
Definition: listpopupmenu.h:58
ListPopupMenu::mt_Import_Class
@ mt_Import_Class
Definition: listpopupmenu.h:188
UMLObject::stereotype
QString stereotype(bool includeAdornments=false) const
Definition: umlobject.cpp:558
UMLListViewItem::lvt_Port
@ lvt_Port
Definition: umllistviewitem.h:92
ListPopupMenu::mt_UseCase_Diagram
@ mt_UseCase_Diagram
Definition: listpopupmenu.h:55
ListPopupMenu::mt_Paste
@ mt_Paste
Definition: listpopupmenu.h:192
ListPopupMenu::mt_ForeignKeyConstraint
@ mt_ForeignKeyConstraint
Definition: listpopupmenu.h:89
UMLListViewItem::lvt_UseCase_View
@ lvt_UseCase_View
Definition: umllistviewitem.h:49
ListPopupMenu::mt_EntityRelationship_Diagram
@ mt_EntityRelationship_Diagram
Definition: listpopupmenu.h:52