forked from Kitware/ParaView
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pqActionGroupImplementation.h.in
34 lines (27 loc) · 1.1 KB
/
pqActionGroupImplementation.h.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
// SPDX-FileCopyrightText: Copyright (c) Sandia Corporation
// SPDX-License-Identifier: BSD-3-Clause
// Generated file. Do not edit.
#ifndef @_paraview_action_group_CLASS_NAME@Implementation_h
#define @_paraview_action_group_CLASS_NAME@Implementation_h
#include "pqActionGroupInterface.h"
#include <QObject>
/// interface class for plugins that create QActionGroups
/// for adding actions to menus and toolbars
class @_paraview_action_group_CLASS_NAME@Implementation : public QObject, public pqActionGroupInterface
{
Q_OBJECT
Q_INTERFACES(pqActionGroupInterface)
public:
@_paraview_action_group_CLASS_NAME@Implementation(QObject* p);
~@_paraview_action_group_CLASS_NAME@Implementation() override;
/// the identifier for this action group
/// return "ToolBar/MyTools to put them in a toolbar called MyTools
/// return "MenuBar/MyMenu to put the actions under MyMenu
QString groupName() override;
/// the instance of the QActionGroup that defines the actions
QActionGroup* actionGroup() override;
protected:
QActionGroup* ActionGroup;
};
#endif