June 2019
Intermediate to advanced
348 pages
8h 28m
English
In the previous section, we added a new menu and toolbar named Edit to our application and added an action to both of them to blur the opening image. Let's recall the progress of adding this feature.
First, we added the menu and toolbar, and then the action. After the action was added, we connected a new slot to the action. In the slot, we got the opening image as an instance of QPixmap and converted it into a QImage object, and then a Mat object. The crucial editing work began here—we used OpenCV to modify the Mat instance to get the editing work done. Then, we converted Mat back into QImage and QPixmap accordingly to show the edited image.
Now, if we want to add another editing feature to our ...
Read now
Unlock full access