i have QSplitter and 2 QTextEdit's in it
i need to know which TextEdit is current now (textEdit, where cursor is visible)
how i can do it?
i have QSplitter and 2 QTextEdit's in it
i need to know which TextEdit is current now (textEdit, where cursor is visible)
how i can do it?
QApplication::activeWindow() is fine too, and you don't have to try each widget for focus this way
thanx all - now it work
Bookmarks