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;
|
QString storageType() const;
|
||||||
%Docstring
|
%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.
|
Returns null QString if there is no storage defined, only file selection.
|
||||||
|
|
||||||
.. seealso:: :py:func:`setStorageType`
|
.. seealso:: :py:func:`setStorageType`
|
||||||
|
|||||||
@ -93,7 +93,7 @@ selected files.
|
|||||||
|
|
||||||
QString storageType() const;
|
QString storageType() const;
|
||||||
%Docstring
|
%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.
|
Returns null QString if there is no storage defined, only file selection.
|
||||||
|
|
||||||
.. seealso:: :py:func:`setStorageType`
|
.. seealso:: :py:func:`setStorageType`
|
||||||
|
|||||||
@ -66,7 +66,9 @@ class GUI_EXPORT QgsExternalResourceWidgetWrapper : public QgsEditorWidgetWrappe
|
|||||||
void initWidget( QWidget *editor ) override;
|
void initWidget( QWidget *editor ) override;
|
||||||
bool valid() const 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();
|
void updateFileWidgetExpressionContext();
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
|
|||||||
@ -153,7 +153,7 @@ class GUI_EXPORT QgsExternalResourceWidget : public QWidget
|
|||||||
void setStorageType( const QString &storageType );
|
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.
|
* Returns null QString if there is no storage defined, only file selection.
|
||||||
* \see setStorageType
|
* \see setStorageType
|
||||||
* \since QGIS 3.22
|
* \since QGIS 3.22
|
||||||
|
|||||||
@ -136,7 +136,7 @@ class GUI_EXPORT QgsFileWidget : public QWidget
|
|||||||
void setStorageType( const QString &storageType );
|
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.
|
* Returns null QString if there is no storage defined, only file selection.
|
||||||
* \see setStorageType
|
* \see setStorageType
|
||||||
* \since QGIS 3.22
|
* \since QGIS 3.22
|
||||||
|
|||||||
@ -587,7 +587,7 @@ void TestQgsFileWidget::testStoringSeveralFilesError_data()
|
|||||||
|
|
||||||
void TestQgsFileWidget::testStoringSeveralFilesError()
|
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;
|
QEventLoop loop;
|
||||||
QFETCH( bool, useLink );
|
QFETCH( bool, useLink );
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user