#include <widgetbasepopupmenu.h>
|
| < This type hosts all possible menu entry types More...
|
| < Key value of the data map used in actions. More...
|
Constructs the popup menu for a WidgetBase with customized menu type.
◆ WidgetBasePopupMenu()
Constructs the popup menu for a scene widget.
- Parameters
-
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 |
◆ insertMultiSelectionMenu()
Inserts the menu actions that work on the whole selection of widgets
◆ insertSingleSelectionMenu()
void WidgetBasePopupMenu::insertSingleSelectionMenu |
( |
WidgetBase * |
widget | ) |
|
|
protected |
Inserts the menu actions for a widget
- Parameters
-
widget | widget to generate the menu for |
◆ insertStdItems()
Shortcut for the frequently used insert() calls.
- Parameters
-
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. |
◆ insertSubMenuAlign()
void WidgetBasePopupMenu::insertSubMenuAlign |
( |
| ) |
|
|
protected |
Add the align actions submenu
◆ insertSubMenuColor()
void WidgetBasePopupMenu::insertSubMenuColor |
( |
bool |
fc | ) |
|
|
protected |
Shortcut for commonly used sub menu initializations.
- Parameters
-
fc | The "Use Fill Color" is checked. |
◆ insertSubMenuNew()
Shortcut for commonly used sub menu initializations.
- Parameters
-
type | The widget type for which to set up the menu. |
◆ insertSubMenuShowEntity()
void WidgetBasePopupMenu::insertSubMenuShowEntity |
( |
EntityWidget * |
widget | ) |
|
|
protected |
◆ makeCategoryTypeMenu()
KMenu * WidgetBasePopupMenu::makeCategoryTypeMenu |
( |
UMLCategory * |
category | ) |
|
|
protected |
◆ makeClassifierShowPopup()
Creates the "Show" submenu in the context menu of one classifier widget
◆ makeMultiClassifierShowPopup()
Creates the "Show" submenu the context menu of multiple classifier widgets
The documentation for this class was generated from the following files: