PyQT: QDialog and QMainWindow interacting with each other

Fabian Steiner lists at fabis-site.net
Tue Feb 28 18:30:58 EST 2006


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



More information about the Python-list mailing list