pqActionGroupInterface.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 pqActionGroupInterface_h
6 #define pqActionGroupInterface_h
7 
8 #include "pqComponentsModule.h"
9 #include <QtPlugin>
10 class QActionGroup;
11 
17 {
18 public:
20  virtual ~pqActionGroupInterface();
21 
27  virtual QString groupName() = 0;
28 
32  virtual QActionGroup* actionGroup() = 0;
33 };
34 
35 Q_DECLARE_INTERFACE(pqActionGroupInterface, "com.kitware/paraview/actiongroup")
36 
37 #endif
interface class for plugins that create QActionGroups for adding actions to menus and toolbars ...
#define PQCOMPONENTS_EXPORT
Q_DECLARE_INTERFACE(pqViewFrameActionsInterface, "com.kitware/paraview/viewframeactions")