Moving the opencv window on top Qt(c++) dialogs/widgets

asked 2017-12-29 06:27:22 -0500

demonferrari gravatar image

Hello Everyone,

I am new to Qt. I am developing a Qt(c++) and opencv application on Ubuntu 14.

My application has three Qt diaglog windows.The 2nd dialog opens by pressing the pushbutton on the first dialog. The 3rd dialog opens by pressing the pushbutton on the 2nd dialog.

In the 3rd dialog on the press of a push button i do some image processing operations using opencv and display the results using opencv function namedWindow. This is shown in image1 IMage1

The problem is that i am not able to move opencv windows("source" and "centers") on top of the 3 qt dialogs. This is shown in image2. I,e i want to bring the opencv windows to foreground. IMage2

How do i move the opencv windows on top of all the qt dialogs(bring it to foreground) and have complete access to the opencv window to perform operations like clicking on pixels, rectangular selection , thresholding using scroll bar(basically mouse call back) on the opencv window.

Please help me out with this problem

Thanks

edit retag flag offensive close merge delete