16#ifndef QGSRASTERBANDCOMBOBOX_H
17#define QGSRASTERBANDCOMBOBOX_H
36 Q_PROPERTY(
int band READ currentBand WRITE setBand NOTIFY bandChanged )
56 int currentBand()
const;
62 bool isShowingNotSetOption()
const;
70 void setShowNotSetOption(
bool show,
const QString &
string = QString() );
90 void setBand(
int band );
101 QPointer< QgsRasterLayer > mLayer;
103 bool mShowNotSet =
false;
104 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.