|
QGIS API Documentation 3.36.0-Maidenhead (09951dc0acf)
|
#include <qgsattributesformproperties.h>

Public Types | |
| enum | Type { Field , Relation , Container , QmlWidget , HtmlWidget , WidgetType , Action , TextWidget , SpacerWidget } |
Public Member Functions | |
| DnDTreeItemData ()=default | |
| DnDTreeItemData (Type type, const QString &name, const QString &displayName, const QColor &backgroundColor=QColor()) | |
| QColor | backgroundColor () const |
| bool | collapsed () const |
| For group box containers returns if this group box is collapsed. | |
| QgsOptionalExpression | collapsedExpression () const |
| Returns the optional expression that dynamically controls the collapsed status of a group box container. | |
| int | columnCount () const |
| Qgis::AttributeEditorContainerType | containerType () const |
| Returns the container type. | |
| QString | displayName () const |
| int | horizontalStretch () const |
| Returns the horizontal stretch factor for the element. | |
| HtmlElementEditorConfiguration | htmlElementEditorConfiguration () const |
| const QgsAttributeEditorElement::LabelStyle | labelStyle () const |
| Returns the label style. | |
| QString | name () const |
| operator QVariant () | |
| QmlElementEditorConfiguration | qmlElementEditorConfiguration () const |
| RelationEditorConfiguration | relationEditorConfiguration () const |
| void | setBackgroundColor (const QColor &backgroundColor) |
| void | setCollapsed (bool collapsed) |
| For group box containers sets if this group box is collapsed. | |
| void | setCollapsedExpression (const QgsOptionalExpression &collapsedExpression) |
| Sets the optional collapsedExpression that dynamically controls the collapsed status of a group box container. | |
| void | setColumnCount (int count) |
| void | setContainerType (Qgis::AttributeEditorContainerType type) |
| Sets the container type. | |
| void | setDisplayName (const QString &displayName) |
| void | setHorizontalStretch (int stretch) |
| Sets the horizontal stretch factor for the element. | |
| void | setHtmlElementEditorConfiguration (HtmlElementEditorConfiguration htmlElementEditorConfiguration) |
| void | setLabelStyle (const QgsAttributeEditorElement::LabelStyle &labelStyle) |
| Sets the label style to labelStyle. | |
| void | setName (const QString &name) |
| void | setQmlElementEditorConfiguration (QmlElementEditorConfiguration qmlElementEditorConfiguration) |
| void | setRelationEditorConfiguration (RelationEditorConfiguration relationEditorConfiguration) |
| void | setShowLabel (bool showLabel) |
| void | setSpacerElementEditorConfiguration (SpacerElementEditorConfiguration spacerElementEditorConfiguration) |
| Sets the the spacer element configuration to spacerElementEditorConfiguration. | |
| void | setTextElementEditorConfiguration (const TextElementEditorConfiguration &textElementEditorConfiguration) |
| Sets the editor configuration for text element to textElementEditorConfiguration. | |
| void | setType (Type type) |
| void | setVerticalStretch (int stretch) |
| Sets the vertical stretch factor for the element. | |
| void | setVisibilityExpression (const QgsOptionalExpression &visibilityExpression) |
| Sets the optional visibilityExpression that dynamically controls the visibility status of a container. | |
| bool | showLabel () const |
| SpacerElementEditorConfiguration | spacerElementEditorConfiguration () const |
| Returns the spacer element configuration. | |
| TextElementEditorConfiguration | textElementEditorConfiguration () const |
| Returns the editor configuration for text element. | |
| Type | type () const |
| int | verticalStretch () const |
| Returns the vertical stretch factor for the element. | |
| QgsOptionalExpression | visibilityExpression () const |
Definition at line 101 of file qgsattributesformproperties.h.
Definition at line 104 of file qgsattributesformproperties.h.
|
default |
|
inline |
Definition at line 120 of file qgsattributesformproperties.h.
| QColor QgsAttributesFormProperties::DnDTreeItemData::backgroundColor | ( | ) | const |
Definition at line 1944 of file qgsattributesformproperties.cpp.
|
inline |
For group box containers returns if this group box is collapsed.
true if the group box is collapsed, false otherwise. Definition at line 165 of file qgsattributesformproperties.h.
| QgsOptionalExpression QgsAttributesFormProperties::DnDTreeItemData::collapsedExpression | ( | ) | const |
Returns the optional expression that dynamically controls the collapsed status of a group box container.
Definition at line 1893 of file qgsattributesformproperties.cpp.
|
inline |
Definition at line 138 of file qgsattributesformproperties.h.
| Qgis::AttributeEditorContainerType QgsAttributesFormProperties::DnDTreeItemData::containerType | ( | ) | const |
Returns the container type.
Definition at line 1853 of file qgsattributesformproperties.cpp.
|
inline |
Definition at line 130 of file qgsattributesformproperties.h.
|
inline |
Returns the horizontal stretch factor for the element.
Definition at line 201 of file qgsattributesformproperties.h.
| QgsAttributesFormProperties::HtmlElementEditorConfiguration QgsAttributesFormProperties::DnDTreeItemData::htmlElementEditorConfiguration | ( | ) | const |
Definition at line 1924 of file qgsattributesformproperties.cpp.
| const QgsAttributeEditorElement::LabelStyle QgsAttributesFormProperties::DnDTreeItemData::labelStyle | ( | ) | const |
Returns the label style.
Definition at line 1863 of file qgsattributesformproperties.cpp.
|
inline |
Definition at line 127 of file qgsattributesformproperties.h.
|
inline |
Definition at line 136 of file qgsattributesformproperties.h.
| QgsAttributesFormProperties::QmlElementEditorConfiguration QgsAttributesFormProperties::DnDTreeItemData::qmlElementEditorConfiguration | ( | ) | const |
Definition at line 1913 of file qgsattributesformproperties.cpp.
| QgsAttributesFormProperties::RelationEditorConfiguration QgsAttributesFormProperties::DnDTreeItemData::relationEditorConfiguration | ( | ) | const |
Definition at line 1903 of file qgsattributesformproperties.cpp.
| void QgsAttributesFormProperties::DnDTreeItemData::setBackgroundColor | ( | const QColor & | backgroundColor | ) |
Definition at line 1949 of file qgsattributesformproperties.cpp.
|
inline |
For group box containers sets if this group box is collapsed.
Definition at line 174 of file qgsattributesformproperties.h.
| void QgsAttributesFormProperties::DnDTreeItemData::setCollapsedExpression | ( | const QgsOptionalExpression & | collapsedExpression | ) |
Sets the optional collapsedExpression that dynamically controls the collapsed status of a group box container.
Definition at line 1898 of file qgsattributesformproperties.cpp.
|
inline |
Definition at line 139 of file qgsattributesformproperties.h.
| void QgsAttributesFormProperties::DnDTreeItemData::setContainerType | ( | Qgis::AttributeEditorContainerType | type | ) |
Sets the container type.
Definition at line 1858 of file qgsattributesformproperties.cpp.
|
inline |
Definition at line 131 of file qgsattributesformproperties.h.
|
inline |
Sets the horizontal stretch factor for the element.
Definition at line 211 of file qgsattributesformproperties.h.
| void QgsAttributesFormProperties::DnDTreeItemData::setHtmlElementEditorConfiguration | ( | QgsAttributesFormProperties::HtmlElementEditorConfiguration | htmlElementEditorConfiguration | ) |
Definition at line 1929 of file qgsattributesformproperties.cpp.
| void QgsAttributesFormProperties::DnDTreeItemData::setLabelStyle | ( | const QgsAttributeEditorElement::LabelStyle & | labelStyle | ) |
Sets the label style to labelStyle.
Definition at line 1868 of file qgsattributesformproperties.cpp.
|
inline |
Definition at line 128 of file qgsattributesformproperties.h.
| void QgsAttributesFormProperties::DnDTreeItemData::setQmlElementEditorConfiguration | ( | QgsAttributesFormProperties::QmlElementEditorConfiguration | qmlElementEditorConfiguration | ) |
Definition at line 1918 of file qgsattributesformproperties.cpp.
| void QgsAttributesFormProperties::DnDTreeItemData::setRelationEditorConfiguration | ( | QgsAttributesFormProperties::RelationEditorConfiguration | relationEditorConfiguration | ) |
Definition at line 1908 of file qgsattributesformproperties.cpp.
| void QgsAttributesFormProperties::DnDTreeItemData::setShowLabel | ( | bool | showLabel | ) |
Definition at line 1878 of file qgsattributesformproperties.cpp.
| void QgsAttributesFormProperties::DnDTreeItemData::setSpacerElementEditorConfiguration | ( | SpacerElementEditorConfiguration | spacerElementEditorConfiguration | ) |
Sets the the spacer element configuration to spacerElementEditorConfiguration.
Definition at line 1939 of file qgsattributesformproperties.cpp.
| void QgsAttributesFormProperties::DnDTreeItemData::setTextElementEditorConfiguration | ( | const TextElementEditorConfiguration & | textElementEditorConfiguration | ) |
Sets the editor configuration for text element to textElementEditorConfiguration.
Definition at line 1959 of file qgsattributesformproperties.cpp.
|
inline |
Definition at line 134 of file qgsattributesformproperties.h.
|
inline |
Sets the vertical stretch factor for the element.
Definition at line 231 of file qgsattributesformproperties.h.
| void QgsAttributesFormProperties::DnDTreeItemData::setVisibilityExpression | ( | const QgsOptionalExpression & | visibilityExpression | ) |
Sets the optional visibilityExpression that dynamically controls the visibility status of a container.
Definition at line 1888 of file qgsattributesformproperties.cpp.
| bool QgsAttributesFormProperties::DnDTreeItemData::showLabel | ( | ) | const |
Definition at line 1873 of file qgsattributesformproperties.cpp.
| QgsAttributesFormProperties::SpacerElementEditorConfiguration QgsAttributesFormProperties::DnDTreeItemData::spacerElementEditorConfiguration | ( | ) | const |
Returns the spacer element configuration.
Definition at line 1934 of file qgsattributesformproperties.cpp.
| QgsAttributesFormProperties::TextElementEditorConfiguration QgsAttributesFormProperties::DnDTreeItemData::textElementEditorConfiguration | ( | ) | const |
Returns the editor configuration for text element.
Definition at line 1954 of file qgsattributesformproperties.cpp.
|
inline |
Definition at line 133 of file qgsattributesformproperties.h.
|
inline |
Returns the vertical stretch factor for the element.
Definition at line 221 of file qgsattributesformproperties.h.
| QgsOptionalExpression QgsAttributesFormProperties::DnDTreeItemData::visibilityExpression | ( | ) | const |
Definition at line 1883 of file qgsattributesformproperties.cpp.