<?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[QComboBox Drag and Drop]]></title><description><![CDATA[<p dir="auto">Dear all, how to use the Drag-and-Drop mechanisms for QComboBox. That is I want to drag a QComboBox and drop it somewhere else in its parent. I want its items in its  popup list to remain exactly the same. In other words, the whole QComboBox is the QWidget onto which the Drag and Drop are applied.</p>
<pre><code>My problem here is as follows: when there is a mouse press event, how to distinguish between (1) open popup list and (2) start a drag.

Several solutions:
</code></pre>
<ol>
<li>On the QComboBox, define one region for the "popup list" and one region for the drag.</li>
<li>Put the QComboBox in a larger Qwidget.</li>
</ol>
<p dir="auto">Any help is welcome<br />
JP</p>
]]></description><link>https://forum.qt.io/topic/47094/qcombobox-drag-and-drop</link><generator>RSS for Node</generator><lastBuildDate>Tue, 22 Sep 2026 09:35:31 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/47094.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 16 Oct 2014 09:01:50 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to QComboBox Drag and Drop on Fri, 17 Oct 2014 12:35:53 GMT]]></title><description><![CDATA[<p dir="auto">Thanks Iam, but I have already seen the examples and none of them<br />
does what I'm looking for.<br />
Please, could someone helps me.</p>
]]></description><link>https://forum.qt.io/post/247978</link><guid isPermaLink="true">https://forum.qt.io/post/247978</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Fri, 17 Oct 2014 12:35:53 GMT</pubDate></item><item><title><![CDATA[Reply to QComboBox Drag and Drop on Thu, 16 Oct 2014 09:53:47 GMT]]></title><description><![CDATA[<p dir="auto">Hi and welcome to devnet.</p>
<p dir="auto">Before doing anything.<br />
Go through to the Qt Docs and examples available on web..</p>
<p dir="auto">Help Links:<br />
"<em>find here</em>":<a href="http://qt-project.org/doc/qt-5/dnd.html" target="_blank" rel="noopener noreferrer nofollow ugc">http://qt-project.org/doc/qt-5/dnd.html</a></p>
<p dir="auto">hope this helps.</p>
]]></description><link>https://forum.qt.io/post/247771</link><guid isPermaLink="true">https://forum.qt.io/post/247771</guid><dc:creator><![CDATA[IamSumit]]></dc:creator><pubDate>Thu, 16 Oct 2014 09:53:47 GMT</pubDate></item></channel></rss>