Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

Alternatives to 'QProgressDialog'

$
0
0
Greetings. As before, I’m working on a project in which I use Qt and OpenCV. I am currently developing a dialog that (among other features) presents the user with a list of morphological operations (erosion, dilation, etc) and allows you to apply interactively on a selected image, which is displayed in a preview in the dialog. The problem is as follows: Medical images are very large (3000 * 4000) and some of the operations take longer to complete a lake (several minutes). So, I thought of putting some widget that tells the user that the operation is being performed, so that the application does not freeze during that time. However, the only widget I’ve seen used for this purpose is the ‘QProgressDialog’, but this really does not help me since I have no way to know the level of progress of an operation being applied on the image. For example: Once invoked the morphological functions of OpenCV as cv::erode () or cv::dilate (), there is no way to know the level of progress of the operation … you can only wait for the function to return. So, for the QProgressDialog is not the most appropriate. The specific question is: What alternative to ‘QProgressDialog’ exist for this task? I thought that the ideal would be to place a widget as a small hourglass or or some other like that telling the user to wait for it to complete the operation. Thanks in advance for any responses and / or comments.

Viewing all articles
Browse latest Browse all 18427

Trending Articles