Skip to content
Permalink
Browse files

Patch from Volker Froehlich. Fixes ticket #2252

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@14618 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent
mhugent committed Nov 13, 2010
1 parent 1dcd7c4 commit 237ac8ffb16ad6b0406357ead16f79db75b2b1da
Showing with 9 additions and 0 deletions.
  1. +9 −0 src/app/qgsrasterlayerproperties.cpp
@@ -113,6 +113,15 @@ QgsRasterLayerProperties::QgsRasterLayerProperties( QgsMapLayer* lyr, QgsMapCanv
leMaximumScale->setValidator( new QDoubleValidator( 0, std::numeric_limits<float>::max(), 1000, this ) );
leNoDataValue->setValidator( new QDoubleValidator( -std::numeric_limits<float>::max(), std::numeric_limits<float>::max(), 1000, this ) );

leRedMin->setValidator( new QDoubleValidator( this ) );
leRedMax->setValidator( new QDoubleValidator( this ) );
leBlueMin->setValidator( new QDoubleValidator( this ) );
leBlueMax->setValidator( new QDoubleValidator( this ) );
leGreenMin->setValidator( new QDoubleValidator( this ) );
leGreenMax->setValidator( new QDoubleValidator( this ) );
leGrayMin->setValidator( new QDoubleValidator( this ) );
leGrayMax->setValidator( new QDoubleValidator( this ) );

// build GUI components
cboxColorMap->addItem( tr( "Grayscale" ) );
cboxColorMap->addItem( tr( "Pseudocolor" ) );

0 comments on commit 237ac8f

Please sign in to comment.
You can’t perform that action at this time.