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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • 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

    Description

      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?

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes