<?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[Differences between ListModel and Repeater? Which type is better to implement a list of components containing controls?]]></title><description><![CDATA[<p dir="auto">Hello,<br />
I have a <strong>QQmlListProperty</strong> containing <strong>QObjects</strong>. One attribute of these objects is a weekdayList(i.e M,S,S, for Monday, Saturday, Sunday). I implemented a qml-component to edit these weekDay-attribute(7 checkable buttons, one for every weekday, looks like the android alarm-clock).</p>
<p dir="auto">Now I want to show all objects in a <strong>ListView</strong>, or a <strong>Repeater</strong> and the delegate should also contain this editing-weekday-component. I tried it already with a ListView and it seems to work. The gui-component is rendered properly, but no interaction with the component takes place. The buttons aren't clickable.</p>
<p dir="auto">Maybe someone can give me some hints, how I can achieve my target and which of the qml-componente(ListView, Repeater) are appropriate.</p>
<p dir="auto">Thanks</p>
]]></description><link>https://forum.qt.io/topic/75342/differences-between-listmodel-and-repeater-which-type-is-better-to-implement-a-list-of-components-containing-controls</link><generator>RSS for Node</generator><lastBuildDate>Thu, 07 May 2026 10:44:19 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/75342.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 20 Jan 2017 21:11:14 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Differences between ListModel and Repeater? Which type is better to implement a list of components containing controls? on Fri, 03 Feb 2017 15:39:27 GMT]]></title><description><![CDATA[<p dir="auto">Thank you for your help and the informations. The problem was that I put a mouse-area over the gui-controls.</p>
]]></description><link>https://forum.qt.io/post/373350</link><guid isPermaLink="true">https://forum.qt.io/post/373350</guid><dc:creator><![CDATA[wuarmin]]></dc:creator><pubDate>Fri, 03 Feb 2017 15:39:27 GMT</pubDate></item><item><title><![CDATA[Reply to Differences between ListModel and Repeater? Which type is better to implement a list of components containing controls? on Sat, 21 Jan 2017 15:06:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/wuarmin">@<bdi>wuarmin</bdi></a> the main difference there is a time of instantiating delegates. if there is not clickable buttons in your listview, might be problem with your code</p>
]]></description><link>https://forum.qt.io/post/370834</link><guid isPermaLink="true">https://forum.qt.io/post/370834</guid><dc:creator><![CDATA[vladstelmahovsky]]></dc:creator><pubDate>Sat, 21 Jan 2017 15:06:59 GMT</pubDate></item><item><title><![CDATA[Reply to Differences between ListModel and Repeater? Which type is better to implement a list of components containing controls? on Sat, 21 Jan 2017 11:34:43 GMT]]></title><description><![CDATA[<p dir="auto">Ok, thank you for your response.</p>
<p dir="auto">So you mean, that use of editing controls in ListView-delegates should work?</p>
<p dir="auto">I'll post the code later...</p>
]]></description><link>https://forum.qt.io/post/370818</link><guid isPermaLink="true">https://forum.qt.io/post/370818</guid><dc:creator><![CDATA[wuarmin]]></dc:creator><pubDate>Sat, 21 Jan 2017 11:34:43 GMT</pubDate></item><item><title><![CDATA[Reply to Differences between ListModel and Repeater? Which type is better to implement a list of components containing controls? on Sat, 21 Jan 2017 05:20:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/wuarmin">@<bdi>wuarmin</bdi></a></p>
<blockquote>
<p dir="auto">I tried it already with a ListView and it seems to work. The gui-component is rendered properly, but no interaction with the component takes place. The buttons aren't clickable.</p>
</blockquote>
<p dir="auto">This sounds strange. Can you post the code ?</p>
<blockquote>
<p dir="auto">Differences between ListModel and Repeater?</p>
</blockquote>
<p dir="auto">Lots of. One of them being <code>ListView</code>'s are scrollable, <code>Repeater</code>s are not. In fact it has a different funcionality. You can find more info comparing the documentation of both the components.</p>
]]></description><link>https://forum.qt.io/post/370779</link><guid isPermaLink="true">https://forum.qt.io/post/370779</guid><dc:creator><![CDATA[p3c0]]></dc:creator><pubDate>Sat, 21 Jan 2017 05:20:49 GMT</pubDate></item></channel></rss>