QGIS/python/gui/auto_generated/qgsdirectionallightwidget.sip.in
Nyall Dawson 3f6b490218 Sipify
2025-04-02 11:11:10 +10:00

71 lines
2.0 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgsdirectionallightwidget.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/
class QgsDirectionalLightWidget : QWidget
{
%Docstring(signature="appended")
Widget for direction light settings.
The user can choose azimuth and altitude values.
.. versionadded:: 3.30
%End
%TypeHeaderCode
#include "qgsdirectionallightwidget.h"
%End
public:
explicit QgsDirectionalLightWidget( QWidget *parent = 0 );
%Docstring
Constructor
%End
~QgsDirectionalLightWidget();
void setAzimuth( double azimuth );
%Docstring
Sets the ``azimuth`` value (degree)
%End
double azimuth() const;
%Docstring
Returns the ``azimuth`` value (degree)
%End
void setAltitude( double altitude );
%Docstring
Sets the ``altitude`` value (degree)
%End
double altitude() const;
%Docstring
Returns the ``altitude`` value (degree)
%End
void setEnableAzimuth( bool enable );
%Docstring
Sets whether the azimut can be changed, for example, when using
multidirectional light
%End
signals:
void directionChanged();
%Docstring
Emitted when the direction is changed
%End
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgsdirectionallightwidget.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/