diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2016-06-06 13:32:58 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2016-06-06 12:45:54 +0000 |
commit | 51c181776f2c389d6b12d78514008d3208841192 (patch) | |
tree | 02b0d621b84188faf4c6994f3e4565519bbf1016 /src/imports/templates/plugins.qmltypes | |
parent | 14e08bafc88824f3d16602b04b5e60ae8c4005b0 (diff) |
SwipeView: add isNextItem and isPreviousItem attached properties
[ChangeLog][SwipeView] Added isNextItem and isPreviousItem attached
properties to make it straight-forward to use Loader for unloading
pages that are outside the reach.
Change-Id: Idb97d64282afaef58cc3302d3f558900a0d7d4b5
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/imports/templates/plugins.qmltypes')
-rw-r--r-- | src/imports/templates/plugins.qmltypes | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/imports/templates/plugins.qmltypes b/src/imports/templates/plugins.qmltypes index 75a11a6e..bd4fa353 100644 --- a/src/imports/templates/plugins.qmltypes +++ b/src/imports/templates/plugins.qmltypes @@ -918,6 +918,8 @@ Module { prototype: "QObject" Property { name: "index"; type: "int"; isReadonly: true } Property { name: "isCurrentItem"; type: "bool"; isReadonly: true } + Property { name: "isPreviousItem"; type: "bool"; isReadonly: true } + Property { name: "isNextItem"; type: "bool"; isReadonly: true } Property { name: "view"; type: "QQuickSwipeView"; isReadonly: true; isPointer: true } } Component { |