Skip to content
Permalink
Browse files
Set options list style to to white background
  • Loading branch information
timlinux committed Jan 22, 2013
1 parent 53197ad commit de437abdb1603ca537d431282aaac1c1d04d921b
Showing with 30 additions and 30 deletions.
  1. +5 −8 src/core/raster/qgsrasterlayer.cpp
  2. +25 −22 src/ui/qgsoptionsbase.ui
@@ -2279,15 +2279,12 @@ bool QgsRasterLayer::readSymbology( const QDomNode& layer_node, QString& errorMe

if ( !rasterRendererElem.isNull() )
{
if ( !rasterRendererElem.isNull() )
QString rendererType = rasterRendererElem.attribute( "type" );
QgsRasterRendererRegistryEntry rendererEntry;
if ( QgsRasterRendererRegistry::instance()->rendererData( rendererType, rendererEntry ) )
{
QString rendererType = rasterRendererElem.attribute( "type" );
QgsRasterRendererRegistryEntry rendererEntry;
if ( QgsRasterRendererRegistry::instance()->rendererData( rendererType, rendererEntry ) )
{
QgsRasterRenderer *renderer = rendererEntry.rendererCreateFunction( rasterRendererElem, dataProvider() );
mPipe.set( renderer );
}
QgsRasterRenderer *renderer = rendererEntry.rendererCreateFunction( rasterRendererElem, dataProvider() );
mPipe.set( renderer );
}
}

@@ -59,6 +59,9 @@
<height>16777215</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">background-color: #fff</string>
</property>
<property name="horizontalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOff</enum>
</property>
@@ -266,8 +269,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>654</width>
<height>529</height>
<width>663</width>
<height>562</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_28">
@@ -772,8 +775,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>611</width>
<height>808</height>
<width>652</width>
<height>803</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_22">
@@ -1102,8 +1105,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>559</width>
<height>417</height>
<width>529</width>
<height>443</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_27">
@@ -1421,8 +1424,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>615</width>
<height>681</height>
<width>608</width>
<height>728</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_29">
@@ -1909,8 +1912,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>498</width>
<height>332</height>
<width>483</width>
<height>364</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_25">
@@ -2148,8 +2151,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>556</width>
<height>718</height>
<width>534</width>
<height>771</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_30">
@@ -2528,8 +2531,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>517</width>
<height>643</height>
<width>500</width>
<height>691</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_31">
@@ -3017,8 +3020,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>537</width>
<height>361</height>
<width>462</width>
<height>386</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_6">
@@ -3157,8 +3160,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>614</width>
<height>393</height>
<width>638</width>
<height>422</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_15">
@@ -3338,8 +3341,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>300</width>
<height>248</height>
<width>298</width>
<height>240</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_32">
@@ -3438,8 +3441,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>521</width>
<height>650</height>
<width>540</width>
<height>672</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_33">

0 comments on commit de437ab

Please sign in to comment.