diff options
Diffstat (limited to 'src/Runtime/ogl-runtime')
-rw-r--r-- | src/Runtime/ogl-runtime/src/api/studio3dqml/q3dspresentationitem.cpp | 12 | ||||
-rw-r--r-- | src/Runtime/ogl-runtime/src/api/studio3dqml/q3dspresentationitem_p.h | 1 |
2 files changed, 7 insertions, 6 deletions
diff --git a/src/Runtime/ogl-runtime/src/api/studio3dqml/q3dspresentationitem.cpp b/src/Runtime/ogl-runtime/src/api/studio3dqml/q3dspresentationitem.cpp index 407739e5..6372f2fa 100644 --- a/src/Runtime/ogl-runtime/src/api/studio3dqml/q3dspresentationitem.cpp +++ b/src/Runtime/ogl-runtime/src/api/studio3dqml/q3dspresentationitem.cpp @@ -69,6 +69,11 @@ QT_BEGIN_NAMESPACE is changed in the presentation by animation timeline, by behavior scripts or by a \l{DataInput}. + The Presentation type handles child objects of the types \l Element, \l + SceneElement, \l DataInput, and \l SubPresentationSettings specially. These + will get automatically associated with the presentation and can control + certain aspects of it from that point on. + From the API point of view Presentation corresponds to the main presentation. The source property can refer either to a \c{.uia} or \c{.uip} file. When specifying a file with \c{.uip} @@ -86,12 +91,9 @@ Q3DSPresentationItem::~Q3DSPresentationItem() { } -// #TODO: QT3DS-3565 subPresentationSettings is missing documentation /*! - \qmlproperty SubPresentationSettings Presentation::subPresentationSettings - - Note: This property is read-only. - */ + Returns the \l SubPresentationSettings associated with this presentation. +*/ Q3DSSubPresentationSettings *Q3DSPresentationItem::subPresentationSettings() const { return m_subPresentationSettings; diff --git a/src/Runtime/ogl-runtime/src/api/studio3dqml/q3dspresentationitem_p.h b/src/Runtime/ogl-runtime/src/api/studio3dqml/q3dspresentationitem_p.h index 757f34fa..216f73a0 100644 --- a/src/Runtime/ogl-runtime/src/api/studio3dqml/q3dspresentationitem_p.h +++ b/src/Runtime/ogl-runtime/src/api/studio3dqml/q3dspresentationitem_p.h @@ -52,7 +52,6 @@ class Q3DSPresentationItem : public Q3DSPresentation { Q_OBJECT Q_PROPERTY(QQmlListProperty<QObject> qmlChildren READ qmlChildren DESIGNABLE false) - Q_PROPERTY(Q3DSSubPresentationSettings *subPresentationSettings READ subPresentationSettings CONSTANT) Q_CLASSINFO("DefaultProperty", "qmlChildren") public: |