QGIS API Documentation  3.22.4-Białowieża (ce8e65e95e)
Public Types | Public Member Functions | List of all members
QgsAttributesFormProperties::DnDTreeItemData Class Reference

#include <qgsattributesformproperties.h>

Inheritance diagram for QgsAttributesFormProperties::DnDTreeItemData:
Inheritance graph
[legend]

Public Types

enum  Type {
  Field , Relation , Container , QmlWidget ,
  HtmlWidget , WidgetType , Action
}
 

Public Member Functions

 DnDTreeItemData ()=default
 
 DnDTreeItemData (Type type, const QString &name, const QString &displayName, const QColor &backgroundColor=QColor())
 
QColor backgroundColor () const
 
int columnCount () const
 
QString displayName () const
 
HtmlElementEditorConfiguration htmlElementEditorConfiguration () const
 
QString name () const
 
 operator QVariant ()
 
QmlElementEditorConfiguration qmlElementEditorConfiguration () const
 
RelationEditorConfiguration relationEditorConfiguration () const
 
void setBackgroundColor (const QColor &backgroundColor)
 
void setColumnCount (int count)
 
void setDisplayName (const QString &displayName)
 
void setHtmlElementEditorConfiguration (HtmlElementEditorConfiguration htmlElementEditorConfiguration)
 
void setName (const QString &name)
 
void setQmlElementEditorConfiguration (QmlElementEditorConfiguration qmlElementEditorConfiguration)
 
void setRelationEditorConfiguration (RelationEditorConfiguration relationEditorConfiguration)
 
void setShowAsGroupBox (bool showAsGroupBox)
 
void setShowLabel (bool showLabel)
 
void setType (Type type)
 
void setVisibilityExpression (const QgsOptionalExpression &visibilityExpression)
 
bool showAsGroupBox () const
 
bool showLabel () const
 
Type type () const
 
QgsOptionalExpression visibilityExpression () const
 

Detailed Description

Definition at line 99 of file qgsattributesformproperties.h.

Member Enumeration Documentation

◆ Type

Enumerator
Field 
Relation 
Container 

Container for the form.

QmlWidget 
HtmlWidget 
WidgetType 

In the widget tree, the type of widget.

Action 

Layer action.

Definition at line 102 of file qgsattributesformproperties.h.

Constructor & Destructor Documentation

◆ DnDTreeItemData() [1/2]

QgsAttributesFormProperties::DnDTreeItemData::DnDTreeItemData ( )
default

◆ DnDTreeItemData() [2/2]

QgsAttributesFormProperties::DnDTreeItemData::DnDTreeItemData ( Type  type,
const QString &  name,
const QString &  displayName,
const QColor &  backgroundColor = QColor() 
)
inline

Definition at line 116 of file qgsattributesformproperties.h.

Member Function Documentation

◆ backgroundColor()

QColor QgsAttributesFormProperties::DnDTreeItemData::backgroundColor ( ) const

Definition at line 1576 of file qgsattributesformproperties.cpp.

◆ columnCount()

int QgsAttributesFormProperties::DnDTreeItemData::columnCount ( ) const
inline

Definition at line 134 of file qgsattributesformproperties.h.

◆ displayName()

QString QgsAttributesFormProperties::DnDTreeItemData::displayName ( ) const
inline

Definition at line 126 of file qgsattributesformproperties.h.

◆ htmlElementEditorConfiguration()

QgsAttributesFormProperties::HtmlElementEditorConfiguration QgsAttributesFormProperties::DnDTreeItemData::htmlElementEditorConfiguration ( ) const

Definition at line 1566 of file qgsattributesformproperties.cpp.

◆ name()

QString QgsAttributesFormProperties::DnDTreeItemData::name ( ) const
inline

Definition at line 123 of file qgsattributesformproperties.h.

◆ operator QVariant()

QgsAttributesFormProperties::DnDTreeItemData::operator QVariant ( )
inline

