QGIS API Documentation  3.27.0-Master (11ef3e5184)
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. More...
 
 ~QgsHttpHeaderWidget ()
 
QgsHttpHeaders httpHeaders () const
 
void setFromSettings (const QgsSettings &settings, const QString &key)
 fill the inner header map from the settings defined at key More...
 
void updateSettings (QgsSettings &settings, const QString &key) const
 update the settings with the http headers present in the inner map. More...
 

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

Definition at line 100 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

Definition at line 125 of file qgshttpheaderwidget.cpp.


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