Re: [PyKDE] Using KParts

2004-12-13 Thread Jim Bublitz
On Sunday 12 December 2004 17:38, Troy Melhase wrote: On Thursday 09 December 2004 10:26 pm, Patrick Stinson wrote: kparts.createReadWritePart('kwritepart') # can't remember the exact syntax This has worked for me in the past: from kio import KTrader from kparts import

Re: [PyKDE] AttributeError: 'module' object has no attribute 'SIPConfig'

2004-12-13 Thread Phil Thompson
I'm trying to build 3.13 of PyQT on Ubuntu Warty, but I'm getting the following error: python build.py Traceback (most recent call last): File build.py, line 44, in ? config = sipconfig.SIPConfig(PyQt 3.13) AttributeError: 'module' object has no attribute 'SIPConfig' Has anyone

Re: [PyKDE] PyQt for Python 2.4?

2004-12-13 Thread Eron Lloyd
What was your error? I just got it working myself. Eron On Monday 13 December 2004 7:02 pm, Mike Meyer wrote: I tried building PyQt with Python 2.4, and ran into a compile time problem that exceeded my (very limited) knowledge of C++. Are there any estimates on when we'll see a version of

Re: [PyKDE] Static member functions

2004-12-13 Thread Sundance
I heard Hihn, Jason said: How can I do this in python? It may be I'm not getting your question, but... What's the problem exactly? You can have global objects (which includes functions) all you want, really. Example: ---[ globalstuff.py ]--

[PyKDE] Don't see qscintilla widget in designer

2004-12-13 Thread LeePatton
Have installed qscintilla according to the readme, but don't see the qscintilla widget in qt-designer upon opening. Any ideas? my ~/.qt/qt_plugin_3.3rc file lists the qscintilla widget library, and the library is in th plugins/designer directory. Any ideas? I'm a newbie to qt-designer so any

RE: [PyKDE] Static member functions

2004-12-13 Thread Hihn, Jason
Ok, my problem is that I want to provide some function that is called by the widget that generates the signal. I have an On-Screen Keyboard. Each text-control gets assigned a lostFocus handler. I need that handler to do one thing. I need it to store that widget's id (or instance) so the OSK

Re: [PyKDE] Static member functions

2004-12-13 Thread Diez B. Roggisch
Hi, I think I understand your problem as follows: You have a non-parametrized signal, lostFocus, that you want to connect to one slot - but then somehow magically there shall be a reference to the object the signal came from is passed. May be what could help is somthing like this: class

Re: [PyKDE] Static member functions

2004-12-13 Thread Phil Thompson
Hi, I think I understand your problem as follows: You have a non-parametrized signal, lostFocus, that you want to connect to one slot - but then somehow magically there shall be a reference to the object the signal came from is passed. If that's the case then just use QObject.sender(). The

[PyKDE] Static member functions

2004-12-13 Thread Hihn, Jason
I need to have a lostfocus event store the object that created the event. In my previous language, I had a global function that could do it, because I could bring it in to the class by setting it at run-time. The this object, would then be the object that generated the event. It was then

[PyKDE] PyQt for Python 2.4?

2004-12-13 Thread Mike Meyer
I tried building PyQt with Python 2.4, and ran into a compile time problem that exceeded my (very limited) knowledge of C++. Are there any estimates on when we'll see a version of PyQt that will build with Python 2.4? Thanks, mike -- Mike Meyer [EMAIL PROTECTED]

Re: [PyKDE] PyQt for Python 2.4?

2004-12-13 Thread Mike Meyer
[Format recovered from topposting.] In [EMAIL PROTECTED], Eron Lloyd [EMAIL PROTECTED] typed: On Monday 13 December 2004 7:02 pm, Mike Meyer wrote: I tried building PyQt with Python 2.4, and ran into a compile time problem that exceeded my (very limited) knowledge of C++. Are there any

Re: [PyKDE] PyQt for Python 2.4?

2004-12-13 Thread Gerard Vermeulen
On Tue, 14 Dec 2004 00:55:41 -0600 Mike Meyer [EMAIL PROTECTED] wrote: [Format recovered from topposting.] In [EMAIL PROTECTED], Eron Lloyd [EMAIL PROTECTED] typed: On Monday 13 December 2004 7:02 pm, Mike Meyer wrote: I tried building PyQt with Python 2.4, and ran into a compile time