QGIS API Documentation  2.18.3-Las Palmas (77b8c3d)
Public Member Functions | Public Attributes | List of all members
QgsComposerTableStyle Class Reference

Styling option for a composer table cell. More...

#include <qgscomposertablev2.h>

Public Member Functions

 QgsComposerTableStyle ()
 
bool readXML (const QDomElement &styleElem)
 Reads the style's properties from XML. More...
 
bool writeXML (QDomElement &styleElem, QDomDocument &doc) const
 Writes the style's properties to XML for storage. More...
 

Public Attributes

QColor cellBackgroundColor
 Cell background color. More...
 
bool enabled
 Whether the styling option is enabled. More...
 

Detailed Description

Styling option for a composer table cell.

Note
added in QGIS 2.12

Definition at line 55 of file qgscomposertablev2.h.

Constructor & Destructor Documentation

QgsComposerTableStyle::QgsComposerTableStyle ( )
inline

Definition at line 59 of file qgscomposertablev2.h.

Member Function Documentation

bool QgsComposerTableStyle::readXML ( const QDomElement styleElem)

Reads the style's properties from XML.

Parameters
styleElema QDomElement holding the style's desired properties.
See also
writeXML

Definition at line 37 of file qgscomposertablev2.cpp.

bool QgsComposerTableStyle::writeXML ( QDomElement styleElem,
QDomDocument doc 
) const

Writes the style's properties to XML for storage.

Parameters
styleEleman existing QDomElement in which to store the style's properties.
docQDomDocument for the destination XML.
See also
readXML

Definition at line 29 of file qgscomposertablev2.cpp.

Member Data Documentation

QColor QgsComposerTableStyle::cellBackgroundColor

Cell background color.

Definition at line 68 of file qgscomposertablev2.h.

bool QgsComposerTableStyle::enabled

Whether the styling option is enabled.

Definition at line 65 of file qgscomposertablev2.h.


The documentation for this class was generated from the following files: