16#ifndef QGSRASTERBANDCOMBOBOX_H
17#define QGSRASTERBANDCOMBOBOX_H
37 Q_PROPERTY(
int band READ currentBand WRITE setBand NOTIFY bandChanged )
57 int currentBand()
const;
63 bool isShowingNotSetOption()
const;
71 void setShowNotSetOption(
bool show,
const QString &
string = QString() );
91 void setBand(
int band );
102 QPointer< QgsRasterLayer > mLayer;
104 bool mShowNotSet =
false;
105 QString mNotSetString;
Base class for all map layer types.
A combobox widget which displays the bands present in a raster layer.
void bandChanged(int band)
Emitted when the currently selected band changes.
Base class for raster data providers.
Represents a raster layer.