pqSGWritersMenuManager is responsible for managing the menu for "Writers".
More...
#include <pqSGWritersMenuManager.h>
Inherits QObject.
|
void | createWriter (const QString &xmlgroup, const QString &xmlname) |
|
pqSGWritersMenuManager is responsible for managing the menu for "Writers".
pqSGPluginManager calls createMenu() when the plugin is initialized, then pqSGWritersMenuManager creates and setups up the co-processing writers menu. If another plugin is loaded after this one is then it rechecks to see if any writers were added with the CoProcessing hint in the XML file and if they were then the writers get added to the Writers menu. See Resources/servermanager.xml for an example of how to do that.
Definition at line 51 of file pqSGWritersMenuManager.h.
§ pqSGWritersMenuManager()
pqSGWritersMenuManager::pqSGWritersMenuManager |
( |
const char * |
writersMenuName, |
|
|
const char * |
objectMenuName, |
|
|
QObject * |
parent = 0 |
|
) |
| |
§ ~pqSGWritersMenuManager()
pqSGWritersMenuManager::~pqSGWritersMenuManager |
( |
| ) |
|
§ createMenu
void pqSGWritersMenuManager::createMenu |
( |
| ) |
|
|
slot |
Creates a new writers menu and adds the writers to it.
The name of the Qt menu object will be ObjectMenuName and the the name of GUI menu will be WritersMenuName.
§ updateEnableState
void pqSGWritersMenuManager::updateEnableState |
( |
| ) |
|
|
protectedslot |
Updates the enable state for the writers menu.
§ onActionTriggered
void pqSGWritersMenuManager::onActionTriggered |
( |
QAction * |
| ) |
|
|
protectedslot |
Called when user requests to create a writer.
§ createWriter()
void pqSGWritersMenuManager::createWriter |
( |
const QString & |
xmlgroup, |
|
|
const QString & |
xmlname |
|
) |
| |
|
protected |
The documentation for this class was generated from the following file: