A widget for setting an opacity value.  
 More...
#include <qgsopacitywidget.h>
 | 
| void  | setOpacity (double opacity) | 
|   | Sets the current opacity to show in the widget, where opacity ranges from 0.0 (transparent) to 1.0 (opaque).  
  | 
|   | 
 | 
| void  | opacityChanged (double opacity) | 
|   | Emitted when the opacity is changed in the widget, where opacity ranges from 0.0 (transparent) to 1.0 (opaque).  
  | 
|   | 
 | 
|   | QgsOpacityWidget (QWidget *parent=nullptr) | 
|   | Constructor for QgsOpacityWidget.  
  | 
|   | 
| double  | opacity () const | 
|   | Returns the current opacity selected in the widget, where opacity ranges from 0.0 (transparent) to 1.0 (opaque).  
  | 
|   | 
A widget for setting an opacity value. 
Definition at line 31 of file qgsopacitywidget.h.
 
◆ QgsOpacityWidget()
  
  
      
        
          | QgsOpacityWidget::QgsOpacityWidget  | 
          ( | 
          QWidget *  | 
          parent = nullptr | ) | 
           | 
         
       
   | 
  
explicit   | 
  
 
 
◆ opacity()
      
        
          | double QgsOpacityWidget::opacity  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
◆ opacityChanged
  
  
      
        
          | void QgsOpacityWidget::opacityChanged  | 
          ( | 
          double  | 
          opacity | ) | 
           | 
         
       
   | 
  
signal   | 
  
 
Emitted when the opacity is changed in the widget, where opacity ranges from 0.0 (transparent) to 1.0 (opaque). 
- See also
 - setOpacity() 
 
- 
opacity() 
 
 
 
◆ setOpacity
  
  
      
        
          | void QgsOpacityWidget::setOpacity  | 
          ( | 
          double  | 
          opacity | ) | 
           | 
         
       
   | 
  
slot   | 
  
 
 
◆ opacity
  
  
      
        
          | double QgsOpacityWidget::opacity | 
         
       
   | 
  
readwrite   | 
  
 
 
The documentation for this class was generated from the following files: