mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
Fix html test
This commit is contained in:
parent
852c5e78c2
commit
12f521eb55
@ -41,7 +41,8 @@ bool QgsCompositionChecker::testComposition( int page )
|
||||
return false;
|
||||
}
|
||||
|
||||
#if 0 //fake mode to generate expected image
|
||||
#if 0
|
||||
//fake mode to generate expected image
|
||||
//assume 300 dpi and size of the control image 3507 * 2480
|
||||
QImage outputImage( QSize( 3507, 2480 ), QImage::Format_ARGB32 );
|
||||
mComposition->setPlotStyle( QgsComposition::Print );
|
||||
|
@ -74,7 +74,7 @@ void TestQgsComposerHtml::table()
|
||||
void TestQgsComposerHtml::tableMultiFrame()
|
||||
{
|
||||
QgsComposerHtml* htmlItem = new QgsComposerHtml( mComposition, false );
|
||||
QgsComposerFrame* htmlFrame = new QgsComposerFrame( mComposition, htmlItem, 0, 0, 100, 200 );
|
||||
QgsComposerFrame* htmlFrame = new QgsComposerFrame( mComposition, htmlItem, 10, 10, 100, 50 );
|
||||
htmlItem->addFrame( htmlFrame );
|
||||
htmlItem->setResizeMode( QgsComposerMultiFrame::ExtendToNextPage );
|
||||
bool result = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user