mirror of
https://github.com/qgis/QGIS.git
synced 2025-12-05 00:04:40 -05:00
fix typos and doc
This commit is contained in:
parent
56127039f5
commit
16c916b723
@ -147,7 +147,7 @@ null QString if there is no storage defined, only file selection.
|
||||
|
||||
QString storageType() const;
|
||||
%Docstring
|
||||
Get storage type unique identifier as defined in :py:class:`QgsExternalStorageRegistry`.
|
||||
Returns storage type unique identifier as defined in :py:class:`QgsExternalStorageRegistry`.
|
||||
Returns null QString if there is no storage defined, only file selection.
|
||||
|
||||
.. seealso:: :py:func:`setStorageType`
|
||||
|
||||
@ -93,7 +93,7 @@ selected files.
|
||||
|
||||
QString storageType() const;
|
||||
%Docstring
|
||||
Get storage type unique identifier as defined in :py:class:`QgsExternalStorageRegistry`.
|
||||
Returns storage type unique identifier as defined in :py:class:`QgsExternalStorageRegistry`.
|
||||
Returns null QString if there is no storage defined, only file selection.
|
||||
|
||||
.. seealso:: :py:func:`setStorageType`
|
||||
|
||||
@ -66,7 +66,9 @@ class GUI_EXPORT QgsExternalResourceWidgetWrapper : public QgsEditorWidgetWrappe
|
||||
void initWidget( QWidget *editor ) override;
|
||||
bool valid() const override;
|
||||
|
||||
// update file widget current expression context according to layer, feature, and parent feature
|
||||
/**
|
||||
* Update file widget current expression context according to layer, feature, and parent feature
|
||||
*/
|
||||
void updateFileWidgetExpressionContext();
|
||||
|
||||
public slots:
|
||||
|
||||
@ -153,7 +153,7 @@ class GUI_EXPORT QgsExternalResourceWidget : public QWidget
|
||||
void setStorageType( const QString &storageType );
|
||||
|
||||
/**
|
||||
* Get storage type unique identifier as defined in QgsExternalStorageRegistry.
|
||||
* Returns storage type unique identifier as defined in QgsExternalStorageRegistry.
|
||||
* Returns null QString if there is no storage defined, only file selection.
|
||||
* \see setStorageType
|
||||
* \since QGIS 3.22
|
||||
|
||||
@ -136,7 +136,7 @@ class GUI_EXPORT QgsFileWidget : public QWidget
|
||||
void setStorageType( const QString &storageType );
|
||||
|
||||
/**
|
||||
* Get storage type unique identifier as defined in QgsExternalStorageRegistry.
|
||||
* Returns storage type unique identifier as defined in QgsExternalStorageRegistry.
|
||||
* Returns null QString if there is no storage defined, only file selection.
|
||||
* \see setStorageType
|
||||
* \since QGIS 3.22
|
||||
|
||||
@ -587,7 +587,7 @@ void TestQgsFileWidget::testStoringSeveralFilesError_data()
|
||||
|
||||
void TestQgsFileWidget::testStoringSeveralFilesError()
|
||||
{
|
||||
// test widget when storing several files with an external storage and an error occured
|
||||
// test widget when storing several files with an external storage and an error occurred
|
||||
QEventLoop loop;
|
||||
QFETCH( bool, useLink );
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user