mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-05 00:05:32 -04:00
styling stuff
This commit is contained in:
parent
5b7a525ed2
commit
05547398be
@ -408,7 +408,7 @@ QTreeWidgetItem *QgsAttributesFormProperties::loadAttributeEditorTreeItem( QgsAt
|
||||
case QgsAttributeEditorElement::AeTypeRelation:
|
||||
{
|
||||
const QgsAttributeEditorRelation *relationEditor = static_cast<const QgsAttributeEditorRelation *>( widgetDef );
|
||||
DnDTreeItemData itemData = DnDTreeItemData( DnDTreeItemData::Relation, relationEditor->relation().id(), relationEditor->relation().name());
|
||||
DnDTreeItemData itemData = DnDTreeItemData( DnDTreeItemData::Relation, relationEditor->relation().id(), relationEditor->relation().name() );
|
||||
itemData.setShowLabel( widgetDef->showLabel() );
|
||||
RelationEditorConfiguration relEdConfig;
|
||||
relEdConfig.showLinkButton = relationEditor->showLinkButton();
|
||||
|
@ -319,7 +319,7 @@ class CORE_EXPORT QgsAttributeEditorRelation : public QgsAttributeEditorElement
|
||||
/**
|
||||
* \deprecated since QGIS 3.0.2. The name parameter is not used for anything and overwritten by the relationId internally.
|
||||
*/
|
||||
Q_DECL_DEPRECATED QgsAttributeEditorRelation(const QString &name, const QString &relationId, QgsAttributeEditorElement *parent)
|
||||
Q_DECL_DEPRECATED QgsAttributeEditorRelation( const QString &name, const QString &relationId, QgsAttributeEditorElement *parent )
|
||||
: QgsAttributeEditorElement( AeTypeRelation, name, parent )
|
||||
, mRelationId( relationId )
|
||||
, mShowLinkButton( true )
|
||||
@ -329,7 +329,7 @@ class CORE_EXPORT QgsAttributeEditorRelation : public QgsAttributeEditorElement
|
||||
/**
|
||||
* \deprecated since QGIS 3.0.2. The name parameter is not used for anything and overwritten by the relationId internally.
|
||||
*/
|
||||
Q_DECL_DEPRECATED QgsAttributeEditorRelation(const QString &name, const QgsRelation &relation, QgsAttributeEditorElement *parent)
|
||||
Q_DECL_DEPRECATED QgsAttributeEditorRelation( const QString &name, const QgsRelation &relation, QgsAttributeEditorElement *parent )
|
||||
: QgsAttributeEditorElement( AeTypeRelation, name, parent )
|
||||
, mRelationId( relation.id() )
|
||||
, mRelation( relation )
|
||||
@ -343,7 +343,7 @@ class CORE_EXPORT QgsAttributeEditorRelation : public QgsAttributeEditorElement
|
||||
* \param relationId The id of the relation to embed
|
||||
* \param parent The parent (used as container)
|
||||
*/
|
||||
QgsAttributeEditorRelation( const QString &relationId, QgsAttributeEditorElement *parent)
|
||||
QgsAttributeEditorRelation( const QString &relationId, QgsAttributeEditorElement *parent )
|
||||
: QgsAttributeEditorElement( AeTypeRelation, relationId, parent )
|
||||
, mRelationId( relationId )
|
||||
, mShowLinkButton( true )
|
||||
@ -356,7 +356,7 @@ class CORE_EXPORT QgsAttributeEditorRelation : public QgsAttributeEditorElement
|
||||
* \param relation The relation to embed
|
||||
* \param parent The parent (used as container)
|
||||
*/
|
||||
QgsAttributeEditorRelation( const QgsRelation &relation, QgsAttributeEditorElement *parent)
|
||||
QgsAttributeEditorRelation( const QgsRelation &relation, QgsAttributeEditorElement *parent )
|
||||
: QgsAttributeEditorElement( AeTypeRelation, relation.id(), parent )
|
||||
, mRelationId( relation.id() )
|
||||
, mRelation( relation )
|
||||
|
Loading…
x
Reference in New Issue
Block a user