~ubuntu-branches/ubuntu/vivid/qpdfview/vivid

« back to all changes in this revision

Viewing changes to sources/documentview.h

  • Committer: Package Import Robot
  • Author(s): Benjamin Eltzner
  • Date: 2013-12-01 13:26:44 UTC
  • mfrom: (1.2.11)
  • Revision ID: package-import@ubuntu.com-20131201132644-vwledybqwubap2uh
Tags: 0.4.7-1
* New upstream release.
* Patch to provide more toolbar items by default.

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
 
36
36
namespace Model
37
37
{
 
38
class Annotation;
38
39
class Page;
39
40
class Document;
40
41
}
45
46
class SearchTask;
46
47
class PresentationView;
47
48
class ShortcutHandler;
 
49
class DocumentLayout;
48
50
 
49
51
class DocumentView : public QGraphicsView
50
52
{
232
234
    QList< Position > m_past;
233
235
    QList< Position > m_future;
234
236
 
235
 
    int currentPageForPage(int page) const;
236
 
 
237
 
    int leftIndexForIndex(int index) const;
238
 
    int rightIndexForIndex(int index) const;
239
 
 
240
237
    void saveLeftAndTop(qreal& left, qreal& top) const;
241
238
 
 
239
    QScopedPointer< DocumentLayout > m_layout;
 
240
 
242
241
    bool m_continuousMode;
243
 
    LayoutMode m_layoutMode;
244
242
    ScaleMode m_scaleMode;
245
243
    qreal m_scaleFactor;
246
244
    Rotation m_rotation;