I've noticed that setCaption() doesn't appear to be working in the NC-Windows version of PyQt.
Using this test program:


from qt import *
import sys
class MyWidget(QMainWindow):
     def __init__(self):
           QMainWindow.__init__(self,None,'',Qt.WDestructiveClose)
           self.setCaption( self.tr("Internationalization Example" ) );

if __name__ == '__main__':
     a = QApplication(sys.argv)
     QObject.connect(a,SIGNAL('lastWindowClosed()'),a,SLOT('quit()'))

     w = MyWidget()
     a.setMainWidget(w)
     w.show()
     a.exec_loop()

the caption never changes from 'python'.
Any idea how to get the window title to actually change?
Please CC me for I am not subscribed to the list.
Thank you.
--
James Lamanna

_______________________________________________
PyKDE mailing list    [EMAIL PROTECTED]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to