Hi all

I am working on Qt4.1 on my Intel MAC , I m having 5 buttons on my MainWindow and each button is represented by different Icon(image), What I wanted do is when mouse pointer is over the button it is replaced by the text,

For this I Subclass QPushButton & Use enter and leave events functions ,Its also working but when mouse pointer entered the buttons it replaces the icon of everybutton with the same text , and on leaving it replaces the text of the button with the same icons

But For each button I want the text & icon should be differnt.

How can i do this

How can i differentiate all the buttons.

Thanx