Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Trusted Contributor
cjonesy
Posts: 160
Registered: ‎09-13-2012
My Device: 9900
My Carrier: vodafone
Accepted Solution

Multiple Rollover ImageButton Qt

Hello,

 

In Qt, I have an image which I want to make clickable, when clicked I want to find out what part of the image was clicked and then dependent on which part I want to set a new image until the user releases, 

 

So basically I need a button with 5 possible roll over images, could anyone tell me how I would do this please?

 

Thanks

 

Please use plain text.
Trusted Contributor
cjonesy
Posts: 160
Registered: ‎09-13-2012
My Device: 9900
My Carrier: vodafone

I have solved this by using subclassing a QLabel, making...

I have solved this by using subclassing a QLabel, making it clickable and setting its pixmap dependent on what area was clicked.

Please use plain text.