<?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[Questions concerning QTableView and QListView]]></title><description><![CDATA[<p dir="auto">Hello everyone,</p>
<p dir="auto">I have to views that are QTableView and QListView, I could drag items from QTableView to QListView, I have some questions about this matter:<br />
-If I drag items to the white space of QListView it gonna append the list, but if the list view is full ( the vertical scroll bar appear) there is no longer white space, so it's impossible to append items to the list view, I could only drag on the last item of the list and insert the new one between the last item and the rest. Is there anyway to add some white space to the end of the list?<br />
-The QTableView items I had is really wide horizontally, so when I drag it has this big widget sticking to the mouse cursor. How can I change the UI of what I'm dragging?<br />
-I want to add some button on QTableView items whenever the user selected an item (it works similar to when you select a song in Groove Music, two buttons will appear). How to do this?</p>
]]></description><link>https://forum.qt.io/topic/62459/questions-concerning-qtableview-and-qlistview</link><generator>RSS for Node</generator><lastBuildDate>Fri, 21 Aug 2026 17:12:58 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/62459.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 08 Jan 2016 11:19:46 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Questions concerning QTableView and QListView on Sat, 09 Jan 2016 20:41:52 GMT]]></title><description><![CDATA[<p dir="auto">I don't know right now if it's implemented but it should rather be the view scrolling up/down when you are close to one of the uppper/lower edge.</p>
]]></description><link>https://forum.qt.io/post/306394</link><guid isPermaLink="true">https://forum.qt.io/post/306394</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Sat, 09 Jan 2016 20:41:52 GMT</pubDate></item><item><title><![CDATA[Reply to Questions concerning QTableView and QListView on Sat, 09 Jan 2016 14:03:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sgaist">@<bdi>SGaist</bdi></a> Hello thank for you answer. I want to know one more thing is that how could I perform a middle mouse scroll while dragging. I need to move items in a view but it doesn't allow me to scroll.</p>
]]></description><link>https://forum.qt.io/post/306370</link><guid isPermaLink="true">https://forum.qt.io/post/306370</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Sat, 09 Jan 2016 14:03:35 GMT</pubDate></item><item><title><![CDATA[Reply to Questions concerning QTableView and QListView on Fri, 08 Jan 2016 21:55:01 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<ol>
<li>Don't remember for that one</li>
<li>You can subclass your model and reimplement startDrag, there you can set the image you want on the QDrag object.</li>
<li>Implement your own <a href="http://doc.qt.io/qt-5/qstyleditemdelegate.html" target="_blank" rel="noopener noreferrer nofollow ugc">QStyledItemDelegate</a></li>
</ol>
]]></description><link>https://forum.qt.io/post/306311</link><guid isPermaLink="true">https://forum.qt.io/post/306311</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Fri, 08 Jan 2016 21:55:01 GMT</pubDate></item></channel></rss>