QRenderCaptureReply Class
(Qt3DRender::QRenderCaptureReply)Receives the result of render capture request. More...
| Header: | #include <Qt3DRender/QRenderCaptureReply> |
| qmake: | QT += 3drender |
| Since: | Qt 5.8 |
| Instantiated By: | RenderCaptureReply |
| Inherits: | QObject |
This class was introduced in Qt 5.8.
Properties
- 1 property inherited from QObject
Public Functions
| int | captureId() const |
| QImage | image() const |
| bool | isComplete() const |
| bool | saveImage(const QString &fileName) const |
- 30 public functions inherited from QObject
Signals
| void | completed() |
- 2 signals inherited from QObject
Related Non-Members
| typedef | QObjectList |
| QList<T> | qFindChildren(const QObject *obj, const QRegExp ®Exp) |
| T | qobject_cast(QObject *object) |
| T | qobject_cast(const QObject *object) |
Macros
| QT_NO_NARROWING_CONVERSIONS_IN_CONNECT | |
| Q_CLASSINFO(Name, Value) | |
| Q_DISABLE_COPY(Class) | |
| Q_DISABLE_COPY_MOVE(Class) | |
| Q_DISABLE_MOVE(Class) | |
| Q_EMIT | |
| Q_ENUM(...) | |
| Q_ENUM_NS(...) | |
| Q_FLAG(...) | |
| Q_FLAG_NS(...) | |
| Q_GADGET | |
| Q_INTERFACES(...) | |
| Q_INVOKABLE | |
| Q_NAMESPACE | |
| Q_OBJECT | |
| Q_PROPERTY(...) | |
| Q_REVISION | |
| Q_SET_OBJECT_NAME(Object) | |
| Q_SIGNAL | |
| Q_SIGNALS | |
| Q_SLOT | |
| Q_SLOTS |
Additional Inherited Members
- 1 public slot inherited from QObject
- 9 static public members inherited from QObject
- 9 protected functions inherited from QObject
Detailed Description
An object, which receives the image from QRenderCapture::requestCapture.
Property Documentation
captureId : const int
Holds the captureId, which was passed to the renderCapture.
Access functions:
| int | captureId() const |
complete : const bool
Holds the complete state of the render capture.
Access functions:
| bool | isComplete() const |
Notifier signal:
| void | completed() |
image : const QImage
Holds the image, which was produced as a result of render capture.
Access functions:
| QImage | image() const |
Member Function Documentation
bool QRenderCaptureReply::saveImage(const QString &fileName) const
Saves the render capture result as an image to fileName.
Returns true if the image was successfully saved; otherwise returns false.
This function was introduced in Qt 5.9.
Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.