qgsrasterlayerproperties.cpp.patch

Patch for the raster layer properties - Volker Fröhlich, 2010-11-13 12:02 PM

Download (1 KB)

View differences:

qgsrasterlayerproperties.cpp.patched 2010-11-13 20:58:38.489273062 +0100
113 113
  leMaximumScale->setValidator( new QDoubleValidator( 0, std::numeric_limits<float>::max(), 1000, this ) );
114 114
  leNoDataValue->setValidator( new QDoubleValidator( -std::numeric_limits<float>::max(), std::numeric_limits<float>::max(), 1000, this ) );
115 115

  
116
  leRedMin->setValidator( new QDoubleValidator( this ) );
117
  leRedMax->setValidator( new QDoubleValidator( this ) );
118
  leBlueMin->setValidator( new QDoubleValidator( this ) );
119
  leBlueMax->setValidator( new QDoubleValidator( this ) );
120
  leGreenMin->setValidator( new QDoubleValidator( this ) );
121
  leGreenMax->setValidator( new QDoubleValidator( this ) );
122
  leGrayMin->setValidator( new QDoubleValidator( this ) );
123
  leGrayMax->setValidator( new QDoubleValidator( this ) );
124

  
116 125
  // build GUI components
117 126
  cboxColorMap->addItem( tr( "Grayscale" ) );
118 127
  cboxColorMap->addItem( tr( "Pseudocolor" ) );