Re: PyQT: QDialog and QMainWindow interacting with each other
- From: Kai Teuber <live4love@xxxxxxxx>
- Date: Tue, 28 Feb 2006 14:10:39 +0100
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
.
- References:
- PyQT: QDialog and QMainWindow interacting with each other
- From: Fabian Steiner
- PyQT: QDialog and QMainWindow interacting with each other
- Prev by Date: compiled program input
- Next by Date: Re: compiled program input
- Previous by thread: PyQT: QDialog and QMainWindow interacting with each other
- Next by thread: MySQLdb compile error with AMD64
- Index(es):