admin管理员组

文章数量:1350056

I have overridden the label's click event and successfully displayed a red border. However, since my label displays a video stream, it continuously refreshes, causing the border to appear and disappear.

I attempted to wrap the label inside another widget to maintain the border, but the label does not update according to changes in the outer widget.

Additionally, I have six video channels and need to dynamically switch to four channels. I am using a grid layout for this setup.

My Questions: How can I ensure that the red border remains visible despite the video stream refresh?

Is there a better approach to structure this UI while dynamically switching video channels?

Any insights or alternative solutions would be greatly appreciated!

本文标签: How to Persist Border Style on a Continuously Refreshing Video Stream Label(QT)Stack Overflow