Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-19215

QPrintPreviewWidget::Print(); slot prints clear blank pages

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • 4.7.4
    • 4.7.3
    • GUI: Printing
    • None
    • Windows 7 professionat, qt sdk 4.7.0,qt sdk 4.7.3;
      MSVC2008,minigv

    Description

      in version 4.6.3 and 4.7.0
      code:
      {
      QPrintPreviewWidget PrintPageWidget(PrintPage);
      PrintPageWidget.setVisible(0);
      for(unsigned int i = 0;i<PageCount;i++)

      { QObject::connect(&PrintPageWidget, SIGNAL(paintRequested(QPrinter*)), &(ArrayPageComp[i].WebViewInv), SLOT(print(QPrinter*))); PrintPageWidget.updatePreview () ; PrintPageWidget.print(); QObject::disconnect(&PrintPageWidget, SIGNAL(paintRequested(QPrinter*)), &(ArrayPageComp[i].WebViewInv), SLOT(print(QPrinter*))); }

      }
      prints pages with data`s from ArrayPageComp[i].WebViewInv (QWebView).
      In version 4.7.3 this code prints clear pages...

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            dambo Alex Karpov
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes