Skip to content

Commit

Permalink
set title of groupbox
Browse files Browse the repository at this point in the history
  • Loading branch information
signedav committed Aug 5, 2020
1 parent 897c749 commit 50a079f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/gui/attributeformconfig/qgsattributewidgetedit.cpp
Expand Up @@ -40,6 +40,7 @@ QgsAttributeWidgetEdit::QgsAttributeWidgetEdit( QTreeWidgetItem *item, QWidget *
mSpecificEditWidget = editWidget;
layout->addWidget( mSpecificEditWidget );
mWidgetSpecificConfigGroupBox->setLayout( layout );
mWidgetSpecificConfigGroupBox->setTitle( editWidget->title() );

}
break;
Expand Down
3 changes: 2 additions & 1 deletion src/gui/attributeformconfig/qgsattributewidgetedit.h
Expand Up @@ -44,7 +44,6 @@ class GUI_EXPORT QgsAttributeWidgetEdit : public QgsCollapsibleGroupBox, private

void updateItemData();


private:
void showRelationButtons( bool show );

Expand All @@ -68,6 +67,8 @@ class GUI_EXPORT QgsAttributeWidgetRelationEditWidget : public QWidget, private

QgsAttributesFormProperties::RelationEditorConfiguration relationEditorConfiguration() const;

static QString title() { return tr( "Relation" ); }

};

#endif // QGSATTRIBUTEWIDGETEDIT_H

0 comments on commit 50a079f

Please sign in to comment.