Qt -how to know whether content in child widgets has been changed?

Posted by Narek on Stack Overflow See other posts from Stack Overflow or by Narek
Published on 2010-04-01T10:27:03Z Indexed on 2010/04/01 10:53 UTC
Read the original article Hit count: 198

Filed under:
|
|
|

In QMainWindow I have 2 QSplitters. In that splitters I have QTextEdit, QLineEdits, QTableWinget, Ragio buttons and so on... I want to know if somthing has been chaged after pressing File->New menu button. Is there any general method for doing this?

Somwhere I have read that it is recomended to use isWindowModified() function of QMainWindow, but seems it doesn't work.

© Stack Overflow or respective owner

Related posts about qt

Related posts about qt4