![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
The QQuickImageProviderOptions class provides options for QQuickImageProviderWithOptions image requests. More...
#include <qquickpixmap_p.h>
Public Types | |
enum | AutoTransform { UsePluginDefaultTransform = -1 , ApplyTransform = 0 , DoNotApplyTransform = 1 } |
Whether the image provider should apply transformation metadata on read(). More... |
The QQuickImageProviderOptions class provides options for QQuickImageProviderWithOptions image requests.
\inmodule QtQuick
Definition at line 58 of file qquickpixmap_p.h.
Whether the image provider should apply transformation metadata on read().
\value UsePluginDefaultTransform Image provider should do its default behavior on whether applying transformation metadata on read or not \value ApplyTransform Image provider should apply transformation metadata on read \value DoNotApplyTransform Image provider should not apply transformation metadata on read
Enumerator | |
---|---|
UsePluginDefaultTransform | |
ApplyTransform | |
DoNotApplyTransform |
Definition at line 61 of file qquickpixmap_p.h.
QQuickImageProviderOptions::QQuickImageProviderOptions | ( | ) |
Definition at line 507 of file qquickimageprovider.cpp.
QQuickImageProviderOptions::~QQuickImageProviderOptions | ( | ) |
Definition at line 512 of file qquickimageprovider.cpp.
QQuickImageProviderOptions::QQuickImageProviderOptions | ( | const QQuickImageProviderOptions & | other | ) |
Definition at line 516 of file qquickimageprovider.cpp.
QQuickImageProviderOptions::AutoTransform QQuickImageProviderOptions::autoTransform | ( | ) | const |
Returns whether the image provider should apply transformation metadata on read().
Definition at line 538 of file qquickimageprovider.cpp.
QQuickImageProviderOptions & QQuickImageProviderOptions::operator= | ( | const QQuickImageProviderOptions & | other | ) |
Definition at line 521 of file qquickimageprovider.cpp.
bool QQuickImageProviderOptions::operator== | ( | const QQuickImageProviderOptions & | other | ) | const |
Definition at line 527 of file qquickimageprovider.cpp.
bool QQuickImageProviderOptions::preserveAspectRatioCrop | ( | ) | const |
Returns whether the image request is for a PreserveAspectCrop Image.
This allows the provider to better optimize the size of the returned image.
Definition at line 552 of file qquickimageprovider.cpp.
bool QQuickImageProviderOptions::preserveAspectRatioFit | ( | ) | const |
Returns whether the image request is for a PreserveAspectFit Image.
This allows the provider to better optimize the size of the returned image.
Definition at line 566 of file qquickimageprovider.cpp.
void QQuickImageProviderOptions::setAutoTransform | ( | QQuickImageProviderOptions::AutoTransform | autoTransform | ) |
Definition at line 543 of file qquickimageprovider.cpp.
void QQuickImageProviderOptions::setPreserveAspectRatioCrop | ( | bool | preserveAspectRatioCrop | ) |
Definition at line 557 of file qquickimageprovider.cpp.
void QQuickImageProviderOptions::setPreserveAspectRatioFit | ( | bool | preserveAspectRatioFit | ) |
Definition at line 571 of file qquickimageprovider.cpp.
Definition at line 597 of file qquickimageprovider.cpp.
void QQuickImageProviderOptions::setTargetColorSpace | ( | const QColorSpace & | colorSpace | ) |
Definition at line 584 of file qquickimageprovider.cpp.
QRectF QQuickImageProviderOptions::sourceClipRect | ( | ) | const |
Returns the requested source clip rect.
Definition at line 592 of file qquickimageprovider.cpp.
QColorSpace QQuickImageProviderOptions::targetColorSpace | ( | ) | const |
Returns the color space the image provider should return the image in.
Definition at line 579 of file qquickimageprovider.cpp.