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

« back to all changes in this revision

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

  • Committer: David Planella
  • Date: 2014-10-28 22:01:16 UTC
  • mfrom: (31.2.8 add-poppler-plugin)
  • mto: This revision was merged to the branch mainline in revision 35.
  • Revision ID: david.planella@ubuntu.com-20141028220116-bryaeq3if69o6r6o
Merged branch to add Poppler plugin

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
    }