~mutse-young/ubuntu-docviewer-app/trunk

« back to all changes in this revision

Viewing changes to src/app/qml/ubuntu-docviewer-app.qml

  • Committer: Tarmac
  • Author(s): David Planella, Stefano Verzegnassi
  • Date: 2014-10-29 07:52:49 UTC
  • mfrom: (31.1.25 add-plugin)
  • Revision ID: tarmac-20141029075249-2auw8m69b0sq2om0
Use the new Poppler QML plugin (with asynchronous page loading) in Pdf view. Fixes: https://bugs.launchpad.net/bugs/1387021.

Approved by Ubuntu Phone Apps Jenkins Bot, Stefano Verzegnassi.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
    width: units.gu(50)
17
17
    height: units.gu(75)
18
18
 
19
 
    property string minetype: "none"
 
19
    property string mimetype: "none"
20
20
 
21
21
   Arguments {
22
22
        id: args
30
30
        id: file
31
31
        path: args.defaultArgument.at(0)
32
32
 
33
 
        onMimetypeChanged: mainView.minetype = LoadComponent.load(file.mimetype);
 
33
        onMimetypeChanged: mainView.mimetype = LoadComponent.load(file.mimetype);
34
34
    }
35
35
 
36
36
    PageStack {
40
40
            DetailsPage {
41
41
                objectName: "TabDetails"
42
42
                id: tabDetails;
43
 
 
44
43
            }
45
44
        }
46
45
    }