~verzegnassi-stefano/+junk/pdf-viewer

« back to all changes in this revision

Viewing changes to src/plugin/poppler-qml-plugin/sgtileitem.cpp

  • Committer: Stefano Verzegnassi
  • Date: 2016-02-26 13:09:34 UTC
  • Revision ID: stefano92.100@gmail.com-20160226130934-hlvs30lh5zq446sh
Sync PDF plugin with latest LOK-plugin changes:
- Pinch to zoom (not tested)
- Double tap to zoom (not tested)
- Use UITK 1.3 ScrollView
- Zoom settings as a separate object
- Use UCUnits for a better scaling strategy/support
- Zoom modes: manual, fit width, fit page and automatic (as gnome-evince)
- Don't remove QImage data in SGTileItem

And probably some other minor change. There's some chance I've introduced some new bug here and there. Anyway that's not yet relevant because of the current status of the plugin.

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
 
35
35
        node->setRect(m_area);
36
36
 
37
 
        // We don't need anymore QImage's data
38
 
        m_data = QImage();
39
 
 
40
37
#ifdef DEBUG_SHOW_TILE_BORDER
41
38
        drawTileBorders(node);
42
39
#endif