Hello Here the extract of my code
toolBar = QToolBar(self) self.fileOpen = QToolButton(QPixmap(fileopen), 'Open File', 'Opens a new file', self.open, tollBar, 'Open File') self.fileSave = QToolButton(QPixmap(filesave), 'Save File', 'Saves current file', self.save, tollBar, 'Save file') self.addToolBar(toolBar, 'Main toolbar') I have the traceback according to File "qted.py", line 162, in ? mainWindow = EdMainWindow() File "qted.py", line 84, in __init__ toolBar, 'Open file') File "/usr/lib/python2.3/site-packages/qt.py", line 835, in __init__ libqtc.sipCallCtor(21,self,args) TypeError:Argument 1 of QToolButton() has an invalid type My version python 2.3-qt3c102 3.8-2.1 [ debian ] Suggestions ? Claude _______________________________________________ PyKDE mailing list [EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
