pqSpreadSheetView.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-FileCopyrightText: Copyright (c) Sandia Corporation
3 // SPDX-License-Identifier: BSD-3-Clause
4 #ifndef pqSpreadSheetView_h
5 #define pqSpreadSheetView_h
6 
7 #include "pqView.h"
8 
9 class vtkSMSourceProxy;
12 
19 {
20  Q_OBJECT
21  typedef pqView Superclass;
22 
23 public:
24  static QString spreadsheetViewType() { return "SpreadSheetView"; }
25 
26  pqSpreadSheetView(const QString& group, const QString& name, vtkSMViewProxy* viewModule,
27  pqServer* server, QObject* parent = nullptr);
28  ~pqSpreadSheetView() override;
29 
33  pqSpreadSheetViewModel* getViewModel();
34 
39  pqDataRepresentation* activeRepresentation() const;
40 
41 Q_SIGNALS:
46  void showing(pqDataRepresentation* repr);
47  void viewportUpdated();
48 
49 public Q_SLOTS:
53  void onAddRepresentation(pqRepresentation*);
54 
55 protected Q_SLOTS:
59  void updateRepresentationVisibility(pqRepresentation* repr, bool visible);
60 
64  void onEndRender();
65 
69  void onCreateSelection(vtkSMSourceProxy* selSource);
70 
74  void onSelectionOnly();
75 
79  void onFontSizeChanged();
80 
84  QWidget* createWidget() override;
85 
86 private:
87  Q_DISABLE_COPY(pqSpreadSheetView)
88 
89  class pqInternal;
90  pqInternal* Internal;
91 };
92 
93 #endif
pqDataRepresentation is the superclass for a display for a pqPipelineSource i.e.
static QString spreadsheetViewType()
Superclass for all view proxies.
This is PQ representation for a single representation.
This is a PQ abstraction of a generic view module.
Definition: pqView.h:26
View for spread-sheet view.
name
proxy for a VTK source on a server
#define PQCORE_EXPORT
Definition: pqCoreModule.h:15
virtual QWidget * createWidget()=0
Subclasses must override this method to create a widget for the view.
pqServer (should be renamed to pqSession) is a pqServerManagerModelItem subclass that represents a vt...
Definition: pqServer.h:35