In the preceding section, we set up our editor application. In this section, we will add a simple feature of image editing—an action (both on the menu and the toolbar) to blur the image.
We will do this in two steps:
- First, we will set up the UI and add the action, and then connect the action to a dummy slot.
- Then, we will rewrite the dummy slot to blur the image, which will get the OpenCV library involved.