SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
|
A panel that displays available operations in a "toolbox". More...
#include <pqSMTKOperationParameterPanel.h>
Classes | |
struct | TabData |
Public Slots | |
virtual void | observeWrapper (pqSMTKWrapper *, pqServer *) |
Called when a new client-server connection is added. | |
virtual void | unobserveWrapper (pqSMTKWrapper *, pqServer *) |
Called when a client-server connection is removed. | |
virtual void | runOperationWithDefaults (smtk::operation::Operation::Index) |
Called in response to signals from the pqSMTKOperationToolboxPanel. More... | |
void | runOperationWithParameters (const std::shared_ptr< smtk::operation::Operation > &operation) |
Queue the (potentially asynchronous) operation to be run immediately as specified. | |
virtual void | editOperationParameters (smtk::operation::Operation::Index) |
Called in response to signals from the pqSMTKOperationToolboxPanel. More... | |
void | editExistingOperationParameters (const std::shared_ptr< smtk::operation::Operation > &operation) |
Called in response to signals from pqSMTKOperationToolboxPanel. More... | |
virtual void | cancelEditing (int tabIndex) |
Called when users close an operation-parameter's tab. | |
virtual void | cancelTabFromSender () |
Called when users click "Done" in a qtOperationView (uses signal sender to find tab). | |
Signals | |
void | titleChanged (QString title) |
void | runOperation (smtk::operation::Operation::Index index) |
Queue the (potentially asynchronous) operation to be run immediately with default parameters. | |
Public Member Functions | |
pqSMTKOperationParameterPanel (QWidget *parent=nullptr) | |
Protected Member Functions | |
void | observeToolboxPanels () |
Protected Attributes | |
QPointer< QTabWidget > | m_tabs |
QPointer< QVBoxLayout > | m_layout |
pqSMTKWrapper * | m_wrapper { nullptr } |
std::multimap< smtk::operation::Operation::Index, TabData > | m_views |
int | m_selectionValue { 1 } |
bool | m_selectionExactMatch { false } |
A panel that displays available operations in a "toolbox".
The panel emits signals when users request an operation be (a) immediately run or (b) run after editing parameters.
|
slot |
Called in response to signals from pqSMTKOperationToolboxPanel.
This method will raise the panel and create or switch to a tab for the given operation. Unlike the variant that takes an operation index, this variant accepts an operation which may have non-default parameters.
|
virtualslot |
Called in response to signals from the pqSMTKOperationToolboxPanel.
This method will raise the panel and create or switch to a tab for the given operation.
|
virtualslot |
Called in response to signals from the pqSMTKOperationToolboxPanel.
This method will create and launch an operation of the given type immediately (using default parameter values). If the operation cannot be run with defaults (i.e., ableToOperate() returns false), then editOperationParametrs is invoked.