pqToolBarInterface.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 pqToolBarInterface_h
5 #define pqToolBarInterface_h
6 
7 #include "pqComponentsModule.h"
8 #include <QObject>
9 
18 class QToolBar;
20 {
21 public:
23  virtual ~pqToolBarInterface();
24 
25  virtual QToolBar* toolBar(QWidget* parentWidget) = 0;
26 
27 private:
28  Q_DISABLE_COPY(pqToolBarInterface)
29 };
30 
31 Q_DECLARE_INTERFACE(pqToolBarInterface, "com.kitware/paraview/toolbar")
32 #endif
#define PQCOMPONENTS_EXPORT
Q_DECLARE_INTERFACE(pqViewFrameActionsInterface, "com.kitware/paraview/viewframeactions")
Interface class for plugins that add a QToolBar to the main window.