mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
70 lines
2.0 KiB
Plaintext
70 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.pl 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.pl again *
|
||
|
************************************************************************/
|