~osomon/oxide/override-touchUngrabEvent

« back to all changes in this revision

Viewing changes to qt/qmlplugin/oxide.qmltypes

  • Committer: Olivier Tilloy
  • Date: 2016-01-12 11:46:34 UTC
  • mfrom: (1272.2.38 touch-selection-api)
  • Revision ID: olivier.tilloy@canonical.com-20160112114634-u1t78baa0u4hfoha
Add a touch selection API, to allow embedders to display handles for resizing the current selection, and contextual actions for it.

Show diffs side-by-side

added added

removed removed

Lines of Context:
290
290
        Signal { name: "errorCallbackChanged" }
291
291
    }
292
292
    Component {
 
293
        name: "OxideQQuickTouchSelectionController"
 
294
        prototype: "QObject"
 
295
        exports: ["TouchSelectionController 1.12"]
 
296
        isCreatable: false
 
297
        exportMetaObjectRevisions: [0]
 
298
        Enum {
 
299
            name: "HandleOrientation"
 
300
            values: {
 
301
                "HandleOrientationLeft": 0,
 
302
                "HandleOrientationCenter": 1,
 
303
                "HandleOrientationRight": 2,
 
304
                "HandleOrientationUndefined": 3
 
305
            }
 
306
        }
 
307
        Property { name: "active"; type: "bool"; isReadonly: true }
 
308
        Property { name: "handle"; type: "QQmlComponent"; isPointer: true }
 
309
        Property { name: "bounds"; type: "QRectF"; isReadonly: true }
 
310
    }
 
311
    Component {
293
312
        name: "OxideQQuickUserScript"
294
313
        prototype: "QObject"
295
314
        exports: ["UserScript 1.0"]
620
639
        }
621
640
        Property { name: "webProcessStatus"; revision: 4; type: "WebProcessStatus"; isReadonly: true }
622
641
        Property { name: "hoveredUrl"; revision: 7; type: "QUrl"; isReadonly: true }
 
642
        Property {
 
643
            name: "touchSelectionController"
 
644
            revision: 7
 
645
            type: "OxideQQuickTouchSelectionController"
 
646
            isReadonly: true
 
647
            isPointer: true
 
648
        }
 
649
        Property { name: "editingCapabilities"; revision: 7; type: "EditCapabilities"; isReadonly: true }
623
650
        Signal { name: "loadingStateChanged"; revision: 1 }
624
651
        Signal {
625
652
            name: "loadEvent"
689
716
            Parameter { name: "request"; type: "QJSValue" }
690
717
        }
691
718
        Signal { name: "hoveredUrlChanged"; revision: 7 }
 
719
        Signal { name: "editingCapabilitiesChanged"; revision: 7 }
692
720
        Signal {
693
721
            name: "loadingChanged"
694
722
            Parameter { name: "loadEvent"; type: "OxideQLoadEvent" }