Hi Detlev, what do you think about the attached patch. Without keeping a reference to the widgets, they all disappear, but the last, when selecting All...
Really nice example, though. Hans-Peter
--- i18n.py.orig Tue Sep 10 14:56:22 2002 +++ i18n.py Mon Sep 30 15:08:39 2002 @@ -56,6 +56,7 @@ self.emit(PYSIGNAL('mapped(int)'), (self.map[qo],)) translator = None +wlist = [] # keep reference to widgets def showLang(lang): global translator @@ -80,6 +81,7 @@ qApp.installTranslator(translator) m = MyWidget() m.setCaption("PyQt Example - i18n - " + unicode(m.caption())) + wlist.append(m) return m def main(argv):