[Okular-devel] Re: CONTINUOUS PDF page problem

Albert Astals Cid aacid at kde.org
Wed Jul 20 13:47:20 CEST 2011


A Dimecres, 20 de juliol de 2011, 向kmlyygy vàreu escriure:
> 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:
>  How okular deal with this problem? What should I do to make the PDF reader continuous and fast.

Render the pages in a separate thread so it does not block your UI.

Albert

>   
>  4. Thanks a lot


More information about the Okular-devel mailing list