Arritmic
Arritmic

Reputation: 509

Qlabel under layout

I would like to do something like the picture I post just below: enter image description here

Basically, I would like to show a vertical layout over one Qlabel for rendering a camera stream in that QLabel, and the buttons in my vertical layout are shown with the video under.

Thanks in advance.

Upvotes: 0

Views: 301

Answers (1)

JuanDeLosMuertos
JuanDeLosMuertos

Reputation: 4620

Why would you put a camera stream on a QLabel? Just use a QCameraViewFinder widget, see this example.

Then, even using the QtCreator designer, you can put anything you want over the camera widget.

Just remember to call yourwidget->raise() to keep it visible.

Upvotes: 1

Related Questions