pqHelpReaction.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 pqHelpReaction_h
5 #define pqHelpReaction_h
6 
7 #include "pqReaction.h"
8 
16 {
17  Q_OBJECT
18  typedef pqReaction Superclass;
19 
20 public:
21  pqHelpReaction(QAction* parent);
22 
26  static void showHelp();
27 
31  static void showHelp(const QString& url);
32 
36  static void showProxyHelp(const QString& group, const QString& name);
37 
38 protected:
42  void onTriggered() override { pqHelpReaction::showHelp(); }
43 
44 private:
45  Q_DISABLE_COPY(pqHelpReaction)
46 };
47 
48 #endif
#define PQAPPLICATIONCOMPONENTS_EXPORT
This is a superclass just to make it easier to collect all such reactions.
Definition: pqReaction.h:25
name
url
pqHelpReaction is reaction to show application help using Qt assistant.
static void showHelp()
Show help for the application.
void onTriggered() override
Called when the action is triggered.