C
Q3DSQmlStream Class
Allows streaming of QML as subpresentation. More...
Header: | #include <Q3DSQmlStream> |
Since: | Qt 3D Studio 2.0 |
Instantiated By: | QmlStream |
Inherits: | QObject |
This class was introduced in Qt 3D Studio 2.0.
Properties
- item : QQuickItem*
- presentationId : QString
Public Functions
Q3DSQmlStream(QObject *parent = nullptr) | |
QQuickItem * | item() const |
QString | presentationId() const |
Public Slots
void | setItem(QQuickItem *item) |
void | setPresentationId(const QString presentationId) |
Signals
void | itemChanged(QQuickItem *item) |
void | presentationIdChanged(const QString presentationId) |
Property Documentation
item : QQuickItem*
Contains the QQuickItem to be streamed as subpresentation.
Note: The Item width and height will be scaled up to the nearest divisible-by-four number to avoid rendering artefacts. If you wish to have pixel perfect outcome, define your QML stream items to use size that already has dimensions that are divisible by four.
Access functions:
QQuickItem * | item() const |
void | setItem(QQuickItem *item) |
Notifier signal:
void | itemChanged(QQuickItem *item) |
presentationId : QString
Contains the presentation id of this subpresentation.
Access functions:
QString | presentationId() const |
void | setPresentationId(const QString presentationId) |
Notifier signal:
void | presentationIdChanged(const QString presentationId) |
Member Function Documentation
Q3DSQmlStream::Q3DSQmlStream(QObject *parent = nullptr)
Constructs a Q3DSQmlStream object with parent as parent.
Available under certain Qt licenses.
Find out more.