Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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
4
#ifndef QPAUSEANIMATION_H
5
#define QPAUSEANIMATION_H
6
7
#include <QtCore/qanimationgroup.h>
8
9
QT_REQUIRE_CONFIG
(
animation
);
10
11
QT_BEGIN_NAMESPACE
12
13
class
QPauseAnimationPrivate
;
14
15
class
Q_CORE_EXPORT
QPauseAnimation
:
public
QAbstractAnimation
16
{
17
Q_OBJECT
18
Q_PROPERTY
(
int
duration READ duration WRITE
setDuration
BINDABLE bindableDuration)
19
public
:
20
QPauseAnimation
(
QObject
*parent =
nullptr
);
21
QPauseAnimation
(
int
msecs,
QObject
*parent =
nullptr
);
22
~QPauseAnimation
();
23
24
int
duration()
const override
;
25
void
setDuration
(
int
msecs);
26
QBindable<int> bindableDuration();
27
28
protected
:
29
bool
event
(
QEvent
*e)
override
;
30
void
updateCurrentTime(
int
)
override
;
31
32
private
:
33
Q_DISABLE_COPY(
QPauseAnimation
)
34
Q_DECLARE_PRIVATE(
QPauseAnimation
)
35
};
36
37
QT_END_NAMESPACE
38
39
#endif
// QPAUSEANIMATION_H
QAbstractAnimation
\inmodule QtCore
Definition
qabstractanimation.h:20
QEvent
\inmodule QtCore
Definition
qcoreevent.h:45
QObject
\inmodule QtCore
Definition
qobject.h:103
QPauseAnimationPrivate
Definition
qpauseanimation.cpp:35
QPauseAnimation
\inmodule QtCore
Definition
qpauseanimation.h:16
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
event
struct _cl_event * event
Definition
qopenglext.h:2998
QT_REQUIRE_CONFIG
#define QT_REQUIRE_CONFIG(feature)
Definition
qtconfigmacros.h:67
Q_PROPERTY
#define Q_PROPERTY(...)
Definition
qtmetamacros.h:56
Q_OBJECT
#define Q_OBJECT
Definition
qtmetamacros.h:119
animation
QPropertyAnimation animation
[0]
Definition
src_corelib_tools_qeasingcurve.cpp:17
setDuration
animation setDuration(1000)
qtbase
src
corelib
animation
qpauseanimation.h
Generated by
1.10.0