Hi all

I am working on Qt4.2.3 (intel MAc)

My Problem:


I am having a MainWindow and a dialog ,MainWindow consists of several pushbuttons , and each Pushbutton works differently and different images are set on them ,Now what i want is this,On click of any pushbutton ,a dialog opens(in which there also a QPushbutton) and that QPushButton displays the same image as it was there in the main window . and when I click on some other button of the main window , then it again displays the same dialog but with different image.Means on clicking any pushbutton same dialog opens but each time with different image and different data.Q