pqLogViewerReaction.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 pqLogViewerReaction_h
6 #define pqLogViewerReaction_h
7 
8 #include <pqReaction.h>
9 
15 {
16  Q_OBJECT
17  typedef pqReaction Superclass;
18 
19 public:
20  pqLogViewerReaction(QAction* parentObject)
21  : Superclass(parentObject)
22  {
23  }
27  static void showLogViewer();
28 
29 protected:
34 
35 private:
36  Q_DISABLE_COPY(pqLogViewerReaction)
37 };
38 
39 #endif // pqLogViewerReaction_h
void onTriggered() override
Called when the action is triggered.
static void showLogViewer()
Pops up (or raises) the log viewer.
#define PQAPPLICATIONCOMPONENTS_EXPORT
This is a superclass just to make it easier to collect all such reactions.
Definition: pqReaction.h:25
pqLogViewerReaction(QAction *parentObject)
Reaction for showing the log viewer.