SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
|
10 #ifndef smtk_extension_paraview_appcomponents_pqSMTKAttributePanel_h
11 #define smtk_extension_paraview_appcomponents_pqSMTKAttributePanel_h
13 #include "smtk/extension/paraview/appcomponents/smtkPQComponentsExtModule.h"
15 #include "smtk/extension/qt/qtUIManager.h"
17 #include "smtk/project/Observer.h"
18 #include "smtk/resource/Observer.h"
19 #include "smtk/task/Task.h"
23 #include "pqPropertyLinks.h"
25 #include "smtk/extension/paraview/appcomponents/pqQtKeywordWrapping.h"
30 class pqPipelineSource;
45 typedef QWidget Superclass;
54 void titleChanged(QString title);
62 virtual bool displayPipelineSource(pqPipelineSource* psrc);
69 virtual bool displayResource(
72 int advancedlevel = 0);
83 virtual bool displayResourceOnServer(
86 int advancedlevel = 0);
103 virtual bool updatePipeline();
124 virtual void updateSettings();
133 virtual void displayActivePipelineSource(
bool doDisplay);
141 virtual void observeProjectsOnServer(pqSMTKWrapper* mgr, pqServer* server);
142 virtual void unobserveProjectsOnServer(pqSMTKWrapper* mgr, pqServer* server);
148 virtual bool updateManagers(
const std::shared_ptr<smtk::common::Managers>& managers);
151 virtual bool displayResourceInternal(
154 int advancedlevel = 0);
161 virtual void activeTaskStateChange(
167 std::weak_ptr<smtk::resource::Resource> m_rsrc;
171 smtk::resource::Observers::Key m_observer;
172 pqPropertyLinks m_propertyLinks;
173 std::map<smtk::project::ManagerPtr, smtk::project::Observers::Key> m_projectManagerObservers;
174 smtk::task::Active::Observers::Key m_activeObserverKey;
175 smtk::task::Task::Observers::Key m_currentTaskObserverKey;
179 #endif // smtk_extension_paraview_appcomponents_pqSMTKAttributePanel_h
Container for managers whose content is presented via Qt widgets.
Definition: qtUIManager.h:57
smtk::shared_ptr< smtk::view::Selection > SelectionPtr
Definition: PublicPointerDefs.h:641
A panel that displays a single SMTK resource for editing by the user.
Definition: pqSMTKAttributePanel.h:42
A Project represents an encapsulation of a subset of SMTK's Resources and Operations for the purpose ...
Definition: Project.h:43
State
The set of states that a task may take on.
Definition: State.h:29
smtk::shared_ptr< smtk::operation::Manager > ManagerPtr
Definition: PublicPointerDefs.h:355
smtk::shared_ptr< smtk::view::Manager > ManagerPtr
Definition: PublicPointerDefs.h:633
smtk::shared_ptr< smtk::view::Configuration > ConfigurationPtr
Definition: PublicPointerDefs.h:649
Task is a base class for all SMTK tasks.
Definition: Task.h:73
smtk::shared_ptr< smtk::resource::Manager > ManagerPtr
Definition: PublicPointerDefs.h:288
EventType
Enumerate events that the project manager may encounter.
Definition: Observer.h:22
smtk::shared_ptr< smtk::attribute::Resource > ResourcePtr
Definition: PublicPointerDefs.h:611