QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
The TabStyle struct defines color and font overrides for form fields, tabs and groups labels. More...
#include <qgsattributeeditorelement.h>
Public Member Functions | |
bool | operator== (LabelStyle const &other) const |
Returns true if the style is equal to other. More... | |
void | readXml (const QDomNode &node) |
Reads configuration from node. More... | |
QDomElement | writeXml (QDomDocument &document) const |
Creates the XML configuration from document. More... | |
Public Attributes | |
QColor | color |
Label font. More... | |
QFont | font |
Label font. More... | |
bool | overrideColor = false |
Override label color. More... | |
bool | overrideFont = false |
Override label font. More... | |
The TabStyle struct defines color and font overrides for form fields, tabs and groups labels.
Definition at line 82 of file qgsattributeeditorelement.h.
bool QgsAttributeEditorElement::LabelStyle::operator== | ( | LabelStyle const & | other | ) | const |
Returns true
if the style is equal to other.
Definition at line 152 of file qgsattributeeditorelement.cpp.
void QgsAttributeEditorElement::LabelStyle::readXml | ( | const QDomNode & | node | ) |
Reads configuration from node.
Definition at line 112 of file qgsattributeeditorelement.cpp.
QDomElement QgsAttributeEditorElement::LabelStyle::writeXml | ( | QDomDocument & | document | ) | const |
Creates the XML configuration from document.
Definition at line 142 of file qgsattributeeditorelement.cpp.
QColor QgsAttributeEditorElement::LabelStyle::color |
Label font.
Definition at line 100 of file qgsattributeeditorelement.h.
QFont QgsAttributeEditorElement::LabelStyle::font |
Label font.
Definition at line 103 of file qgsattributeeditorelement.h.
bool QgsAttributeEditorElement::LabelStyle::overrideColor = false |
Override label color.
Definition at line 106 of file qgsattributeeditorelement.h.
bool QgsAttributeEditorElement::LabelStyle::overrideFont = false |
Override label font.
Definition at line 109 of file qgsattributeeditorelement.h.