no, it is not connected with parent widget.
look at this code:
Qt Code:
  1. QSimpleRichText rich_text("<img src=image.jpg border=0>", app.font());
  2. QRect rect(0, 0, rich_text.widthUsed(), rich_text.height());
  3. QPixmap buffer(rect.size());
  4. buffer.fill(Qt::red);
  5.  
  6. QPainter p( &buffer );
  7. rich_text.draw(&p, 0, 0, rect, app.palette().active());
  8. p.end();
  9.  
  10. QLabel *label = new QLabel(0);
  11. label->setPixmap(buffer);
  12. label->show();
To copy to clipboard, switch view to plain text mode 
This "image.jpg" is an green image 150px*150px.
Now look at results:

red borders are QSimpleRichText's margins.