mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-11-03 00:14:12 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			55 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			55 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
/************************************************************************
 | 
						|
 * This file has been generated automatically from                      *
 | 
						|
 *                                                                      *
 | 
						|
 * src/gui/qgskeyvaluewidget.h                                          *
 | 
						|
 *                                                                      *
 | 
						|
 * Do not edit manually ! Edit header and run scripts/sipify.py again   *
 | 
						|
 ************************************************************************/
 | 
						|
 | 
						|
 | 
						|
 | 
						|
 | 
						|
 | 
						|
class QgsKeyValueWidget : QgsTableWidgetBase
 | 
						|
{
 | 
						|
%Docstring(signature="appended")
 | 
						|
Widget allowing editing a QVariantMap, using a table.
 | 
						|
%End
 | 
						|
 | 
						|
%TypeHeaderCode
 | 
						|
#include "qgskeyvaluewidget.h"
 | 
						|
%End
 | 
						|
  public:
 | 
						|
    explicit QgsKeyValueWidget( QWidget *parent /TransferThis/ = 0 );
 | 
						|
%Docstring
 | 
						|
Constructor.
 | 
						|
%End
 | 
						|
 | 
						|
    void setMap( const QVariantMap &map );
 | 
						|
%Docstring
 | 
						|
Set the initial value of the widget.
 | 
						|
%End
 | 
						|
 | 
						|
    QVariantMap map() const;
 | 
						|
%Docstring
 | 
						|
Gets the edit value.
 | 
						|
 | 
						|
:return: the QVariantMap
 | 
						|
%End
 | 
						|
 | 
						|
  public slots:
 | 
						|
 | 
						|
    virtual void setReadOnly( bool readOnly );
 | 
						|
 | 
						|
 | 
						|
};
 | 
						|
 | 
						|
 | 
						|
/************************************************************************
 | 
						|
 * This file has been generated automatically from                      *
 | 
						|
 *                                                                      *
 | 
						|
 * src/gui/qgskeyvaluewidget.h                                          *
 | 
						|
 *                                                                      *
 | 
						|
 * Do not edit manually ! Edit header and run scripts/sipify.py again   *
 | 
						|
 ************************************************************************/
 |