<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Chnage property in ListModel]]></title><description><![CDATA[<p dir="auto">Hi, how can I change by <code>Button</code> the visibility in itemId = 1 in below ListView ?</p>
<pre><code>
    ListView {
        model: ListModel {
            id: payListModel
            ListElement {
                itemId: 1
                visible: true
            }
            ListElement {
                itemId: 2
                visible: true
            }
            ListElement {
                itemId: 3
                visible: true
            }
            ListElement {
                itemId: 4
                visible: false
            }
        }
        delegate: RowLayout {
            TextField {
                text: model.description
                visible: model.visible
            }
            TextField {
                text: model.value
                visible: model.visible
            }
            Text {
                text: model.currency
                visible: model.visible
            }
        }
    }

</code></pre>
]]></description><link>https://forum.qt.io/topic/142899/chnage-property-in-listmodel</link><generator>RSS for Node</generator><lastBuildDate>Sun, 21 Jun 2026 15:16:51 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/142899.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 13 Feb 2023 08:26:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Chnage property in ListModel on Mon, 13 Feb 2023 12:53:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/damian7546">@<bdi>Damian7546</bdi></a> said in <a href="/post/747393">Chnage property in ListModel</a>:</p>
<blockquote>
<p dir="auto">payListModel</p>
</blockquote>
<p dir="auto">May be you can look ListModel set(..) or setProperty(..) method.  This may help you.</p>
]]></description><link>https://forum.qt.io/post/747437</link><guid isPermaLink="true">https://forum.qt.io/post/747437</guid><dc:creator><![CDATA[dheerendra]]></dc:creator><pubDate>Mon, 13 Feb 2023 12:53:36 GMT</pubDate></item></channel></rss>