[PyKDE] eric: Infinite loop in search and replace

2004-10-27 Thread Parzival Herzog
I replaced text "file" with "filename", a range of lines was selected, and the "wrap around" option was selected. I pressed "replace all", and Eric proceeded to infinitely replace text, windows flashing scrollbars bouncing, but otherwise totally unresponsive. I had to kill the process and lost s

Re: [PyKDE] Help with simple clipboard examples

2004-10-27 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Stephen Boulet <[EMAIL PROTECTED]> typed: > A python interface to xwindows might work too. Possibly you want python-xlib? It's available from sourceforge, and sufficiently complete that window managers have been written on top of it (I'm running one now).

Re: [PyKDE] Help with simple clipboard examples

2004-10-27 Thread Sundance
I heard Stephen Boulet said: > I just want to have a module to use under linux that would let me get > and set the clipboard Your previously posted code should work fine for this purpose. Just take the imports out of the functions. -- S. ___ PyKDE ma

Re: [PyKDE] Help with simple clipboard examples

2004-10-27 Thread Stephen Boulet
On Wed, 27 Oct 2004 18:47:31 +0200, Sundance wrote > I heard Stephen Boulet said: > > > I'd like to get and set the X-window clipboard for some short > > scripts, but I'm not doing it quite right. Can someone help me along? > > Okay, it seems to work here (I just did the imports outside the > fu

Re: [PyKDE] Eric 3.5 crashes on Qt/Mac when saving files

2004-10-27 Thread Kevin Walzer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 That's what I was afraid of. Qt takes just a day under forever to compile, which is probably one reason why PyQt isn't more widely used on the Mac (and why I'm hoping to put together a distro of it). However, I'm very eager to have a working PyQt build

Re: [PyKDE] Eric 3.5 crashes on Qt/Mac when saving files

2004-10-27 Thread Kevin Walzer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I did apply the patch, but I already had a build of Qt/Mac installed and didn't rebuild it. Could this be causing some weirdness? (QScintilla, Sip and PyQt are built against the patched qt_mac.h file but Qt itself isn't.) Would I just need to rebuild Qt

[PyKDE] Eric 3.5 crashes on Qt/Mac when saving files

2004-10-27 Thread Kevin Walzer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I've gone through the long process of installing Qt/Mac and PyQt/Sip/QScintilla because I wanted to give Eric3 a try. I've gotten everything succesfully built, and Eric3 launches fine, but it crashes whenever I try to save a file. This happens with

[PyKDE] PyQt Metaclass programming

2004-10-27 Thread Gary Coulbourne
Howdy! I'm presently using QCustomEvent quite often, and decided to whip up a solution using metaclasses. The idea being that the custom event number could be automatically incremented for each custom event -- so it would be unnecessary to number them manually. However, trying to create a subc

Re: [PyKDE] Help with simple clipboard examples

2004-10-27 Thread Sundance
I heard Stephen Boulet said: > I'd like to get and set the X-window clipboard for some short > scripts, but I'm not doing it quite right. Can someone help me along? Okay, it seems to work here (I just did the imports outside the function calls, since doing it inside functions is -bad- practice).

[PyKDE] Help with simple clipboard examples

2004-10-27 Thread Stephen Boulet
I'd like to get and set the X-window clipboard for some short scripts, but I'm not doing it quite right. Can someone help me along? def setclipboard(s): from qt import QApplication from sys import argv a = QApplication(argv) c = a.clipboard() c.setText(s)

Re: [PyKDE] PyKDE: Can't connect to signal

2004-10-27 Thread Phil Thompson
> Hello, > > First of all, this should not be a problem with WIds because I am > connecting to signals like activeWindowChanged(WId) without problems. > > With PyKDE 3.11.3 (hand compiled) and kde 3.2.3 from Mandrake 10.1, I am > trying to connect to the signal > > void KWinModule::windowChanged

[PyKDE] PyKDE: Can't connect to signal

2004-10-27 Thread Maurizio Colucci
Hello, First of all, this should not be a problem with WIds because I am connecting to signals like activeWindowChanged(WId) without problems. With PyKDE 3.11.3 (hand compiled) and kde 3.2.3 from Mandrake 10.1, I am trying to connect to the signal void KWinModule::windowChanged ( WId id, const

[PyKDE] ANN: sip qscintilla pyqt and eric3 packages for UHU Linux are available

2004-10-27 Thread Bajusz Tamás
Hi all! UHU-Linux is a hungarian distro. (http://uhulinux.hu) .uhu packages are available at http://www.uhu.linuxuser.hu/btami/1.1/ eric3_3.5.0-1.1_i386.uhu pyqt_3.13-1.1_i386.uhu qscintilla-doc_1.4-1.1_i386.uhu qscintilla_1.4-1.1_i386.uhu sip_4.1.1-1.1_i386.uhu To install put the following lin