[PyKDE] QToolButton

2004-01-16 Thread claude.faath
Hello Here my code #!/usr/bin/env python import string import sys from qt import * fileopen = [ '16 13 5 1', '. c #040404', '# c #808304', 'a c None', 'b c #f3f704', 'c c #f3f7f3', 'a...', '.aaa.a.a', 'a..a',

[PyKDE] QToolButton

2004-01-15 Thread claude faath
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')

Re: [PyKDE] QToolButton

2004-01-15 Thread Phil Thompson
On Thursday 15 January 2004 1:42 pm, claude faath wrote: 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',

[PyKDE] QToolButton Problem ...

2003-11-18 Thread Armin Steinhoff
Hi All, after installing PyQt-x11-gpl-3.8.1, sip-x11-gpl-3.8 and Python-2.2.3 I got the follwing error message when I run the example application.py: linux90:/opt/PyQt-x11-gpl-3.8.1/examples2 # python application.py Traceback (most recent call last): File application.py, line 273, in ? mw =

Re: [PyKDE] QToolButton Problem ...

2003-11-18 Thread Randy Carnahan
On Tuesday 18 November 2003 16:41, Armin Steinhoff wrote: Hi All, [snip] self.fileOpen = QToolButton(openIcon,'Open File',QString.null,self.load,self.fileTools,'open file') File /usr/local/lib/python2.2/site-packages/qt.py, line 843, in __init__ libqtc.sipCallCtor(20,self,args)