Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qpauseanimation.h
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
// Qt-Security score:significant reason:default
4
5
#
ifndef
QPAUSEANIMATION_H
6
#
define
QPAUSEANIMATION_H
7
8
#
include
<
QtCore
/
qanimationgroup
.
h
>
9
10
QT_REQUIRE_CONFIG
(
animation
);
11
12
QT_BEGIN_NAMESPACE
13
14
class
QPauseAnimationPrivate;
15
16
class
Q_CORE_EXPORT
QPauseAnimation
:
public
QAbstractAnimation
17
{
18
Q_OBJECT
19
Q_PROPERTY(
int
duration READ duration WRITE setDuration BINDABLE bindableDuration)
20
public
:
21
QPauseAnimation(QObject *parent =
nullptr
);
22
QPauseAnimation(
int
msecs, QObject *parent =
nullptr
);
23
~QPauseAnimation();
24
25
int
duration()
const
override;
26
void
setDuration(
int
msecs);
27
QBindable<
int
> bindableDuration();
28
29
protected
:
30
bool
event(QEvent *e) override;
31
void
updateCurrentTime(
int
) override;
32
33
private
:
34
Q_DISABLE_COPY(QPauseAnimation)
35
Q_DECLARE_PRIVATE(QPauseAnimation)
36
};
37
38
QT_END_NAMESPACE
39
40
#
endif
// QPAUSEANIMATION_H
QPauseAnimationPrivate
Definition
qpauseanimation.cpp:36
QPauseAnimation
\inmodule QtCore
Definition
qpauseanimation.h:17
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
QT_REQUIRE_CONFIG
QT_REQUIRE_CONFIG(animation)
qtbase
src
corelib
animation
qpauseanimation.h
Generated on
for Qt by
1.18.0