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 
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
Widget which provides an editor for the properties of a representation.
#define PQCOMPONENTS_EXPORT
Q_DECLARE_INTERFACE(pqViewFrameActionsInterface, "com.kitware/paraview/viewframeactions")
This is PQ representation for a single representation.
interface class for plugins that create pqDisplayPanels