|
| QgsProjectStyleSettings (QgsProject *project=nullptr) |
| Constructor for QgsProjectStyleSettings for the specified project. More...
|
|
| ~QgsProjectStyleSettings () override |
|
void | addStyleDatabasePath (const QString &path) |
| Adds a style database path to the project. More...
|
|
QgsCombinedStyleModel * | combinedStyleModel () |
| Returns the combined style model which includes all style databases associated with the project. More...
|
|
QgsColorRamp * | defaultColorRamp () const SIP_FACTORY |
| Returns the project default color ramp. More...
|
|
QgsSymbol * | defaultSymbol (Qgis::SymbolType symbolType) const SIP_FACTORY |
| Returns the project default symbol for a given type. More...
|
|
double | defaultSymbolOpacity () const |
| Returns the default symbol opacity. More...
|
|
QgsTextFormat | defaultTextFormat () const |
| Returns the project default text format. More...
|
|
QgsStyle * | projectStyle () |
| Returns the style database to use for project specific styles. More...
|
|
bool | randomizeDefaultSymbolColor () const |
| Returns whether the default symbol fill color is randomized. More...
|
|
bool | readXml (const QDomElement &element, const QgsReadWriteContext &context, Qgis::ProjectReadFlags flags=Qgis::ProjectReadFlags()) |
| Reads the settings's state from a DOM element. More...
|
|
void | reset () |
| Resets the settings to a default state. More...
|
|
void | setDefaultColorRamp (QgsColorRamp *colorRamp) |
| Sets the project default color ramp. More...
|
|
void | setDefaultSymbol (Qgis::SymbolType symbolType, QgsSymbol *symbol) |
| Sets the project default symbol for a given type. More...
|
|
void | setDefaultSymbolOpacity (double opacity) |
| Sets the default symbol opacity. More...
|
|
void | setDefaultTextFormat (const QgsTextFormat &textFormat) |
| Sets the project default text format. More...
|
|
void | setProjectStyle (QgsStyle *style SIP_TRANSFER) |
| Sets the style database to use for the project style. More...
|
|
void | setRandomizeDefaultSymbolColor (bool randomized) |
| Sets whether the default symbol fill color is randomized. More...
|
|
void | setStyleDatabasePaths (const QStringList &paths) |
| Sets the paths to all style databases associated with the project. More...
|
|
QgsStyle * | styleAtPath (const QString &path) |
| Returns a reference to the style database associated with the project with matching file path. More...
|
|
QStringList | styleDatabasePaths () const |
| Returns a list of all style databases (file paths) associated with the project. More...
|
|
QList< QgsStyle * > | styles () const |
| Returns a list of all the styles associated with the project. More...
|
|
QDomElement | writeXml (QDomDocument &doc, const QgsReadWriteContext &context) const |
| Returns a DOM element representing the settings. More...
|
|