2016-05-19 08:38:26 +10:00
|
|
|
/**
|
|
|
|
* @brief Widget to control a layers transparency and related options
|
|
|
|
*/
|
2016-07-07 09:22:30 +10:00
|
|
|
class QgsRasterTransparencyWidget: QgsMapLayerConfigWidget
|
2016-05-19 08:38:26 +10:00
|
|
|
{
|
|
|
|
%TypeHeaderCode
|
|
|
|
#include <qgsrastertransparencywidget.h>
|
|
|
|
%End
|
|
|
|
public:
|
|
|
|
/**
|
|
|
|
* @brief Widget to control a layers transparency and related options
|
|
|
|
*/
|
2017-05-01 18:13:15 +02:00
|
|
|
QgsRasterTransparencyWidget( QgsRasterLayer *layer, QgsMapCanvas *canvas, QWidget *parent = 0 );
|
2016-05-19 08:38:26 +10:00
|
|
|
~QgsRasterTransparencyWidget();
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
/**
|
|
|
|
* Sync the widget state to the layer set for the widget.
|
|
|
|
*/
|
|
|
|
void syncToLayer();
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Apply any changes on the widget to the set layer.
|
|
|
|
*/
|
|
|
|
void apply();
|
|
|
|
};
|