title: Print text of a QWebview, QPrintDialog doesn't appear
body: <p>I tried this:</p>
  
  <pre><code>QPrintDialog printdia(MyWevView);
  
  printdia.exec(); 
  
  QPrinter* printer = printdia.printer();
  
  QPainter painter(printer);      
  
  MyWevView-&gt;render(&amp;painter, MyWevView-&gt;pos(),MyWevView-&gt;visibleRegion());
  </code></pre>
  
  <p>I know I don't check if the user accepts but that's not the problem...everytime, I don't see the dialog, it just prints</p>
  
  <p>so first I don't understand why the QPrintDialog doesn't appear and second why it knows my printer and go directly prints the text</p>
  
  <p>I guess fixing my first problem will solve my second...</p>
  
  <p>thanks!</p>