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 
14 class PQAPPLICATIONCOMPONENTS_EXPORT pqLogViewerReaction : public pqReaction
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
pqReaction.h
pqLogViewerReaction::pqLogViewerReaction
pqLogViewerReaction(QAction *parentObject)
Definition: pqLogViewerReaction.h:20
pqLogViewerReaction
Definition: pqLogViewerReaction.h:14
pqLogViewerReaction::showLogViewer
static void showLogViewer()
Pops up (or raises) the log viewer.
pqLogViewerReaction::onTriggered
void onTriggered() override
Called when the action is triggered.
Definition: pqLogViewerReaction.h:33
pqReaction
Definition: pqReaction.h:25