mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-10-31 00:06:02 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			83 lines
		
	
	
		
			2.4 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			83 lines
		
	
	
		
			2.4 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")
 | |
| Displays 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
 | |
| Returns the headers as defined in the widget.
 | |
| %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="Since 3.30. Use setFromHeaders() instead."/;
 | |
| %Docstring
 | |
| fill the inner header map from the settings defined at ``key``
 | |
| 
 | |
| .. seealso:: :py:func:`QgsHttpHeaders.setFromSettings`
 | |
| 
 | |
| :param settings: 
 | |
| :param key: 
 | |
| 
 | |
| .. deprecated:: 3.30
 | |
| 
 | |
|    Use :py:func:`~QgsHttpHeaderWidget.setFromHeaders` instead.
 | |
| %End
 | |
| 
 | |
|  void updateSettings( QgsSettings &settings, const QString &key ) const /Deprecated="Since 3.30. Use a variant map for settinds directly."/;
 | |
| %Docstring
 | |
| update the ``settings`` with the http headers present in the inner map.
 | |
| 
 | |
| .. seealso:: :py:func:`QgsHttpHeaders.updateSettings`
 | |
| 
 | |
| :param settings: 
 | |
| :param key: 
 | |
| 
 | |
| .. deprecated:: 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   *
 | |
|  ************************************************************************/
 |