I use something like this for my simple buttons...

color: (activeFocus ? "#202020" : "#333132")

for my image buttons I use...

source:  (activeFocus ? "Button_Rollover.png" : "Button_Passive.png")

Nate


On 08/14/2014 12:28 PM, mark diener wrote:
Does anybody know how to give a visible clue to users that a given component
has gained focus and is now receiving user input.

For a textinput, the blinking cursor  cursorVisible = true works fine.

What about buttons or listview?

Any ideas?

Thanks,

md



Confidentiality Notice: The preceding e-mail message (including any 
attachments) contains information that may be confidential, protected by 
applicable legal privileges, or constitute non-public information. It is 
intended to be conveyed only to the designated recipient(s). If you are not an 
intended recipient of this message, please notify the sender by replying to 
this message and then delete it from your system. Use, dissemination, 
distribution or reproduction of this message by unintended recipients is not 
authorized and may be unlawful.
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to