Showing with 21 additions and 1 deletion.
  1. +1 −1 python/core/symbology-ng/qgsvectorcolorrampv2.sip
  2. +20 −0 tests/testdata/template.qpt
2 changes: 1 addition & 1 deletion python/core/symbology-ng/qgsvectorcolorrampv2.sip
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class QgsVectorColorRampV2

};

class QgsVectorGradientColorRampV2 : QgsVectorColorRampV2
class QgsVectorGradientColorRampV2 : public QgsVectorColorRampV2
{
%TypeHeaderCode
#include <qgsvectorcolorrampv2.h>
Expand Down
20 changes: 20 additions & 0 deletions tests/testdata/template.qpt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<Composer title="Composer 1" visible="1">
<Composition printResolution="300" paperWidth="297" snapGridOffsetX="0" snapGridResolution="0" snapGridOffsetY="0" snapping="0" numPages="1" paperHeight="210" printAsRaster="0">
<ComposerLabel valign="32" labelText="[replace-me]" halign="1" margin="1">
<LabelFont description="Courier 10 Pitch,12,-1,5,50,0,0,0,0,0"/>
<FontColor red="0" blue="0" green="0"/>
<ComposerItem width="153.482" x="63.0228" y="15.7557" rotation="0" height="10.3227" frame="false" outlineWidth="0.3" zValue="2" lastValidViewScaleFactor="3.68121" id="" positionLock="false">
<FrameColor alpha="255" red="0" blue="0" green="0"/>
<BackgroundColor alpha="255" red="255" blue="255" green="255"/>
</ComposerItem>
</ComposerLabel>
<ComposerHtml resizeMode="0" url="file:///home/timlinux/dev/cpp/Quantum-GIS/tests/testdata/html_table.html">
<ComposerFrame sectionWidth="163.262" sectionHeight="152.667" sectionX="0" sectionY="0">
<ComposerItem width="163.262" x="64.1094" y="33.9562" rotation="0" height="152.667" frame="false" outlineWidth="0.3" zValue="1" lastValidViewScaleFactor="3.68121" id="html-test" positionLock="false">
<FrameColor alpha="255" red="0" blue="0" green="0"/>
<BackgroundColor alpha="255" red="255" blue="255" green="255"/>
</ComposerItem>
</ComposerFrame>
</ComposerHtml>
</Composition>
</Composer>