View Full Version : setting focus to the grid items on click on it.
prajna
27th February 2009, 04:36
Dear All,
I am trying to set focus on the images in the grid as the user clicks on each picture .
How can I obtain this.
Information on this would be helpful.
I tried using setFocus() API but it is not working.
need help on this..
aamer4yu
27th February 2009, 18:00
I am trying to set focus on the images in the grid as the user clicks on each picture .
What are you using to display the images ? QLabel, custom widget, etc ?
And how do you intend to see the focus on image ? Usually in icons in listwidget, etc, the pixmap is rendered with additional layer of highlight color. Is this what you want ?
prajna
5th March 2009, 10:34
I am using Qlabel to display the image.
and I just want the identification in any way for the user that he has clicked it.Thtats what I meant by focus.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.