<?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[Which models can be used with QDataWidgetMapper?]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">"QDataWidgetMapper":<a href="http://qt-project.org/doc/qt-4.8/qdatawidgetmapper.html" target="_blank" rel="noopener noreferrer nofollow ugc">http://qt-project.org/doc/qt-4.8/qdatawidgetmapper.html</a> can use a "QSqlTableModel":<a href="http://qt-project.org/doc/qt-4.8/qsqltablemodel.html" target="_blank" rel="noopener noreferrer nofollow ugc">http://qt-project.org/doc/qt-4.8/qsqltablemodel.html</a> or it has to use an abstract model?</p>
<p dir="auto">In the QDataWidgetMapper documentation (the <em>See also</em> section)there are only links to QAbstractItemModel and QAbstractItemDelegate, that's why I'm not sure it can use other models.</p>
<p dir="auto">Thanks!</p>
]]></description><link>https://forum.qt.io/topic/18170/which-models-can-be-used-with-qdatawidgetmapper</link><generator>RSS for Node</generator><lastBuildDate>Thu, 07 May 2026 12:05:16 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/18170.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 10 Jul 2012 10:48:13 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Which models can be used with QDataWidgetMapper? on Tue, 10 Jul 2012 12:06:51 GMT]]></title><description><![CDATA[<p dir="auto">Wow, it's true, sorry. That's a I-should've-thought-about-it inheritance issue.</p>
<p dir="auto">Thank you for your kind answer</p>
]]></description><link>https://forum.qt.io/post/143995</link><guid isPermaLink="true">https://forum.qt.io/post/143995</guid><dc:creator><![CDATA[David_Gil]]></dc:creator><pubDate>Tue, 10 Jul 2012 12:06:51 GMT</pubDate></item><item><title><![CDATA[Reply to Which models can be used with QDataWidgetMapper? on Tue, 10 Jul 2012 10:53:24 GMT]]></title><description><![CDATA[<p dir="auto">These are C++ basics. QSqlTableModel <em>is</em> an QAbstractItemModel. So, QDataWidgetMapper works with it, and with any other class that subclasses QAbstractItemModel.</p>
]]></description><link>https://forum.qt.io/post/143986</link><guid isPermaLink="true">https://forum.qt.io/post/143986</guid><dc:creator><![CDATA[andre]]></dc:creator><pubDate>Tue, 10 Jul 2012 10:53:24 GMT</pubDate></item></channel></rss>