pqSearchItemReaction.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 pqSearchItemReaction_h
5 #define pqSearchItemReaction_h
6 
7 #include "pqReaction.h"
8 
9 #include <QPointer>
10 
11 class pqProxy;
12 class QWidget;
13 
18 class PQAPPLICATIONCOMPONENTS_EXPORT pqSearchItemReaction : pqReaction
19 {
20  Q_OBJECT
21  typedef pqReaction Superclass;
22 
23 public:
24  pqSearchItemReaction(QAction* filterAction);
25 
26 protected Q_SLOTS:
30  void onTriggered() override;
31  void updateEnableState() override;
32 };
33 
34 #endif
virtual void updateEnableState()
Definition: pqReaction.h:48
Reaction to filter item widgets.
This is a superclass just to make it easier to collect all such reactions.
Definition: pqReaction.h:25
This class represents any registered Server Manager proxy.
Definition: pqProxy.h:28
virtual void onTriggered()
Called when the action is triggered.
Definition: pqReaction.h:46