|
QGIS API Documentation 4.1.0-Master (3b8ef1f72a3)
|
Represents the context in which a QgsSymbolConverter conversion occurs. More...
#include <qgssymbolconverter.h>
Public Member Functions | |
| QgsSymbolConverterContext (QgsReadWriteContext &rwContext) | |
| Constructor for QgsSymbolConverterContext. | |
| QStringList | errors () const |
| Returns a list of errors which occurred during the conversion. | |
| void | pushError (const QString &error) |
| Pushes a error message generated during the conversion. | |
| void | pushWarning (const QString &warning) |
| Pushes a warning message generated during the conversion. | |
| QgsReadWriteContext & | readWriteContext () |
| Returns the read-write context associated with the context. | |
| void | setTypeHint (Qgis::SymbolType hint) |
| Sets the symbol type hint. | |
| Qgis::SymbolType | typeHint () const |
| Returns the symbol type hint, or Qgis::SymbolType::Hybrid if unknown. | |
| QStringList | warnings () const |
| Returns a list of warnings which occurred during the conversion. | |
Represents the context in which a QgsSymbolConverter conversion occurs.
Definition at line 34 of file qgssymbolconverter.h.
| QgsSymbolConverterContext::QgsSymbolConverterContext | ( | QgsReadWriteContext & | rwContext | ) |
Constructor for QgsSymbolConverterContext.
The rwContext object must exist for the lifetime of this context.
Definition at line 22 of file qgssymbolconverter.cpp.
|
inline |
Returns a list of errors which occurred during the conversion.
Definition at line 55 of file qgssymbolconverter.h.
|
inline |
Pushes a error message generated during the conversion.
Definition at line 63 of file qgssymbolconverter.h.
|
inline |
Pushes a warning message generated during the conversion.
Definition at line 79 of file qgssymbolconverter.h.
| QgsReadWriteContext & QgsSymbolConverterContext::readWriteContext | ( | ) |
Returns the read-write context associated with the context.
Definition at line 26 of file qgssymbolconverter.cpp.
|
inline |
Sets the symbol type hint.
Set to Qgis::SymbolType::Hybrid if unknown.
Definition at line 95 of file qgssymbolconverter.h.
|
inline |
Returns the symbol type hint, or Qgis::SymbolType::Hybrid if unknown.
Definition at line 86 of file qgssymbolconverter.h.
|
inline |
Returns a list of warnings which occurred during the conversion.
Definition at line 71 of file qgssymbolconverter.h.