<?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[How to use virtualkeyboard in popup]]></title><description><![CDATA[<p dir="auto">I made a colordialog popup. I want the user can select the color by RGB or HSV. There are one circle and two slider for HSV. A textfield for RGB. When the textfield get focused, the virtualkeyboard displayed. but the virtualkeybord is Main.qml's child. in this case. the virtualkeyboard is masked(as the pics). How do I use the virtualkeyboard in popup?</p>
<p dir="auto"><img src="https://ddgobkiprc33d.cloudfront.net/f4615240-c064-4d51-88e9-5cd7c439db98.png" alt="colordialog.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.qt.io/topic/134126/how-to-use-virtualkeyboard-in-popup</link><generator>RSS for Node</generator><lastBuildDate>Sun, 19 Jul 2026 05:00:23 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/134126.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 07 Feb 2022 03:51:05 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to use virtualkeyboard in popup on Mon, 06 Jul 2026 12:36:39 GMT]]></title><description><![CDATA[<p dir="auto">Hi Guys,<br />
thanks for replying - I need to enable my email notifications... Also sorry for not being able to provide example code. I am explicitly instancing the InputPanel myself - and not so long ago learned that really only one instance is needed. Still it is a matter of where placing the instance inside the QML hierarchy as Overlays are special, because they are not part of the hierarchical structure.</p>
<pre><code>parent: Overlay.overlay
</code></pre>
<p dir="auto">did not work in the first place. I am not exactly sure what finally did the trick but it might have been placing the InputPanel as a direct child to the Window (and thus making it a sibling - not a child - to contentItem). Works now.</p>
<p dir="auto">Thanks so much<br />
Felix</p>
]]></description><link>https://forum.qt.io/post/839029</link><guid isPermaLink="true">https://forum.qt.io/post/839029</guid><dc:creator><![CDATA[felix_u]]></dc:creator><pubDate>Mon, 06 Jul 2026 12:36:39 GMT</pubDate></item><item><title><![CDATA[Reply to How to use virtualkeyboard in popup on Fri, 03 Jul 2026 02:06:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/felix_u">@<bdi>felix_u</bdi></a> said in <a href="/post/838963">How to use virtualkeyboard in popup</a>:</p>
<blockquote>
<p dir="auto">In my case using InputPanel explicitly. InputPanel is not a child of the Popup, but if I understand right it is a Singleton anyway. Any ideas?</p>
</blockquote>
<p dir="auto">There are no Singletons involved.</p>
<p dir="auto">Popups are children of an "overlay item" (see <a href="https://doc.qt.io/qt-6/qml-qtquick-controls-overlay.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://doc.qt.io/qt-6/qml-qtquick-controls-overlay.html</a>) which has a very high z-value. So, you must:</p>
<ul>
<li>Make your keyboard a sibling of that overlay item, AND</li>
<li>Give your keyboard a higher z-value than that overlay item</li>
</ul>
<p dir="auto">Try this:</p>
<pre><code>InputPanel {
    parent: Overlay.overlay.parent // Make the keyboard a sibling of the overlay
    z: Overlay.overlay.z + 1 // Give the keyboard a higher z-value than the overlay
    // ...
}
</code></pre>
]]></description><link>https://forum.qt.io/post/838976</link><guid isPermaLink="true">https://forum.qt.io/post/838976</guid><dc:creator><![CDATA[JKSH]]></dc:creator><pubDate>Fri, 03 Jul 2026 02:06:03 GMT</pubDate></item><item><title><![CDATA[Reply to How to use virtualkeyboard in popup on Thu, 02 Jul 2026 10:44:46 GMT]]></title><description><![CDATA[<p dir="auto">Do you instantiate the InputPanel yourself?</p>
]]></description><link>https://forum.qt.io/post/838966</link><guid isPermaLink="true">https://forum.qt.io/post/838966</guid><dc:creator><![CDATA[GrecKo]]></dc:creator><pubDate>Thu, 02 Jul 2026 10:44:46 GMT</pubDate></item><item><title><![CDATA[Reply to How to use virtualkeyboard in popup on Thu, 02 Jul 2026 09:57:59 GMT]]></title><description><![CDATA[<p dir="auto">Old post, still same problem here unfortunately. In my case using InputPanel explicitly. InputPanel is not a child of the Popup, but if I understand right it is a Singleton anyway. Any ideas?</p>
]]></description><link>https://forum.qt.io/post/838963</link><guid isPermaLink="true">https://forum.qt.io/post/838963</guid><dc:creator><![CDATA[felix_u]]></dc:creator><pubDate>Thu, 02 Jul 2026 09:57:59 GMT</pubDate></item></channel></rss>