pqDockWindowInterface.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 pqDockWindowInterface_h
6 #define pqDockWindowInterface_h
7 
8 #include "pqComponentsModule.h"
9 #include <QString>
10 #include <QtPlugin>
11 class QDockWidget;
12 class QWidget;
13 
18 {
19 public:
21  virtual ~pqDockWindowInterface();
22 
23  virtual QString dockArea() const = 0;
24 
28  virtual QDockWidget* dockWindow(QWidget* p) = 0;
29 
30 private:
31  Q_DISABLE_COPY(pqDockWindowInterface)
32 };
33 
34 Q_DECLARE_INTERFACE(pqDockWindowInterface, "com.kitware/paraview/dockwindow")
35 
36 #endif
#define PQCOMPONENTS_EXPORT
Q_DECLARE_INTERFACE(pqViewFrameActionsInterface, "com.kitware/paraview/viewframeactions")
interface class for plugins that add a QDockWindow