PDA

View Full Version : Qt fucus



weixj2003ld
30th October 2009, 03:03
I create many QLineEdit in a QHBoxLayout,and all theQLineEdit is in a QVector, now I want to know which one is being edited when I type string in one?
Thk u in advance.

wysota
30th October 2009, 03:32
QApplication::focusWidget()

weixj2003ld
30th October 2009, 06:41
Thk u.I'll try.