1 /* 2 SPDX-License-Identifier: GPL-2.0-or-later 3 SPDX-FileCopyrightText: 2018-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org> 4 */ 5 6 #ifndef ASSOCIATIONWIDGETPOPUPMENU_H 7 #define ASSOCIATIONWIDGETPOPUPMENU_H 8 9 #include "listpopupmenu.h" 10 11 class AssociationLine; 12 13 /** 14 * Constructs the popup menu for an association widget 15 */ 16 class AssociationWidgetPopupMenu : public ListPopupMenu 17 { 18 public: 19 AssociationWidgetPopupMenu(QWidget *parent, Uml::AssociationType::Enum type, AssociationWidget *widget); 20 21 protected: 22 void insertSubMenuLayout(AssociationLine *associationLine); 23 void insertSubmodelAction(); 24 }; 25 26 #endif // ASSOCIATIONWIDGETPOPUPMENU_H 27