1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103
|
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/gps/qgsbabelformatregistry.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/
class QgsBabelFormatRegistry
{
%Docstring(signature="appended")
A registry for :py:class:`QgsAbstractBabelFormat` GPSBabel formats.
:py:class:`QgsBabelFormatRegistry` is not usually directly created, but
rather accessed through
:py:func:`QgsApplication.gpsBabelFormatRegistry()`.
.. versionadded:: 3.22
%End
%TypeHeaderCode
#include "qgsbabelformatregistry.h"
%End
public:
QgsBabelFormatRegistry();
%Docstring
Constructor for QgsBabelFormatRegistry.
The registry will automatically be populated with standard formats, and
with devices previously configured and stored in QSettings.
%End
~QgsBabelFormatRegistry();
QStringList importFormatNames() const;
%Docstring
Returns a list of the names of all registered import formats.
%End
QgsBabelSimpleImportFormat *importFormat( const QString &name );
%Docstring
Returns a registered import format by ``name``.
.. seealso:: :py:func:`importFormatNames`
.. seealso:: :py:func:`importFormatByDescription`
%End
QgsBabelSimpleImportFormat *importFormatByDescription( const QString &description );
%Docstring
Returns a registered import format by ``description``.
.. seealso:: :py:func:`importFormat`
%End
QString importFileFilter() const;
%Docstring
Returns a file filter string representing all registered import formats.
%End
QStringList deviceNames() const;
%Docstring
Returns a list of the names of all registered devices.
%End
QgsBabelGpsDeviceFormat *deviceFormat( const QString &name );
%Docstring
Returns a registered device format by ``name``.
.. seealso:: :py:func:`deviceNames`
%End
QMap< QString, QgsBabelGpsDeviceFormat * > devices() const;
%Docstring
Returns a map of device name to device format.
.. seealso:: :py:func:`deviceFormat`
.. seealso:: :py:func:`deviceNames`
%End
void reloadFromSettings();
%Docstring
Reloads the registry's members from the currently stored configuration.
%End
private:
QgsBabelFormatRegistry( const QgsBabelFormatRegistry &rh );
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/gps/qgsbabelformatregistry.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/
|