I have created a mainWindow consisted of a button_1 and one graphicsview. When I press the button, I run another window.exe (it is a dialog box in order to find the directory of a png file.) On the dialog box there is a another button_2, and when I press it I want to take the directory and open the png file in the graphics view of my mainWindow. I know how to display an image in a graphics view, but I do not know how to take the directory from the dialog box (window.exe) and open the png image in the graphics view of my mainwindow.
I hope someone could help me