QGIS API Documentation 3.35.0-Master (728e5967df5)
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 26 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 58 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( const QgsSettings &settings, const QString &key )
Parameters
settings
key
Deprecated:
since QGIS 3.30 use setFromHeaders instead

Definition at line 100 of file qgshttpheaderwidget.cpp.

◆ setHeaders()

void QgsHttpHeaderWidget::setHeaders ( const QgsHttpHeaders headers)

Sets the widget from the headers.

Since
QGIS 3.30

Definition at line 108 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( QgsSettings &settings, const QString &key ) const
Parameters
settings
key
Deprecated:
since QGIS 3.30 use a variant map for settinds directly

Definition at line 129 of file qgshttpheaderwidget.cpp.


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