[PyQt] Table changed/modified method
crackerbunny at gmail.com
Wed Oct 21 22:49:28 BST 2009
I'm looking for the exact same thing (to be notified when an item hierarchy
changes) - but the following signal -
self.connect(self.treeMain, SIGNAL('itemChanged(QTreeWidgetItem *, int)'),
self.onItemChanged) # changes on init only
is not emitted when an item is reparented. is there a way to do this?
On Thu, Oct 22, 2009 at 8:01 AM, simozack <simozack at yahoo.it> wrote:
> 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
> PyQt mailing list PyQt at riverbankcomputing.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PyQt