Commit 70fa9709 authored by Chupligin Sergey's avatar Chupligin Sergey

[ListViewItemWithAction] add showNext property

parent 84b417a1
...@@ -15,6 +15,8 @@ Item { ...@@ -15,6 +15,8 @@ Item {
property string icon: "" property string icon: ""
property string page: "" property string page: ""
property bool showNext: true
property alias actions: actionsLoader.sourceComponent property alias actions: actionsLoader.sourceComponent
signal clicked signal clicked
...@@ -77,7 +79,7 @@ Item { ...@@ -77,7 +79,7 @@ Item {
sourceSize.height: height sourceSize.height: height
source: (icon != "") ? icon : "images/listview-icon-template-s.svg" source: (icon != "") ? icon : "images/listview-icon-template-s.svg"
//visible: (icon != "") fillMode: Image.PreserveAspectFit
} }
Rectangle{ Rectangle{
...@@ -168,7 +170,7 @@ Item { ...@@ -168,7 +170,7 @@ Item {
sourceSize.height: height sourceSize.height: height
source: "images/listview-icon-arrow.svg" source: "images/listview-icon-arrow.svg"
//visible: (page != "") visible: showNext
} }
MouseArea { MouseArea {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment