From 70fa9709b7dbea6a767344e2f226a8f2a29971c4 Mon Sep 17 00:00:00 2001 From: Chupligin Sergey Date: Sun, 2 Apr 2017 16:28:47 +0300 Subject: [PATCH] [ListViewItemWithAction] add showNext property --- src/controls/ListViewItemWithActions.qml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/controls/ListViewItemWithActions.qml b/src/controls/ListViewItemWithActions.qml index 9c147e0..b5bafdc 100644 --- a/src/controls/ListViewItemWithActions.qml +++ b/src/controls/ListViewItemWithActions.qml @@ -15,6 +15,8 @@ Item { property string icon: "" property string page: "" + property bool showNext: true + property alias actions: actionsLoader.sourceComponent signal clicked @@ -77,7 +79,7 @@ Item { sourceSize.height: height source: (icon != "") ? icon : "images/listview-icon-template-s.svg" - //visible: (icon != "") + fillMode: Image.PreserveAspectFit } Rectangle{ @@ -168,7 +170,7 @@ Item { sourceSize.height: height source: "images/listview-icon-arrow.svg" - //visible: (page != "") + visible: showNext } MouseArea {