umbrello 26.03.70-1a62d36 Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

widgetbasepopupmenu.h
Go to the documentation of this file.
1/*
2 SPDX-License-Identifier: GPL-2.0-or-later
3 SPDX-FileCopyrightText: 2018-2022 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
4*/
5
6#ifndef WIDGETBASEPOPUPMENU_H
7#define WIDGETBASEPOPUPMENU_H
8
9#include "listpopupmenu.h"
10
14 class WidgetBasePopupMenu : public ListPopupMenu
15{
16 public:
17 WidgetBasePopupMenu(QWidget * parent, WidgetBase * widget, bool multi, WidgetBase::WidgetType uniqueType = WidgetBase::wt_UMLWidget);
18
19 protected:
20 void makeMultiClassifierShowPopup(WidgetBase::WidgetType type);
21 void makeClassifierShowPopup(ClassifierWidget *c);
22 void insertSingleSelectionMenu(WidgetBase* widget);
23 void insertMultiSelectionMenu(WidgetBase::WidgetType uniqueType);
24 void insertStdItems(bool insertLeadingSeparator = true, WidgetBase::WidgetType type = WidgetBase::wt_UMLWidget);
25 void insertSubMenuAlign();
26 void insertSubMenuColor(bool fc);
27 void insertSubMenuNew(WidgetBase::WidgetType type);
28 void insertSubMenuShowEntity(EntityWidget *widget);
29 QMenu *makeCategoryTypeMenu(UMLCategory *category);
30};
31
32#endif // WIDGETBASEPOPUPMENU_H
ClassifierWidget
Common implementation for class widget and interface widget.
Definition: classifierwidget.h:28
EntityWidget
A graphical version of an entity.
Definition: entitywidget.h:25
UMLCategory
Information for a non-graphical UML Category.
Definition: umlcategory.h:22
WidgetBase
Common base class for UMLWidget and AssociationWidget.
Definition: widgetbase.h:101
WidgetBase::WidgetType
WidgetType
Definition: widgetbase.h:107
WidgetBase::wt_UMLWidget
@ wt_UMLWidget
Definition: widgetbase.h:109
listpopupmenu.h