~ubuntu-branches/debian/sid/qpdfview/sid

« back to all changes in this revision

Viewing changes to sources/pageitem.h

  • Committer: Package Import Robot
  • Author(s): Benjamin Eltzner
  • Date: 2013-05-26 13:52:50 UTC
  • mfrom: (1.2.8)
  • Revision ID: package-import@ubuntu.com-20130526135250-s1rhw935iqd8fcfs
Tags: 0.4.3-1
* New upstream release.
* Added menu file and fetch xpm icon file in debian folder.

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
    ~PageItem();
49
49
 
50
50
    QRectF boundingRect() const;
51
 
    void paint(QPainter* painter, const QStyleOptionGraphicsItem*, QWidget* widget);
 
51
    void paint(QPainter* painter, const QStyleOptionGraphicsItem*, QWidget*);
52
52
 
53
53
    int index() const;
54
54
    const QSizeF& size() const;
88
88
public slots:
89
89
    void refresh();
90
90
 
91
 
    void clearHighlights();
92
 
 
93
91
    void startRender(bool prefetch = false);
94
92
    void cancelRender();
95
93
 
172
170
    QRectF boundingRect() const;
173
171
    void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget);
174
172
 
 
173
    bool isCurrent() const;
 
174
    void setCurrent(bool current);
 
175
 
175
176
protected:
176
177
    void mousePressEvent(QGraphicsSceneMouseEvent*);
177
178
    void mouseDoubleClickEvent(QGraphicsSceneMouseEvent*);
187
188
    int m_textWidth;
188
189
    int m_textHeight;
189
190
 
 
191
    bool m_current;
 
192
 
190
193
};
191
194
 
192
195
#endif // PAGEITEM_H