pqLoadRestoreWindowLayoutReaction.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 pqLoadRestoreWindowLayoutReaction_h
5 #define pqLoadRestoreWindowLayoutReaction_h
6 
7 #include "pqReaction.h"
8 
17 {
18  Q_OBJECT
19  typedef pqReaction Superclass;
20 
21 public:
22  pqLoadRestoreWindowLayoutReaction(bool load, QAction* parent = nullptr);
24 
25 protected:
29  void onTriggered() override;
30 
31 private:
32  Q_DISABLE_COPY(pqLoadRestoreWindowLayoutReaction)
33  bool Load;
34 };
35 
36 #endif
#define PQAPPLICATIONCOMPONENTS_EXPORT
load
This is a superclass just to make it easier to collect all such reactions.
Definition: pqReaction.h:25
Reaction to support saving/restoring main window geometry/layout.
virtual void onTriggered()
Called when the action is triggered.
Definition: pqReaction.h:46