umbrello: umbrello/menus/umlscenepopupmenu.h Source File

umbrello 2.34.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 SPDX-License-Identifier: GPL-2.0-or-later
3
4 SPDX-FileCopyrightText: 2018 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
5*/
6
7#ifndef UMLSCENEPOPUPMENU_H
8#define UMLSCENEPOPUPMENU_H
9
10#include "listpopupmenu.h"
11
15 class UMLScenePopupMenu : public ListPopupMenu
16{
17public:
18 UMLScenePopupMenu(QWidget *parent, UMLScene *scene);
19
20protected:
21 UMLScene *m_scene;
22 void insertLayoutItems();
23 void insertSubMenuNew(Uml::DiagramType::Enum type, KMenu *menu = 0);
24};
25
26#endif // UMLSCENEPOPUPMENU_H
ListPopupMenu
Displays a popup menu.
Definition: listpopupmenu.h:33
UMLScenePopupMenu
The UMLScenePopupMenu class.
Definition: umlscenepopupmenu.h:16
UMLScenePopupMenu::UMLScenePopupMenu
UMLScenePopupMenu(QWidget *parent, UMLScene *scene)
Definition: umlscenepopupmenu.cpp:17
UMLScenePopupMenu::insertLayoutItems
void insertLayoutItems()
Definition: umlscenepopupmenu.cpp:86
UMLScenePopupMenu::insertSubMenuNew
void insertSubMenuNew(Uml::DiagramType::Enum type, KMenu *menu=0)
Definition: umlscenepopupmenu.cpp:121
UMLScenePopupMenu::m_scene
UMLScene * m_scene
Definition: umlscenepopupmenu.h:21
UMLScene
Definition: umlscene.h:65
listpopupmenu.h
Uml::DiagramType::Enum
Enum
Definition: basictypes.h:63