Reaction to handle creation of sources from the sources menu.
More...
#include <pqSourcesMenuReaction.h>
Inherits QObject.
Reaction to handle creation of sources from the sources menu.
Definition at line 17 of file pqSourcesMenuReaction.h.
◆ pqSourcesMenuReaction()
◆ createSource()
◆ warnOnCreate()
| static bool pqSourcesMenuReaction::warnOnCreate |
( |
const QString & |
group, |
|
|
const QString & |
name, |
|
|
pqServer * |
server = nullptr |
|
) |
| |
|
static |
Method used to prompt user before creating a proxy.
If the proxy hints has "WarnOnCreate" hint, then the user will be prompted according to the contents on the hint. Returns false if the user rejects the confirmation, true otherwise.
If server is null, then the active server is used.
◆ updateEnableState [1/2]
| virtual void pqSourcesMenuReaction::updateEnableState |
( |
| ) |
|
|
virtualslot |
Updates the enabled state.
Applications need not explicitly call this.
◆ updateEnableState [2/2]
| void pqSourcesMenuReaction::updateEnableState |
( |
bool |
| ) |
|
|
slot |
◆ onTriggered
| virtual void pqSourcesMenuReaction::onTriggered |
( |
const QString & |
group, |
|
|
const QString & |
name |
|
) |
| |
|
inlineprotectedvirtualslot |
The documentation for this class was generated from the following file: