Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
(cherry picked from commit 1904a43)
  • Loading branch information
jef-n committed Jun 27, 2018
1 parent 2781bc3 commit 15ab4c1
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ Constructor for QgsRelationWidgetWrapper

bool showLabel() const;
%Docstring
Defines if a title lable should be shown for this widget.
Defines if a title label should be shown for this widget.
Only has an effect after widget() has been called at least once.

.. versionadded:: 2.18
%End

void setShowLabel( bool showLabel );
%Docstring
Defines if a title lable should be shown for this widget.
Defines if a title label should be shown for this widget.
Only has an effect after widget() has been called at least once.

.. versionadded:: 2.18
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Set the constraint status for this widget.

void setConstraintResultVisible( bool editable );
%Docstring
Set the constraint result lable visible or invisible according to the layer editable status
Set the constraint result label visible or invisible according to the layer editable status
%End

public slots:
Expand Down
1 change: 1 addition & 0 deletions scripts/spell_check/spelling.dat
Original file line number Diff line number Diff line change
Expand Up @@ -4123,6 +4123,7 @@ labatory:laboratory
labelling:labeling
labled:labeled
lables:labels:*
lable:label
labour:labor
labratory:laboratory
laguage:language
Expand Down
6 changes: 3 additions & 3 deletions src/app/qgsattributetypedialog.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,17 +64,17 @@ class APP_EXPORT QgsAttributeTypeDialog: public QWidget, private Ui::QgsAttribut
bool labelOnTop() const;

/**
* Setter for lable alias
* Setter for label alias
*/
void setAlias( const QString &alias );

/**
* Getter for lable alias
* Getter for label alias
*/
QString alias() const;

/**
* Setter for lable comment
* Setter for label comment
*/
void setComment( const QString &comment );

Expand Down
4 changes: 2 additions & 2 deletions src/gui/editorwidgets/qgsrelationwidgetwrapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@ class GUI_EXPORT QgsRelationWidgetWrapper : public QgsWidgetWrapper
explicit QgsRelationWidgetWrapper( QgsVectorLayer *vl, const QgsRelation &relation, QWidget *editor = nullptr, QWidget *parent SIP_TRANSFERTHIS = nullptr );

/**
* Defines if a title lable should be shown for this widget.
* Defines if a title label should be shown for this widget.
* Only has an effect after widget() has been called at least once.
*
* \since QGIS 2.18
*/
bool showLabel() const;

/**
* Defines if a title lable should be shown for this widget.
* Defines if a title label should be shown for this widget.
* Only has an effect after widget() has been called at least once.
*
* \since QGIS 2.18
Expand Down
2 changes: 1 addition & 1 deletion src/gui/qgsattributeformeditorwidget.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class GUI_EXPORT QgsAttributeFormEditorWidget : public QgsAttributeFormWidget
void setConstraintStatus( const QString &constraint, const QString &description, const QString &err, QgsEditorWidgetWrapper::ConstraintResult result );

/**
* Set the constraint result lable visible or invisible according to the layer editable status
* Set the constraint result label visible or invisible according to the layer editable status
*/
void setConstraintResultVisible( bool editable );

Expand Down

0 comments on commit 15ab4c1

Please sign in to comment.