Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qsvgeasinginterface_p.h
Go to the documentation of this file.
1// Copyright (C) 2025 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
6#ifndef QSVGEASINGINTERFACE_P_H
7#define QSVGEASINGINTERFACE_P_H
8
9//
10// W A R N I N G
11// -------------
12//
13// This file is not part of the Qt API. It exists purely as an
14// implementation detail. This header file may change from version to
15// version without notice, or even be removed.
16//
17// We mean it.
18//
19
20#include <QtSvg/private/qtsvgglobal_p.h>
21#include <memory>
22
24
26{
27 Q_DISABLE_COPY_MOVE(QSvgEasingInterface)
28public:
29 QSvgEasingInterface() = default;
30 virtual ~QSvgEasingInterface();
31 virtual qreal progress(qreal t) const = 0;
32};
33
34using QSvgEasingInterfacePtr = std::unique_ptr<QSvgEasingInterface>;
35
36QT_END_NAMESPACE
37
38#endif // QSVGEASINGINTERFACE_P_H
virtual Type type() const =0
Reimplement this function to return the paint engine \l{Type}.
bool isActive() const
Returns true if begin() has been called and end() has not yet been called; otherwise returns false.
QSet< QPrintEngine::PrintEnginePropertyKey > m_properties
Definition qprinter_p.h:102
QSvgAbstractAnimatedProperty(const QString &name, Type type)
std::vector< QSvgEasingInterfacePtr > m_easings
void appendEasing(QSvgEasingInterfacePtr easing)
static QSvgAbstractAnimatedProperty * createAnimatedProperty(const QString &name)
void setKeyFrames(const QList< qreal > &keyFrames)
void setPropertyName(const QString &name)
const QSvgEasingInterface * easingAt(unsigned int i) const
virtual void interpolate(uint index, qreal t) const =0
QList< QSvgAbstractAnimatedProperty * > properties() const
QSvgEasingInterface * easing() const
QSvgEasingInterfacePtr m_easing
void setRunningTime(int startMs, int durationMs)
void setEasing(QSvgEasingInterfacePtr easing)
virtual AnimationType animationType() const =0
virtual void appendProperty(QSvgAbstractAnimatedProperty *property)
void evaluateAnimation(qreal elapsedTime)
virtual qreal progress(qreal t) const =0
Combined button and popup list for selecting options.