umbrello: umbrello/menus/umllistviewpopupmenu.h Source File

umbrello 2.32.0 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
ListPopupMenu
Displays a popup menu.
Definition: listpopupmenu.h:38
UMLListViewItem
Items used by UMLListView.
Definition: umllistviewitem.h:41
UMLListViewItem::ListViewType
ListViewType
Definition: umllistviewitem.h:44
UMLListViewPopupMenu
Definition: umllistviewpopupmenu.h:17
UMLListViewPopupMenu::UMLListViewPopupMenu
UMLListViewPopupMenu(QWidget *parent, UMLListViewItem *item)
Definition: umllistviewpopupmenu.cpp:20
UMLListViewPopupMenu::insertSubmodelAction
void insertSubmodelAction()
Definition: umllistviewpopupmenu.cpp:399
UMLListViewPopupMenu::insertStdItems
void insertStdItems(bool insertLeadingSeparator=true)
Definition: umllistviewpopupmenu.cpp:384
UMLListViewPopupMenu::insertSubMenuNew
void insertSubMenuNew(UMLListViewItem::ListViewType type, KMenu *menu=0)
Definition: umllistviewpopupmenu.cpp:292
listpopupmenu.h
umllistviewitem.h