mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-03 00:02:25 -05:00
34 lines
820 B
Plaintext
34 lines
820 B
Plaintext
/**
|
|
* @brief Widget to control a layers transparency and related options
|
|
*/
|
|
class QgsRasterTransparencyWidget: QWidget
|
|
{
|
|
%TypeHeaderCode
|
|
#include <qgsrastertransparencywidget.h>
|
|
%End
|
|
public:
|
|
/**
|
|
* @brief Widget to control a layers transparency and related options
|
|
*/
|
|
QgsRasterTransparencyWidget( QgsRasterLayer* layer, QgsMapCanvas *canvas, QWidget *parent = 0 );
|
|
~QgsRasterTransparencyWidget();
|
|
|
|
signals:
|
|
/**
|
|
* Emmited when something on the widget has changed.
|
|
* All widgets will fire this event to notify of an internal change.
|
|
*/
|
|
void widgetChanged();
|
|
|
|
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();
|
|
};
|