mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-10-29 00:07:54 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			94 lines
		
	
	
		
			2.5 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			94 lines
		
	
	
		
			2.5 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| /************************************************************************
 | |
|  * This file has been generated automatically from                      *
 | |
|  *                                                                      *
 | |
|  * src/gui/qgs3dsymbolwidget.h                                          *
 | |
|  *                                                                      *
 | |
|  * Do not edit manually ! Edit header and run scripts/sipify.py again   *
 | |
|  ************************************************************************/
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| class Qgs3DSymbolWidget : QWidget
 | |
| {
 | |
| %Docstring(signature="appended")
 | |
| Base class for 3D symbol configuration widgets.
 | |
| 
 | |
| .. versionadded:: 3.16
 | |
| %End
 | |
| 
 | |
| %TypeHeaderCode
 | |
| #include "qgs3dsymbolwidget.h"
 | |
| %End
 | |
|   public:
 | |
|     Qgs3DSymbolWidget( QWidget *parent );
 | |
| %Docstring
 | |
| Constructor for Qgs3DSymbolWidget with the specified ``parent`` widget.
 | |
| %End
 | |
| 
 | |
|     virtual void setSymbol( const QgsAbstract3DSymbol *symbol, QgsVectorLayer *layer ) = 0;
 | |
| %Docstring
 | |
| Sets the ``symbol`` to show in the widget.
 | |
| %End
 | |
| 
 | |
|     virtual QgsAbstract3DSymbol *symbol() = 0 /Factory/;
 | |
| %Docstring
 | |
| Returns a new instance of the symbol defined by the widget.
 | |
| 
 | |
| Caller takes ownership of the returned symbol.
 | |
| %End
 | |
| 
 | |
|     virtual QString symbolType() const = 0;
 | |
| %Docstring
 | |
| Returns the symbol type handled by the widget.
 | |
| %End
 | |
| 
 | |
|   signals:
 | |
| 
 | |
|     void changed();
 | |
| %Docstring
 | |
| Emitted when the symbol is changed.
 | |
| %End
 | |
| };
 | |
| 
 | |
| 
 | |
| class Qgs3DSymbolDialog : QDialog
 | |
| {
 | |
| %Docstring(signature="appended")
 | |
| A dialog for configuring a 3D symbol.
 | |
| 
 | |
| .. versionadded:: 3.16
 | |
| %End
 | |
| 
 | |
| %TypeHeaderCode
 | |
| #include "qgs3dsymbolwidget.h"
 | |
| %End
 | |
|   public:
 | |
|     Qgs3DSymbolDialog( const QgsAbstract3DSymbol *symbol, QWidget *parent /TransferThis/ = 0 );
 | |
| %Docstring
 | |
| Constructor for Qgs3DSymbolDialog, initially showing the specified
 | |
| ``symbol``.
 | |
| %End
 | |
| 
 | |
|     QgsAbstract3DSymbol *symbol() const /Factory/;
 | |
| %Docstring
 | |
| Returns a new instance of the symbol defined by the dialog.
 | |
| 
 | |
| Caller takes ownership of the returned symbol.
 | |
| %End
 | |
| 
 | |
|     QDialogButtonBox *buttonBox() const;
 | |
| %Docstring
 | |
| Returns a reference to the dialog's button box.
 | |
| %End
 | |
| 
 | |
| };
 | |
| 
 | |
| /************************************************************************
 | |
|  * This file has been generated automatically from                      *
 | |
|  *                                                                      *
 | |
|  * src/gui/qgs3dsymbolwidget.h                                          *
 | |
|  *                                                                      *
 | |
|  * Do not edit manually ! Edit header and run scripts/sipify.py again   *
 | |
|  ************************************************************************/
 |