<?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[Topics tagged with amm]]></title><description><![CDATA[A list of topics that have been tagged with amm]]></description><link>https://forum.qt.io/tags/amm</link><generator>RSS for Node</generator><lastBuildDate>Mon, 21 Sep 2026 23:06:26 GMT</lastBuildDate><atom:link href="https://forum.qt.io/tags/amm.rss" rel="self" type="application/rss+xml"/><pubDate>Invalid Date</pubDate><ttl>60</ttl><item><title><![CDATA[Problem with widgets in minimal integration of opencv]]></title><description><![CDATA[Oh, dear, the problem has nothing to do with opencv or video capture.
If you add a frame to your QLabel like
webcamLabel-&gt;setFrameShape(QFrame::Box);

You will see that's your QLabel above other widgets, so blocking their mouse events.
About the "responsive" top part, that's because QVBoxLayout has default 9px margins.
If you add
layout-&gt;setContentsMargins(0, 0, 0, 0);

Then they'll be not responsive at all.
So the problem can be easily solved after you learn how to properly use layouts to arrange the widgets and not let anyone block others.
I think you are just copying the code from somewhere else, right? The orignal example probably doesn't use ui file and only has an empty window.
In your case, I would suggest that don't create the layout and the label in the cpp file, but in the ui file with all the other widgets.
]]></description><link>https://forum.qt.io/topic/149396/problem-with-widgets-in-minimal-integration-of-opencv</link><guid isPermaLink="true">https://forum.qt.io/topic/149396/problem-with-widgets-in-minimal-integration-of-opencv</guid><dc:creator><![CDATA[Bonnie]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>