The pqViewContextMenuHandler class is used to setup and cleanup the context menu for a view of a given type.
More...
#include <pqViewContextMenuHandler.h>
Inherits QObject.
The pqViewContextMenuHandler class is used to setup and cleanup the context menu for a view of a given type.
Definition at line 52 of file pqViewContextMenuHandler.h.
§ pqViewContextMenuHandler()
pqViewContextMenuHandler::pqViewContextMenuHandler |
( |
QObject * |
parent = 0 | ) |
|
Constructs a view context menu handler.
- Parameters
-
§ ~pqViewContextMenuHandler()
virtual pqViewContextMenuHandler::~pqViewContextMenuHandler |
( |
| ) |
|
|
inlinevirtual |
§ setupContextMenu()
virtual void pqViewContextMenuHandler::setupContextMenu |
( |
pqView * |
view | ) |
|
|
pure virtual |
Sets up the context menu for the given view.
The pqViewContextMenuManager maps the view type to the correct handler and calls this method to set up the context menu.
- Parameters
-
§ cleanupContextMenu()
virtual void pqViewContextMenuHandler::cleanupContextMenu |
( |
pqView * |
view | ) |
|
|
pure virtual |
Cleans up the context menu for the given view.
- Parameters
-
view | The view to clean up. |
The documentation for this class was generated from the following file: