pqColorDialogEventPlayer.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 pqColorDialogEventPlayer_h
5 #define pqColorDialogEventPlayer_h
6 
7 #include "pqWidgetEventPlayer.h"
8 #include "pqWidgetsModule.h" // needed for EXPORT macro.
9 
14 class PQWIDGETS_EXPORT pqColorDialogEventPlayer : public pqWidgetEventPlayer
15 {
16  Q_OBJECT
17  typedef pqWidgetEventPlayer Superclass;
18 
19 public:
20  pqColorDialogEventPlayer(QObject* parent = nullptr);
21  ~pqColorDialogEventPlayer() override;
22 
23  using Superclass::playEvent;
24  bool playEvent(
25  QObject* object, const QString& command, const QString& arguments, bool& error) override;
26 
27  static const QString& EVENT_NAME();
28 
29 private:
30  Q_DISABLE_COPY(pqColorDialogEventPlayer)
31 };
32 
33 #endif
#define PQWIDGETS_EXPORT
pqColorDialogEventPlayer is the player for QColorDialog.