PDA

View Full Version : link an image



smemamian
2nd July 2013, 09:32
hi

how can i change image behavior as a button ?

9260

rawfool
2nd July 2013, 10:50
Which class are you using to contain image ? Is it QLabel or QPixmap or something ?

smemamian
2nd July 2013, 11:54
I am useing QPixmap

tnx

rawfool
2nd July 2013, 12:10
Why don't you use QPushButton or QToolButton and setIcon() to it.
If this don't suit your requirement, explain what your are trying to achieve.