QGIS API Documentation 3.41.0-Master (cea29feecf2)
Loading...
Searching...
No Matches
Signals | Public Member Functions | List of all members
QgsDirectionalLightWidget Class Reference

Widget for direction light settings. More...

#include <qgsdirectionallightwidget.h>

Inheritance diagram for QgsDirectionalLightWidget:
Inheritance graph
[legend]

Signals

void directionChanged ()
 Emitted when the direction is changed.
 

Public Member Functions

 QgsDirectionalLightWidget (QWidget *parent=nullptr)
 Constructor.
 
 ~QgsDirectionalLightWidget ()
 
double altitude () const
 Returns the altitude value (degree)
 
double azimuth () const
 Returns the azimuth value (degree)
 
void setAltitude (double altitude)
 Sets the altitude value (degree)
 
void setAzimuth (double azimuth)
 Sets the azimuth value (degree)
 
void setEnableAzimuth (bool enable)
 Sets whether the azimut can be changed, for example, when using multidirectional light.
 

Detailed Description

Widget for direction light settings.

The user can choose azimuth and altitude values.

Since
QGIS 3.30

Definition at line 33 of file qgsdirectionallightwidget.h.

Constructor & Destructor Documentation

◆ QgsDirectionalLightWidget()

QgsDirectionalLightWidget::QgsDirectionalLightWidget ( QWidget *  parent = nullptr)
explicit

Constructor.

Definition at line 23 of file qgsdirectionallightwidget.cpp.

◆ ~QgsDirectionalLightWidget()

QgsDirectionalLightWidget::~QgsDirectionalLightWidget ( )

Definition at line 52 of file qgsdirectionallightwidget.cpp.

Member Function Documentation

◆ altitude()

double QgsDirectionalLightWidget::altitude ( ) const

Returns the altitude value (degree)

Definition at line 71 of file qgsdirectionallightwidget.cpp.

◆ azimuth()

double QgsDirectionalLightWidget::azimuth ( ) const

Returns the azimuth value (degree)

Definition at line 61 of file qgsdirectionallightwidget.cpp.

◆ directionChanged

void QgsDirectionalLightWidget::directionChanged ( )
signal

Emitted when the direction is changed.

◆ setAltitude()

void QgsDirectionalLightWidget::setAltitude ( double  altitude)

Sets the altitude value (degree)

Definition at line 66 of file qgsdirectionallightwidget.cpp.

◆ setAzimuth()

void QgsDirectionalLightWidget::setAzimuth ( double  azimuth)

Sets the azimuth value (degree)

Definition at line 56 of file qgsdirectionallightwidget.cpp.

◆ setEnableAzimuth()

void QgsDirectionalLightWidget::setEnableAzimuth ( bool  enable)

Sets whether the azimut can be changed, for example, when using multidirectional light.

Definition at line 76 of file qgsdirectionallightwidget.cpp.


The documentation for this class was generated from the following files: