QGIS/python/gui/auto_generated/qgshttpheaderwidget.sip.in
2024-08-13 20:28:55 +10:00

82 lines
2.3 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgshttpheaderwidget.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/
class QgsHttpHeaderWidget : QWidget
{
%Docstring(signature="appended")
Display referer http header field and collapsible table of key/value pairs
.. versionadded:: 3.24
%End
%TypeHeaderCode
#include "qgshttpheaderwidget.h"
%End
public:
explicit QgsHttpHeaderWidget( QWidget *parent = 0 );
%Docstring
Default constructor
:param parent: parent widget
%End
~QgsHttpHeaderWidget();
QgsHttpHeaders httpHeaders() const;
%Docstring
:return: build a new ``:py:class:`QgsHttpHeaders``` according to data in the UI
%End
void setHeaders( const QgsHttpHeaders &headers );
%Docstring
Sets the widget from the headers
.. versionadded:: 3.30
%End
void setFromSettings( const QgsSettings &settings, const QString &key ) /Deprecated/;
%Docstring
fill the inner header map from the settings defined at ``key``
.. seealso:: :py:func:`QgsHttpHeaders.setFromSettings`
:param settings:
:param key:
.. deprecated:: QGIS 3.30
use setFromHeaders instead
%End
void updateSettings( QgsSettings &settings, const QString &key ) const /Deprecated/;
%Docstring
update the ``settings`` with the http headers present in the inner map.
.. seealso:: :py:func:`QgsHttpHeaders.updateSettings`
:param settings:
:param key:
.. deprecated:: QGIS 3.30
use a variant map for settinds directly
%End
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgshttpheaderwidget.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/