|
QGIS API Documentation 3.30.0-'s-Hertogenbosch (f186b8efe0)
|
Widget for direction light settings. More...
#include <qgsdirectionallightwidget.h>

Signals | |
| void | directionChanged () |
| Emitted when the direction is changed. More... | |
Public Member Functions | |
| QgsDirectionalLightWidget (QWidget *parent=nullptr) | |
| Constructor. More... | |
| ~QgsDirectionalLightWidget () | |
| double | altitude () const |
| Returns the altitude value (degree) More... | |
| double | azimuth () const |
| Returns the azimuth value (degree) More... | |
| void | setAltitude (double altitude) |
| Sets the altitude value (degree) More... | |
| void | setAzimuth (double azimuth) |
| Sets the azimuth value (degree) More... | |
| void | setEnableAzimuth (bool enable) |
| Sets whether the azimut can be changed, for example, when using multidirectional light. More... | |
Widget for direction light settings.
The user can choose azimuth and altitude values.
Definition at line 33 of file qgsdirectionallightwidget.h.
|
explicit |
Constructor.
Definition at line 22 of file qgsdirectionallightwidget.cpp.
| QgsDirectionalLightWidget::~QgsDirectionalLightWidget | ( | ) |
Definition at line 55 of file qgsdirectionallightwidget.cpp.
| double QgsDirectionalLightWidget::altitude | ( | ) | const |
Returns the altitude value (degree)
Definition at line 74 of file qgsdirectionallightwidget.cpp.
| double QgsDirectionalLightWidget::azimuth | ( | ) | const |
Returns the azimuth value (degree)
Definition at line 64 of file qgsdirectionallightwidget.cpp.
|
signal |
Emitted when the direction is changed.
| void QgsDirectionalLightWidget::setAltitude | ( | double | altitude | ) |
Sets the altitude value (degree)
Definition at line 69 of file qgsdirectionallightwidget.cpp.
| void QgsDirectionalLightWidget::setAzimuth | ( | double | azimuth | ) |
Sets the azimuth value (degree)
Definition at line 59 of file qgsdirectionallightwidget.cpp.
| void QgsDirectionalLightWidget::setEnableAzimuth | ( | bool | enable | ) |
Sets whether the azimut can be changed, for example, when using multidirectional light.
Definition at line 79 of file qgsdirectionallightwidget.cpp.