51 : transformContext( transformContext )
60 bool loadDefaultStyle =
true;
73 bool skipCrsValidation =
false;
80 const QString &baseName = QString(),
81 const QString &provider = QString(),
92 SIP_PYOBJECT __repr__();
94 QString
str = QStringLiteral(
"<QgsTiledSceneLayer: '%1' (%2)>" ).arg( sipCpp->name(), sipCpp->dataProvider() ? sipCpp->dataProvider()->name() : QStringLiteral(
"Invalid" ) );
95 sipRes = PyUnicode_FromString(
str.toUtf8().constData() );
104 bool writeXml( QDomNode &layerNode, QDomDocument &doc, const
QgsReadWriteContext &context ) const override;
105 bool readSymbology( const QDomNode &node, QString &errorMessage,
107 bool readStyle( const QDomNode &node, QString &errorMessage,
QgsReadWriteContext &context, StyleCategories categories = AllStyleCategories )
FINAL;
108 bool writeSymbology( QDomNode &node, QDomDocument &doc, QString &errorMessage, const
QgsReadWriteContext &context,
109 StyleCategories categories = AllStyleCategories ) const override;
110 bool writeStyle( QDomNode &node, QDomDocument &doc, QString &errorMessage, const
QgsReadWriteContext &context, StyleCategories categories = AllStyleCategories ) const
FINAL;
112 QString encodedSource( const QString &source, const
QgsReadWriteContext &context ) const override;
113 QString decodedSource( const QString &source, const QString &dataProvider, const
QgsReadWriteContext &context ) const override;
114 QString loadDefaultStyle(
bool &resultFlag
SIP_OUT )
FINAL;
115 QString htmlMetadata() const override;
117 QString loadDefaultMetadata(
bool &resultFlag
SIP_OUT ) override;
145 void setDataSourcePrivate( const QString &dataSource, const QString &baseName, const QString &provider, const
QgsDataProvider::ProviderOptions &options,
QgsDataProvider::ReadFlags flags ) override;
149 bool isReadOnly() const override;
155 std::unique_ptr<QgsTiledSceneDataProvider> mDataProvider;
156 std::unique_ptr<QgsTiledSceneRenderer> mRenderer;
The class is used as a container of context for various read/write operations on other objects.
Contains information about the context of a rendering operation.