QAbstractSceneParser Class

Inherits: QObject
Inherited By:


Public Types

enum ParserStatus { Empty, Loading, Loaded, Error }


  • 1 property inherited from QObject

Public Functions

virtual ~QAbstractSceneParser()
QStringList errors() const
virtual bool isExtensionSupported(const QUrl &source) const = 0
virtual Qt3DCore::QEntity *node(const QString &id) = 0
ParserStatus parserStatus() const
virtual Qt3DCore::QEntity *scene(const QString &id = QString()) = 0
virtual void setSource(const QUrl &source) = 0
  • 31 public functions inherited from QObject


void errorsChanged(const QStringList &errors)
void parserStatusChanged(ParserStatus parserStatus)

Protected Functions

void logError(const QString &error)
void logInfo(const QString &info)
void setParserStatus(ParserStatus parserStatus)
  • 9 protected functions inherited from QObject

Additional Inherited Members

  • 1 public slot inherited from QObject
  • 11 static public members inherited from QObject

Member Type Documentation

enum QAbstractSceneParser::ParserStatus

Property Documentation

errors : const QStringList

Access functions:

QStringList errors() const

Notifier signal:

void errorsChanged(const QStringList &errors)

parserStatus : const ParserStatus

Access functions:

ParserStatus parserStatus() const

Notifier signal:

void parserStatusChanged(ParserStatus parserStatus)

Member Function Documentation


Default constructs an instance of QAbstractSceneParser.

[virtual] QAbstractSceneParser::~QAbstractSceneParser()

Destroys the instance of QAbstractSceneParser. The destructor is virtual.

[pure virtual] bool QAbstractSceneParser::isExtensionSupported(const QUrl &source) const

[protected] void QAbstractSceneParser::logError(const QString &error)

[protected] void QAbstractSceneParser::logInfo(const QString &info)

[pure virtual] Qt3DCore::QEntity *QAbstractSceneParser::node(const QString &id)

[pure virtual] Qt3DCore::QEntity *QAbstractSceneParser::scene(const QString &id = QString())

[protected] void QAbstractSceneParser::setParserStatus(ParserStatus parserStatus)

See also parserStatus().

[pure virtual] void QAbstractSceneParser::setSource(const QUrl &source)

© 2017 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.