Qt
Components
pqKeyFrameTimeValidator.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 pqKeyFrameTimeValidator_h
5
#define pqKeyFrameTimeValidator_h
6
7
#include "
pqComponentsModule.h
"
8
#include <QDoubleValidator>
9
10
class
pqAnimationScene
;
11
class
vtkSMDomain
;
12
13
class
PQCOMPONENTS_EXPORT
pqKeyFrameTimeValidator
:
public
QDoubleValidator
14
{
15
Q_OBJECT
16
typedef
QDoubleValidator Superclass;
17
18
public
:
19
pqKeyFrameTimeValidator
(QObject* parent);
20
~
pqKeyFrameTimeValidator
()
override
;
21
22
// Set the AnimationScene. The ClockTimeRange from the time
23
// keeper is used to determine the scale factor for the
24
// range for this validator.
25
void
setAnimationScene(
pqAnimationScene
* timekeeper);
26
27
// Set the domain which for this key time. Domain provides
28
// the normalized range for this validator.
29
void
setDomain(
vtkSMDomain
* domain);
30
31
protected
Q_SLOTS:
32
void
onDomainModified();
33
34
private
:
35
class
pqInternals;
36
pqInternals* Internals;
37
};
38
39
#endif
pqComponentsModule.h
PQCOMPONENTS_EXPORT
#define PQCOMPONENTS_EXPORT
Definition:
pqComponentsModule.h:15
pqKeyFrameTimeValidator
Definition:
pqKeyFrameTimeValidator.h:13
vtkSMDomain
represents the possible values a property can have
Definition:
vtkSMDomain.h:37
pqAnimationScene
pqAnimationScene is a representation for a vtkSMAnimationScene proxy.
Definition:
pqAnimationScene.h:21
Generated by
1.8.13 on Tue Oct 1 2024