|
umbrello
2.35.1
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
|
#include <widgetbasepopupmenu.h>
Public Member Functions | |
| WidgetBasePopupMenu (QWidget *parent, WidgetBase *widget, bool multi, WidgetBase::WidgetType uniqueType=WidgetBase::wt_UMLWidget) | |
Public Member Functions inherited from ListPopupMenu | |
| ListPopupMenu (QWidget *parent=0) | |
| virtual | ~ListPopupMenu () |
| QAction * | getAction (MenuType idx) |
| void | setActionEnabled (MenuType idx, bool value) |
| MenuType | getMenuType (QAction *action) |
| void | dumpActions (const QString &title) |
| KMenu * | newMenu (const QString &title, QWidget *widget) |
| void | addMenu (KMenu *menu) |
Protected Member Functions | |
| void | makeMultiClassifierShowPopup (WidgetBase::WidgetType type) |
| void | makeClassifierShowPopup (ClassifierWidget *c) |
| void | insertSingleSelectionMenu (WidgetBase *widget) |
| void | insertMultiSelectionMenu (WidgetBase::WidgetType uniqueType) |
| void | insertStdItems (bool insertLeadingSeparator=true, WidgetBase::WidgetType type=WidgetBase::wt_UMLWidget) |
| void | insertSubMenuAlign () |
| void | insertSubMenuColor (bool fc) |
| void | insertSubMenuNew (WidgetBase::WidgetType type) |
| void | insertSubMenuShowEntity (EntityWidget *widget) |
| KMenu * | makeCategoryTypeMenu (UMLCategory *category) |
Protected Member Functions inherited from ListPopupMenu | |
| void | insert (MenuType m) |
| void | insertFromActionKey (const MenuType m, KMenu *menu, const QString &action) |
| void | insert (const MenuType m, KMenu *menu) |
| void | insert (const MenuType m, KMenu *menu, const QIcon &icon, const QString &text) |
| void | insert (const MenuType m, KMenu *menu, const QString &text, const bool checkable=false) |
| void | insert (const MenuType m, const QIcon &icon, const QString &text) |
| void | insert (const MenuType m, const QString &text, const bool checkable=false) |
| void | insertContainerItems (bool folders, bool diagrams, bool packages) |
| void | insertContainerItems (KMenu *menu, bool folders, bool diagrams, bool packages) |
| void | insertAssociationTextItem (const QString &label, MenuType mt) |
| KMenu * | makeNewMenu () |
| void | insertSubMenuCategoryType (UMLCategory *category) |
| void | setActionChecked (MenuType idx, bool value) |
| void | setupActionsData () |
Constructs the popup menu for a WidgetBase with customized menu type.
| WidgetBasePopupMenu::WidgetBasePopupMenu | ( | QWidget * | parent, |
| WidgetBase * | widget, | ||
| bool | multi, | ||
| WidgetBase::WidgetType | uniqueType = WidgetBase::wt_UMLWidget |
||
| ) |
Constructs the popup menu for a scene widget.
| parent | The parent to ListPopupMenu. |
| widget | The WidgetBase to represent a menu for. |
| multi | True if multiple items are selected. |
| uniqueType | The type of widget shared by all selected widgets |
|
protected |
Inserts the menu actions that work on the whole selection of widgets
|
protected |
Inserts the menu actions for a widget
| widget | widget to generate the menu for |
|
protected |
Shortcut for the frequently used insert() calls.
| insertLeadingSeparator | Set this true if the group shall start with a separator. |
| type | The WidgetType for which to insert the menu items. If no argument is supplied then a Rename item will be included. |
|
protected |
Add the align actions submenu
|
protected |
Shortcut for commonly used sub menu initializations.
| fc | The "Use Fill Color" is checked. |
|
protected |
Shortcut for commonly used sub menu initializations.
| type | The widget type for which to set up the menu. |
|
protected |
|
protected |
|
protected |
Creates the "Show" submenu in the context menu of one classifier widget
|
protected |
Creates the "Show" submenu the context menu of multiple classifier widgets
1.8.17