[PyQt] Table changed/modified method

simozack simozack at yahoo.it
Wed Oct 21 20:01:01 BST 2009


2009/10/21 Filippo Rebora <filirebo at gmail.com>:

> I'm using an extention of QtableWidget as table...is there anything like
> isModified() or something?
> Documentation didn't help (I could not find something similar in class or
> parents)

You can use an attribute in the window class and set it to True if the
user modifies the data.

In the function called when closing the window, you can test that attribute.

HTH,
Simone


More information about the PyQt mailing list