Reaction for renaming a proxy.
More...
#include <pqRenameProxyReaction.h>
|
| pqRenameProxyReaction (QAction *renameAction, pqProxy *proxy, QWidget *parentWidget=nullptr) |
| Use this overload to add a handler to rename a specific proxy. More...
|
|
| pqRenameProxyReaction (QAction *renameAction, QWidget *parentWidget=nullptr) |
| Use this overload to add a handler to rename the active source proxy. More...
|
|
Reaction for renaming a proxy.
Definition at line 18 of file pqRenameProxyReaction.h.
◆ pqRenameProxyReaction() [1/2]
pqRenameProxyReaction::pqRenameProxyReaction |
( |
QAction * |
renameAction, |
|
|
pqProxy * |
proxy, |
|
|
QWidget * |
parentWidget = nullptr |
|
) |
| |
Use this overload to add a handler to rename a specific proxy.
parentWidget
is used as the parent for the dialog box popped up to request new name input. If nullptr, pqCoreUtilities::mainWidget() is used.
◆ pqRenameProxyReaction() [2/2]
pqRenameProxyReaction::pqRenameProxyReaction |
( |
QAction * |
renameAction, |
|
|
QWidget * |
parentWidget = nullptr |
|
) |
| |
Use this overload to add a handler to rename the active source proxy.
parentWidget
is used as the parent for the dialog box popped up to request new name input. If nullptr, pqCoreUtilities::mainWidget() is used.
◆ onTriggered
void pqRenameProxyReaction::onTriggered |
( |
| ) |
|
|
overrideprotectedslot |
Called when the action is triggered.
◆ updateEnableState
void pqRenameProxyReaction::updateEnableState |
( |
| ) |
|
|
overrideprotectedslot |
◆ Proxy
pqProxy* pqRenameProxyReaction::Proxy |
|
protected |
◆ ParentWidget
QPointer<QWidget> pqRenameProxyReaction::ParentWidget |
|
protected |
The documentation for this class was generated from the following file: