16#ifndef QGSRASTERBANDCOMBOBOX_H
17#define QGSRASTERBANDCOMBOBOX_H
36 Q_PROPERTY(
int band READ currentBand WRITE setBand NOTIFY bandChanged )
55 int currentBand()
const;
61 bool isShowingNotSetOption()
const;
69 void setShowNotSetOption(
bool show,
const QString &
string = QString() );
89 void setBand(
int band );
99 QPointer<QgsRasterLayer> mLayer;
101 bool mShowNotSet =
false;
102 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.