SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
|
A panel that displays SMTK tasks available to the user. More...
#include <pqSMTKDiagramPanel.h>
Signals | |
void | titleChanged (QString title) |
Public Member Functions | |
pqSMTKDiagramPanel (QWidget *parent=nullptr) | |
void | setView (const smtk::view::ConfigurationPtr &view) |
Let the panel display a custom view config, from json or xml. | |
smtk::extension::qtDiagram * | diagram () const |
Access the underlying resource browser. | |
smtk::string::Token | elementType () const override |
Return an (application-unique) token for the type of user-interface element this state object will serialize/deserialize. | |
nlohmann::json | configuration () override |
Return the UI element's current, in-memory state to be serialized. | |
bool | configure (const nlohmann::json &data) override |
Using the deserialized configuration data, configure the user interface element to match it. | |
Public Member Functions inherited from smtk::view::UIElementState | |
smtkTypenameMacroBase (UIElementState) | |
Protected Slots | |
virtual void | resourceManagerAdded (pqSMTKWrapper *mgr, pqServer *server) |
virtual void | resourceManagerRemoved (pqSMTKWrapper *mgr, pqServer *server) |
Protected Attributes | |
smtk::extension::qtDiagram * | m_diagram { nullptr } |
smtk::view::ConfigurationPtr | m_view |
smtk::extension::qtUIManager * | m_viewUIMgr { nullptr } |
QPointer< QVBoxLayout > | m_layout |
The central widget's layout. | |
A panel that displays SMTK tasks available to the user.