umbrello: umbrello/menus/umlscenepopupmenu.h Source File

umbrello 2.32.1 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 * 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 *
8 * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
9 ***************************************************************************/
10
11 #ifndef UMLSCENEPOPUPMENU_H
12 #define UMLSCENEPOPUPMENU_H
13
14 #include "listpopupmenu.h"
15
19 class UMLScenePopupMenu : public ListPopupMenu
20 {
21 public:
22 UMLScenePopupMenu(QWidget *parent, UMLScene *scene);
23
24 protected:
25 UMLScene *m_scene;
26 void insertLayoutItems();
27 void insertSubMenuNew(Uml::DiagramType::Enum type, KMenu *menu = 0);
28 };
29
30 #endif // UMLSCENEPOPUPMENU_H
ListPopupMenu
Displays a popup menu.
Definition: listpopupmenu.h:38
UMLScenePopupMenu
The UMLScenePopupMenu class.
Definition: umlscenepopupmenu.h:20
UMLScenePopupMenu::UMLScenePopupMenu
UMLScenePopupMenu(QWidget *parent, UMLScene *scene)
Definition: umlscenepopupmenu.cpp:22
UMLScenePopupMenu::insertLayoutItems
void insertLayoutItems()
Definition: umlscenepopupmenu.cpp:91
UMLScenePopupMenu::insertSubMenuNew
void insertSubMenuNew(Uml::DiagramType::Enum type, KMenu *menu=0)
Definition: umlscenepopupmenu.cpp:125
UMLScenePopupMenu::m_scene
UMLScene * m_scene
Definition: umlscenepopupmenu.h:25
UMLScene
Definition: umlscene.h:70
listpopupmenu.h
Uml::DiagramType::Enum
Enum
Definition: basictypes.h:77