Results 1 to 2 of 2

Thread: CONTINUOUS PDF page problem

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2010
    Posts
    12
    Thanks
    3
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default CONTINUOUS PDF page problem

    I am writing a simple PDF reader using poppler-qt4.

    1. Here is what I have done:
    QScrollArea ---- show the a PDF file
    QWidget ---- widget of the scrollArea
    QLabel ---- labels in the widget, one label shows a PDF page.

    2. Here is the problem:
    I load all the pages. It's continuous but it will be a long time to show the pages if the PDF file is very huge.

    3. My question:
    What should I do to make the PDF reader continuous and fast.

    4. Thanks a lot

  2. #2
    Join Date
    Jul 2011
    Location
    Italy
    Posts
    24
    Thanks
    2
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: CONTINUOUS PDF page problem

    I think you can initialize your labels with a blank page (I never used poppler but I hope there's a method to get the total page number without loading all the pages) and then load the pages in a QThread.

Similar Threads

  1. QGLWidget tilts on continuous resize ?
    By tonnot in forum Qt Programming
    Replies: 1
    Last Post: 5th August 2011, 03:04
  2. create non continuous vertical bar
    By bibhukalyana in forum Qt Programming
    Replies: 3
    Last Post: 9th May 2011, 11:35
  3. Continuous Printing
    By Prabha in forum General Discussion
    Replies: 0
    Last Post: 28th July 2010, 11:01
  4. Replies: 1
    Last Post: 13th December 2009, 02:34
  5. Continuous read of text from an input file
    By ttvo in forum Qt Programming
    Replies: 1
    Last Post: 2nd June 2009, 00:09

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.