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() );
85 void setBand(
int band );
92 void bandChanged(
int band );
96 QPointer< QgsRasterLayer > mLayer;
98 bool mShowNotSet =
false;
99 QString mNotSetString;
107 #endif // QGSRASTERBANDCOMBOBOX_H Base class for all map layer types.
This class provides qgis with the ability to render raster datasets onto the mapcanvas.
A combobox widget which displays the bands present in a raster layer.
Base class for raster data providers.