-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathpq3DViewEventPlayer.h
36 lines (28 loc) · 1012 Bytes
/
pq3DViewEventPlayer.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
// SPDX-FileCopyrightText: Copyright (c) Sandia Corporation
// SPDX-License-Identifier: BSD-3-Clause
#ifndef _pq3DViewEventPlayer_h
#define _pq3DViewEventPlayer_h
#include "pqWidgetEventPlayer.h"
/**
Concrete implementation of pqWidgetEventPlayer that handles playback of "activate" events for 3d
views.
It is not registered by default, and user can register with their own 3d view type.
\sa pqEventPlayer
*/
class QTTESTING_EXPORT pq3DViewEventPlayer : public pqWidgetEventPlayer
{
Q_OBJECT
typedef pqWidgetEventPlayer Superclass;
public:
pq3DViewEventPlayer(const QByteArray& classname, QObject* p = 0);
using Superclass::playEvent;
bool playEvent(
QObject* Object, const QString& Command, const QString& Arguments, bool& Error) override;
protected:
QByteArray mClassType;
private:
pq3DViewEventPlayer(const pq3DViewEventPlayer&);
pq3DViewEventPlayer& operator=(const pq3DViewEventPlayer&);
};
#endif // !_pq3DViewEventPlayer_h