QGIS API Documentation 3.34.0-Prizren (ffbdd678812)
Loading...
Searching...
No Matches
qgsdirectionallightwidget.h
Go to the documentation of this file.
1/***************************************************************************
2 qgsdirectionallightwidget.h - QgsDirectionalLightWidget
3
4 ---------------------
5 begin : 11.12.2022
6 copyright : (C) 2022 by Vincent Cloarec
7 email : vcloarec at gmail dot com
8 ***************************************************************************
9 * *
10 * This program is free software; you can redistribute it and/or modify *
11 * it under the terms of the GNU General Public License as published by *
12 * the Free Software Foundation; either version 2 of the License, or *
13 * (at your option) any later version. *
14 * *
15 ***************************************************************************/
16#ifndef QGSDIRECTIONALLIGHTWIDGET_H
17#define QGSDIRECTIONALLIGHTWIDGET_H
18
19#include <QWidget>
20#include "ui_qgsdirectionallightwidget.h"
21#include "qgis_gui.h"
22
33class GUI_EXPORT QgsDirectionalLightWidget : public QWidget, private Ui::QgsDirectionalLightWidget
34{
35 Q_OBJECT
36
37 public:
39 explicit QgsDirectionalLightWidget( QWidget *parent = nullptr );
41
43 void setAzimuth( double azimuth );
44
46 double azimuth() const;
47
49 void setAltitude( double altitude );
50
52 double altitude() const;
53
55 void setEnableAzimuth( bool enable );
56
57 signals:
60 private:
61
62};
63
64#endif // QGSDIRECTIONALLIGHTWIDGET_H
Widget for direction light settings.
void directionChanged()
Emitted when the direction is changed.