mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-10-25 00:05:24 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			71 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			71 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| /************************************************************************
 | |
|  * This file has been generated automatically from                      *
 | |
|  *                                                                      *
 | |
|  * src/gui/qgsopacitywidget.h                                           *
 | |
|  *                                                                      *
 | |
|  * Do not edit manually ! Edit header and run scripts/sipify.py again   *
 | |
|  ************************************************************************/
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| class QgsOpacityWidget : QWidget
 | |
| {
 | |
| %Docstring(signature="appended")
 | |
| A widget for setting an opacity value.
 | |
| %End
 | |
| 
 | |
| %TypeHeaderCode
 | |
| #include "qgsopacitywidget.h"
 | |
| %End
 | |
|   public:
 | |
| 
 | |
|     explicit QgsOpacityWidget( QWidget *parent /TransferThis/ = 0 );
 | |
| %Docstring
 | |
| Constructor for QgsOpacityWidget.
 | |
| %End
 | |
| 
 | |
|     double opacity() const;
 | |
| %Docstring
 | |
| Returns the current opacity selected in the widget, where opacity ranges from 0.0 (transparent)
 | |
| to 1.0 (opaque).
 | |
| 
 | |
| .. seealso:: :py:func:`setOpacity`
 | |
| 
 | |
| .. seealso:: :py:func:`opacityChanged`
 | |
| %End
 | |
| 
 | |
|   public slots:
 | |
| 
 | |
|     void setOpacity( double opacity );
 | |
| %Docstring
 | |
| Sets the current ``opacity`` to show in the widget, where ``opacity`` ranges from 0.0 (transparent)
 | |
| to 1.0 (opaque).
 | |
| 
 | |
| .. seealso:: :py:func:`opacity`
 | |
| 
 | |
| .. seealso:: :py:func:`opacityChanged`
 | |
| %End
 | |
| 
 | |
|   signals:
 | |
| 
 | |
|     void opacityChanged( double opacity );
 | |
| %Docstring
 | |
| Emitted when the ``opacity`` is changed in the widget, where ``opacity`` ranges from 0.0 (transparent)
 | |
| to 1.0 (opaque).
 | |
| 
 | |
| .. seealso:: :py:func:`setOpacity`
 | |
| 
 | |
| .. seealso:: :py:func:`opacity`
 | |
| %End
 | |
| 
 | |
| };
 | |
| 
 | |
| /************************************************************************
 | |
|  * This file has been generated automatically from                      *
 | |
|  *                                                                      *
 | |
|  * src/gui/qgsopacitywidget.h                                           *
 | |
|  *                                                                      *
 | |
|  * Do not edit manually ! Edit header and run scripts/sipify.py again   *
 | |
|  ************************************************************************/
 |