~kulthauskante/npresenter/main

« back to all changes in this revision

Viewing changes to widgets/PreviewNextPageWidget.h

  • Committer: Karsten Krispin
  • Date: 2010-06-20 04:17:18 UTC
  • Revision ID: karsten@nonlimited.org-20100620041718-8ao7jp8fabg3rcsd
plenty of changes:
 * biggest change is rewrite of pdf/Document
  - it now is a singleton class which handles its loaded document by itself
  - caching is done in a seperate thread.
  - Poppler has been made "thread-safe". At least it works with threads now. ;)
  - document understands Viewport Layout.

* nPresenter
 - added help screen on start up
 - you can cycle through Viewport Layouts which Document now provides
 - interaction with new Document-Class is checked in. Could still be cleaned up a bit.

* pdf/Page
 - removed - all done in Document now

* nPresenter.doxygen
 - added configuration for doxygen.
 - We now can generate docs. Hurray! :)

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
                void paintEvent(QPaintEvent *event);
19
19
 
20
20
                const QImage slide();
21
 
                QRectF viewport();
 
21
                Document::Viewports viewport();
22
22
        
 
23
                QSize viewportSize()
 
24
                {
 
25
                        return ViewportWidget::viewportSize()-QSize(10,10);
 
26
                }
 
27
                
23
28
        signals:
24
29
 
25
30
        public slots:
26
 
                void slideChanged();
 
31
                
 
32
                void requestPage(int pageNum);
 
33
                void viewportIsReady(Viewports viewport, int page, QSize size);
 
34
                                
 
35
                
27
36
};
28
37
 
29
38
#endif // PREVIEWNEXTPAGEWIDGET_H