| 
    QGIS API Documentation 3.38.0-Grenoble (exported)
    
   | 
 
Styling option for a layout table cell. More...
#include <qgslayouttable.h>
Public Member Functions | |
| QgsLayoutTableStyle ()=default | |
| Constructor for QgsLayoutTableStyle.   | |
| bool | readXml (const QDomElement &styleElem) | 
| Reads the style's properties from XML.   | |
| bool | writeXml (QDomElement &styleElem, QDomDocument &doc) const | 
| Writes the style's properties to XML for storage.   | |
Public Attributes | |
| QColor | cellBackgroundColor = QColor( 255, 255, 255, 255 ) | 
| Cell background color.   | |
| bool | enabled = false | 
| Whether the styling option is enabled.   | |
Styling option for a layout table cell.
Definition at line 72 of file qgslayouttable.h.
      
  | 
  default | 
Constructor for QgsLayoutTableStyle.
| bool QgsLayoutTableStyle::readXml | ( | const QDomElement & | styleElem | ) | 
Reads the style's properties from XML.
| styleElem | a QDomElement holding the style's desired properties. | 
Definition at line 42 of file qgslayouttable.cpp.
| bool QgsLayoutTableStyle::writeXml | ( | QDomElement & | styleElem, | 
| QDomDocument & | doc | ||
| ) | const | 
Writes the style's properties to XML for storage.
| styleElem | an existing QDomElement in which to store the style's properties. | 
| doc | QDomDocument for the destination XML. | 
Definition at line 34 of file qgslayouttable.cpp.
| QColor QgsLayoutTableStyle::cellBackgroundColor = QColor( 255, 255, 255, 255 ) | 
Cell background color.
Definition at line 83 of file qgslayouttable.h.
| bool QgsLayoutTableStyle::enabled = false | 
Whether the styling option is enabled.
Definition at line 80 of file qgslayouttable.h.