<?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[Drag and drop - text between subwindows]]></title><description><![CDATA[<p dir="auto">I am starting  to look into an idea to "drag and drop"  highlighted text between QTextEdit  objects.<br />
Is it in general feasible in Qt?</p>
]]></description><link>https://forum.qt.io/topic/139341/drag-and-drop-text-between-subwindows</link><generator>RSS for Node</generator><lastBuildDate>Mon, 26 Oct 2026 19:18:42 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/139341.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 15 Sep 2022 14:08:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Drag and drop - text between subwindows on Fri, 16 Sep 2022 12:35:10 GMT]]></title><description><![CDATA[<p dir="auto">@AnneRanch said in <a href="/post/728888">Drag and drop - text between subwindows</a>:</p>
<blockquote>
<p dir="auto">very encouraging and immensely helpful.</p>
</blockquote>
<p dir="auto">How did it turn from <code>very encouraging and immensely helpful</code> to <code>trash</code> so quickly? :)</p>
<p dir="auto">The example project has a <code>main.cpp</code> and a <code>.pro</code> file. So you can use it as standalone project and test the behavior.</p>
]]></description><link>https://forum.qt.io/post/729024</link><guid isPermaLink="true">https://forum.qt.io/post/729024</guid><dc:creator><![CDATA[Pl45m4]]></dc:creator><pubDate>Fri, 16 Sep 2022 12:35:10 GMT</pubDate></item><item><title><![CDATA[Reply to Drag and drop - text between subwindows on Fri, 16 Sep 2022 12:08:12 GMT]]></title><description><![CDATA[<p dir="auto">I did check the  example . It is put together as subproject and won't even compile. This is not a first time example does not work. Why QT is putting out  such trash is unbelievable. Spare me the usual comments - you are using wrong Qt version ...</p>
]]></description><link>https://forum.qt.io/post/729020</link><guid isPermaLink="true">https://forum.qt.io/post/729020</guid><dc:creator><![CDATA[Anonymous_Banned275]]></dc:creator><pubDate>Fri, 16 Sep 2022 12:08:12 GMT</pubDate></item><item><title><![CDATA[Reply to Drag and drop - text between subwindows on Thu, 15 Sep 2022 19:33:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/pl45m4">@<bdi>Pl45m4</bdi></a> Thanks - that is very encouraging and immensely helpful.<br />
I think the main challenge will be - I am passing , using drag and drop, a text between instances of QTextEdit  and only the source is active.  So i simple terms - if I start the drag using mouse I will have to figure out how to activate the destination  - since the mouse button has to stay down... perhaps I will need a keyboard too... space bar (?) .<br />
My concern is how to add all these "drag and drop" classes without destroying the initial  QTextEdit and MDIArea relations.<br />
I have never done multiple inheritance, perhaps this will be a good application for that.<br />
I already  have examples cloned, so I will take a look at the example you posted.<br />
Thanks</p>
]]></description><link>https://forum.qt.io/post/728888</link><guid isPermaLink="true">https://forum.qt.io/post/728888</guid><dc:creator><![CDATA[Anonymous_Banned275]]></dc:creator><pubDate>Thu, 15 Sep 2022 19:33:22 GMT</pubDate></item><item><title><![CDATA[Reply to Drag and drop - text between subwindows on Thu, 15 Sep 2022 16:11:17 GMT]]></title><description><![CDATA[<p dir="auto">@AnneRanch</p>
<p dir="auto">Should be possible. Maybe you have to subclass and create your own d'n'd-<code>QTextEdit</code>.<br />
Have a look at these examples.</p>
<ul>
<li>
<p dir="auto"><a href="https://doc.qt.io/qt-6/dnd.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://doc.qt.io/qt-6/dnd.html</a></p>
</li>
<li>
<p dir="auto"><a href="https://doc.qt.io/qt-6/qtwidgets-draganddrop-draggabletext-example.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://doc.qt.io/qt-6/qtwidgets-draganddrop-draggabletext-example.html</a></p>
</li>
</ul>
]]></description><link>https://forum.qt.io/post/728872</link><guid isPermaLink="true">https://forum.qt.io/post/728872</guid><dc:creator><![CDATA[Pl45m4]]></dc:creator><pubDate>Thu, 15 Sep 2022 16:11:17 GMT</pubDate></item></channel></rss>