SMTK  @SMTK_VERSION@
Simulation Modeling Tool Kit
smtkDataSetInfoInspectorView.h
1 //=========================================================================
2 // Copyright (c) Kitware, Inc.
3 // All rights reserved.
4 // See LICENSE.txt for details.
5 //
6 // This software is distributed WITHOUT ANY WARRANTY; without even
7 // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
8 // PURPOSE. See the above copyright notice for more information.
9 //=========================================================================
10 
11 #ifndef smtkDataSetInfoInspectorView_h
12 #define smtkDataSetInfoInspectorView_h
13 
14 #include "smtk/extension/paraview/operators/Exports.h"
15 #include "smtk/extension/qt/qtBaseAttributeView.h"
16 #include <vtk_jsoncpp.h> // for Json::Value; must be in header due to VTK mangling
17 
18 class QColor;
19 class QIcon;
20 
22 class SMTKPQOPERATIONVIEWSPLUGIN_EXPORT smtkDataSetInfoInspectorView
24 {
25  Q_OBJECT
26 
27 public:
30 
32  ~smtkDataSetInfoInspectorView() override;
33 
34  static smtk::extension::qtBaseView* createViewWidget(const smtk::view::Information& info);
35 
36  bool displayItem(smtk::attribute::ItemPtr) const override;
37 
38 public Q_SLOTS: // NOLINT(readability-redundant-access-specifiers)
39  void updateUI() override;
40  void onShowCategory() override;
41 
42 protected Q_SLOTS:
43  virtual void requestOperation(const smtk::operation::OperationPtr& op);
45  void updateInfoTable(const smtk::attribute::AttributePtr& result);
46 
49  virtual void inputsChanged();
50 
51 protected: // NOLINT(readability-redundant-access-specifiers)
52  void createWidget() override;
53 
54 private:
55  class Internals;
56  Internals* m_p;
57 };
58 
59 #endif // smtkDataSetInfoInspectorView_h
smtkDataSetInfoInspectorView::Internals
Definition: smtkDataSetInfoInspectorView.cxx:44
smtk::extension::qtBaseAttributeView
Definition: qtBaseAttributeView.h:29
smtk::extension::qtBaseView
A base class for all view types implemented using Qt.
Definition: qtBaseView.h:46
smtk::operation::OperationPtr
smtk::shared_ptr< smtk::operation::Operation > OperationPtr
Definition: PublicPointerDefs.h:344
smtk::view::Information
A class for information passed to views during initialization.
Definition: Information.h:32
smtk::extension::qtBaseAttributeView::displayItem
virtual bool displayItem(smtk::attribute::ItemPtr) const
Determines if an item should be displayed.
Definition: qtBaseAttributeView.cxx:163
smtk::extension::qtBaseView::createWidget
virtual void createWidget()
Creates the main QT Widget that is associated with a View.
Definition: qtBaseView.h:125
smtkDataSetInfoInspectorView
UI component for assigning colors to entities.
Definition: smtkDataSetInfoInspectorView.h:22
smtk::attribute::AttributePtr
smtk::shared_ptr< smtk::attribute::Attribute > AttributePtr
Definition: PublicPointerDefs.h:456
smtk::extension::qtBaseView::updateUI
virtual void updateUI()
Have the view update its contents.
Definition: qtBaseView.h:108
smtkSuperclassMacro
#define smtkSuperclassMacro(...)
Add a typedef to the superclass of this class.
Definition: SharedFromThis.h:87
smtk::attribute::ItemPtr
smtk::shared_ptr< smtk::attribute::Item > ItemPtr
Definition: PublicPointerDefs.h:467
smtkTypenameMacro
#define smtkTypenameMacro(...)
Add typedefs to a class for identifcation.
Definition: SharedFromThis.h:68