Definition at line 132 of file qgsattributesformproperties.h.

◆ qmlElementEditorConfiguration()

QgsAttributesFormProperties::QmlElementEditorConfiguration QgsAttributesFormProperties::DnDTreeItemData::qmlElementEditorConfiguration ( ) const

Definition at line 1555 of file qgsattributesformproperties.cpp.

◆ relationEditorConfiguration()

QgsAttributesFormProperties::RelationEditorConfiguration QgsAttributesFormProperties::DnDTreeItemData::relationEditorConfiguration ( ) const

Definition at line 1545 of file qgsattributesformproperties.cpp.

◆ setBackgroundColor()

void QgsAttributesFormProperties::DnDTreeItemData::setBackgroundColor ( const QColor &  backgroundColor)

Definition at line 1581 of file qgsattributesformproperties.cpp.

◆ setColumnCount()

void QgsAttributesFormProperties::DnDTreeItemData::setColumnCount ( int  count)
inline

Definition at line 135 of file qgsattributesformproperties.h.

◆ setDisplayName()

void QgsAttributesFormProperties::DnDTreeItemData::setDisplayName ( const QString &  displayName)
inline

Definition at line 127 of file qgsattributesformproperties.h.

◆ setHtmlElementEditorConfiguration()

void QgsAttributesFormProperties::DnDTreeItemData::setHtmlElementEditorConfiguration ( QgsAttributesFormProperties::HtmlElementEditorConfiguration  htmlElementEditorConfiguration)

Definition at line 1571 of file qgsattributesformproperties.cpp.

◆ setName()

void QgsAttributesFormProperties::DnDTreeItemData::setName ( const QString &  name)
inline

Definition at line 124 of file qgsattributesformproperties.h.

◆ setQmlElementEditorConfiguration()

void QgsAttributesFormProperties::DnDTreeItemData::setQmlElementEditorConfiguration ( QgsAttributesFormProperties::QmlElementEditorConfiguration  qmlElementEditorConfiguration)

Definition at line 1560 of file qgsattributesformproperties.cpp.

◆ setRelationEditorConfiguration()

void QgsAttributesFormProperties::DnDTreeItemData::setRelationEditorConfiguration ( QgsAttributesFormProperties::RelationEditorConfiguration  relationEditorConfiguration)

Definition at line 1550 of file qgsattributesformproperties.cpp.

◆ setShowAsGroupBox()

void QgsAttributesFormProperties::DnDTreeItemData::setShowAsGroupBox ( bool  showAsGroupBox)

Definition at line 1520 of file qgsattributesformproperties.cpp.

◆ setShowLabel()

void QgsAttributesFormProperties::DnDTreeItemData::setShowLabel ( bool  showLabel)

Definition at line 1530 of file qgsattributesformproperties.cpp.

◆ setType()

void QgsAttributesFormProperties::DnDTreeItemData::setType ( Type  type)
inline

Definition at line 130 of file qgsattributesformproperties.h.

◆ setVisibilityExpression()

void QgsAttributesFormProperties::DnDTreeItemData::setVisibilityExpression ( const QgsOptionalExpression visibilityExpression)

Definition at line 1540 of file qgsattributesformproperties.cpp.

◆ showAsGroupBox()

bool QgsAttributesFormProperties::DnDTreeItemData::showAsGroupBox ( ) const

Definition at line 1515 of file qgsattributesformproperties.cpp.

◆ showLabel()

bool QgsAttributesFormProperties::DnDTreeItemData::showLabel ( ) const

Definition at line 1525 of file qgsattributesformproperties.cpp.

◆ type()

Type QgsAttributesFormProperties::DnDTreeItemData::type ( ) const
inline

Definition at line 129 of file qgsattributesformproperties.h.

◆ visibilityExpression()

QgsOptionalExpression QgsAttributesFormProperties::DnDTreeItemData::visibilityExpression ( ) const

Definition at line 1535 of file qgsattributesformproperties.cpp.


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