Class: QgsLayoutTableStyle¶
Styling option for a layout table cell.
Methods
Reads the style's properties from XML. |
|
Writes the style's properties to XML for storage. |
Attributes
Cell background color |
|
Whether the styling option is enabled |
- class qgis.core.QgsLayoutTableStyle[source]¶
Bases:
object
- cellBackgroundColor: QColor¶
Cell background color
- enabled: bool¶
Whether the styling option is enabled
- readXml(self, styleElem: QDomElement) bool [source]¶
Reads the style’s properties from XML.
- Parameters:
styleElem (QDomElement) – a QDomElement holding the style’s desired properties.
See also
- Return type:
bool
- writeXml(self, styleElem: QDomElement, doc: QDomDocument) bool [source]¶
Writes the style’s properties to XML for storage.
- Parameters:
styleElem (QDomElement) – an existing QDomElement in which to store the style’s properties.
doc (QDomDocument) – QDomDocument for the destination XML.
See also
- Return type:
bool