QGIS API Documentation 3.41.0-Master (3291e9ff48b)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
QgsHttpHeaderWidget Class Reference

Display referer http header field and collapsible table of key/value pairs. More...

#include <qgshttpheaderwidget.h>

Inheritance diagram for QgsHttpHeaderWidget:
Inheritance graph
[legend]

Public Member Functions

 QgsHttpHeaderWidget (QWidget *parent=nullptr)
 Default constructor.
 
 ~QgsHttpHeaderWidget ()
 
QgsHttpHeaders httpHeaders () const
 
Q_DECL_DEPRECATED void setFromSettings (const QgsSettings &settings, const QString &key) SIP_DEPRECATED
 fill the inner header map from the settings defined at key
 
void setHeaders (const QgsHttpHeaders &headers)
 Sets the widget from the headers.
 
Q_DECL_DEPRECATED void updateSettings (QgsSettings &settings, const QString &key) const SIP_DEPRECATED
 update the settings with the http headers present in the inner map.
 

Detailed Description

Display referer http header field and collapsible table of key/value pairs.

Since
QGIS 3.24

Definition at line 36 of file qgshttpheaderwidget.h.

Constructor & Destructor Documentation

◆ QgsHttpHeaderWidget()

QgsHttpHeaderWidget::QgsHttpHeaderWidget ( QWidget *  parent = nullptr)
explicit

Default constructor.

Parameters
parentparent widget

Definition at line 27 of file qgshttpheaderwidget.cpp.

◆ ~QgsHttpHeaderWidget()

QgsHttpHeaderWidget::~QgsHttpHeaderWidget ( )
default

Member Function Documentation

◆ httpHeaders()

QgsHttpHeaders QgsHttpHeaderWidget::httpHeaders ( ) const
Returns
build a new QgsHttpHeaders according to data in the UI

Definition at line 59 of file qgshttpheaderwidget.cpp.

◆ setFromSettings()

void QgsHttpHeaderWidget::setFromSettings ( const QgsSettings settings,
const QString &  key 
)

fill the inner header map from the settings defined at key

See also
QgsHttpHeaders::setFromSettings()
Parameters
settings
key
Deprecated:
QGIS 3.30. Use setFromHeaders instead.

Definition at line 101 of file qgshttpheaderwidget.cpp.

◆ setHeaders()

void QgsHttpHeaderWidget::setHeaders ( const QgsHttpHeaders headers)

Sets the widget from the headers.

Since
QGIS 3.30

Definition at line 109 of file qgshttpheaderwidget.cpp.

◆ updateSettings()

void QgsHttpHeaderWidget::updateSettings ( QgsSettings settings,
const QString &  key 
) const

update the settings with the http headers present in the inner map.

See also
QgsHttpHeaders::updateSettings()
Parameters
settings
key
Deprecated:
QGIS 3.30. Use a variant map for settinds directly.

Definition at line 130 of file qgshttpheaderwidget.cpp.


The documentation for this class was generated from the following files: