Hello experts.
I have an image viewer which has a dialog that has a frame whose color can be modified by the Color Dialog. However, I would also like to change the frame's color depending on the color chosen from the image on the Main Window (like the dropper tool from Windows Paint program).
Could someone kindly give me a general solution for this task?
I would like to know also where should I reimplement the mousePressEvent - in the mainwindow or the dialog?
Thank you very much for your help. It would be greatly appreciated.
Bookmarks