pqDisplayPanelInterface.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 
5 #ifndef pqDisplayPanelInterface_h
6 #define pqDisplayPanelInterface_h
7 
8 #include "pqComponentsModule.h"
9 #include <QtPlugin>
10 class pqDisplayPanel;
11 class pqRepresentation;
12 class QWidget;
13 
17 class PQCOMPONENTS_EXPORT pqDisplayPanelInterface
18 {
19 public:
23  virtual ~pqDisplayPanelInterface();
24 
28  virtual bool canCreatePanel(pqRepresentation* display) const = 0;
32  virtual pqDisplayPanel* createPanel(pqRepresentation* display, QWidget* parent) = 0;
33 };
34 
35 Q_DECLARE_INTERFACE(pqDisplayPanelInterface, "com.kitware/paraview/displaypanel")
36 
37 #endif
Q_DECLARE_INTERFACE
Q_DECLARE_INTERFACE(pqViewFrameActionsInterface, "com.kitware/paraview/viewframeactions")
pqRepresentation
This is PQ representation for a single representation.
Definition: pqRepresentation.h:19
pqDisplayPanel
Widget which provides an editor for the properties of a representation.
Definition: pqDisplayPanel.h:16
pqDisplayPanelInterface
interface class for plugins that create pqDisplayPanels
Definition: pqDisplayPanelInterface.h:17