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
10
12
14
15class Q_CORE_EXPORT QPauseAnimation : public QAbstractAnimation
16{
18 Q_PROPERTY(int duration READ duration WRITE setDuration BINDABLE bindableDuration)
19public:
20 QPauseAnimation(QObject *parent = nullptr);
21 QPauseAnimation(int msecs, QObject *parent = nullptr);
23
24 int duration() const override;
25 void setDuration(int msecs);
26 QBindable<int> bindableDuration();
27
28protected:
29 bool event(QEvent *e) override;
30 void updateCurrentTime(int) override;
31
32private:
33 Q_DISABLE_COPY(QPauseAnimation)
34 Q_DECLARE_PRIVATE(QPauseAnimation)
35};
36
38
39#endif // QPAUSEANIMATION_H
\inmodule QtCore
Definition qcoreevent.h:45
\inmodule QtCore
Definition qobject.h:103
\inmodule QtCore
Combined button and popup list for selecting options.
struct _cl_event * event
#define QT_REQUIRE_CONFIG(feature)
#define Q_PROPERTY(...)
#define Q_OBJECT
QPropertyAnimation animation
[0]
animation setDuration(1000)