Re: [PyKDE] QToolButton Problem ...

2003-11-18 Thread Phil Thompson
On Tuesday 18 November 2003 9:41 pm, Armin Steinhoff wrote: > 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

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)

[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] ConvertToSubClassCode

2003-11-18 Thread Phil Thompson
On Tuesday 18 November 2003 7:35 am, Gerard Vermeulen wrote: > Hi, > > My difficulties to translate this C++ idiom to Python: > > bool Plot::eventFilter(QObject *object, QEvent *e) > { > if ( e->type() == QEvent::Resize ) > { > const QSize &size = ((QResizeEvent *)e)->size(); >

Re: [PyKDE] DCOP Problems and Solutions

2003-11-18 Thread Jim Bublitz
On Tuesday November 18 2003 10:16, Diez B. Roggisch wrote: > > I'd be interested in hearing opinions on any of this. I'll > > make some decision on kab in the next few days depending on > > what feedback I get. > Now obviously I'm for putting kab in pyKDE :) I'm not sure > what kjs exactly does -

Re: [PyKDE] DCOP Problems and Solutions

2003-11-18 Thread Diez B. Roggisch
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, > I'd be interested in hearing opinions on any of this. I'll make > some decision on kab in the next few days depending on what > feedback I get. Now obviously I'm for putting kab in pyKDE :) I'm not sure what kjs exactly does - but working in p

Re: [PyKDE] DCOP Problems and Solutions

2003-11-18 Thread Jim Bublitz
On Tuesday November 18 2003 08:47, Diez B. Roggisch wrote: > > looked into that much at all, but will eventually). If I'm > > missing something else (that you'd really want to use) let > > me know. > Hmmm - this is really not sooo important, but I'm missing the > bindings for the kaddressbook (mo

[PyKDE] Re: Need to know "who" triggers a callback?

2003-11-18 Thread kscalet
kscalet wrote: Hi, what would be the best approach in finding out, if a signal is send due to a "real" gui action like key-presses and mouse-clicks, or due to a programmatic action like setButton, setCurrentText, etc on a specific widget. It's often needed to trigger some action only in the for

Re: [PyKDE] Need to know "who" triggers a callback?

2003-11-18 Thread Gordon Tyler
kscalet wrote: Gordon Tyler wrote: kscalet wrote: what would be the best approach in finding out, if a signal is send due to a "real" gui action like key-presses and mouse-clicks, or due to a programmatic action like setButton, setCurrentText, etc on a specific widget. It's often needed to trig

[PyKDE] DCOP Problems and Solutions

2003-11-18 Thread Jim Bublitz
I think I've mentioned here before that I don't know much about DCOP and haven't been too sure that what's included in PyKDE is correct or sufficient (it's been there mostly so kdecore would build). You may have noticed a short exchange on comp.lang.python with Eric Williams (hi Eric!), who fi

Re: [PyKDE] PyKDE Components preliminary release

2003-11-18 Thread Jim Bublitz
On Monday November 17 2003 20:18, David Boddie wrote: > Jim's release of PyKDE 3.8 took me by surprise and I've been > racing to catch up with this assortment of prototype > components for PyKDE: > http://www.boddie.org.uk/david/Projects/Python/KDE/index.html > Documentation is currently minimal

[PyKDE] ConvertToSubClassCode

2003-11-18 Thread Gerard Vermeulen
Hi, My difficulties to translate this C++ idiom to Python: bool Plot::eventFilter(QObject *object, QEvent *e) { if ( e->type() == QEvent::Resize ) { const QSize &size = ((QResizeEvent *)e)->size(); if ( object == (QObject *)axis(yLeft) ) // HOW TO THIS IN PYTHON?