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

QPrintPreviewWidget does not allow styling of its graphicsView (incl. srollbars)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: P5: Not important P5: Not important
    • Some future release
    • 4.7.1
    • GUI: Printing
    • None
    • MS Windows XP SP3
      MS VisualStudio 2008 Pro SP1
      configure -debug-and-release -opensource -qt-sql-sqlite -plugin-sql-sqlite -platform win32-msvc2008 -mmx -sse -sse2 -arch windows

      There's no way ATM to setStyleSheet() on QPrintPreviewWidgetPrivate::graphicsView, particularly QPrintPreviewWidgetPrivate::graphicsView->horizontalScrollBar() and QPrintPreviewWidgetPrivate::graphicsView->verticalScrollBar().

      Implementing custom PrintPreviewWidget requires access to QPrinterPrivate which is not Q_GUI_EXPORT'ed. The only viable solution is to configure -static which results in 60+ MB exe files and huuuge patches.

      Please hurry?

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

            Unassigned Unassigned
            v000 Viktar Paklonski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes