Re: PyQT: QDialog and QMainWindow interacting with each other
Hi Kai! Kai Teuber wrote: > Hi Fabian, > > override the accept() method and call self.showListViewItems() there. > But remember to call QDialog.accept() at the end. > > def accept( self ): > self.showListViewItems() > QDialog.accept( self ) Thank you very much, I got it working :-) Cheers, Fabian -- http://mail.python.org/mailman/listinfo/python-list
Re: PyQT: QDialog and QMainWindow interacting with each other
Fabian Steiner schrieb: > MyDialog is closed by calling MyDialog.accept(). What can I do so that > self.showListViewItems() is called after MyDialog has been closed? > > Thank you for any input! Hi Fabian, override the accept() method and call self.showListViewItems() there. But remember to call QDialog.accept() at the end. def accept( self ): self.showListViewItems() QDialog.accept( self ) Kai Teuber -- http://mail.python.org/mailman/listinfo/python-list