Re: [PyKDE] trouble with QLabel

2007-01-08 Thread Rick van Hattem
On Monday 08 January 2007 10:29, Steven James Samuel Stapleton wrote: > Thank you, I tried that along with adding the "self." in front of the > items, and explicitly putting them in the class but I still get the same > error. > > > #same to here > class about(qt.QWidget): > _l = None > _p = Non

Re: [PyKDE] drag and drop question

2007-01-08 Thread Rick van Hattem
On Monday 08 January 2007 21:36, Matt Chambers wrote: > Anyone know of a way to open a new dialog using drag and drop? > Basically, I want the user to be able to drag a widget out of the > application, and have a copy of that widget in a separate dialog box. > > -Matt > > __

Re: [PyKDE] no module uic in binary win32 package?

2007-01-08 Thread Rick van Hattem
On Tuesday 09 January 2007 01:47, Kovid Goyal wrote: > Hi, > > Is it possible to have the module uic included in the PyQt4 binary package > for windows. I have code that depends on it. > > Thanks, > > Kovid. It's still there, just in the PyQt4 package. This should work: from PyQt4 import uic --

[PyKDE] Signal and Slot Design problem.

2007-01-08 Thread Ole Morten Grodås
Hi, I have some problems with the signal and slots mechanism in threaded applications. The problem appears when the QObject.connect() call have to be made in another thread then the receiving slot. One example is if I have a worker thread that dynamically creates other worker threads. When I make

[PyKDE] no module uic in binary win32 package?

2007-01-08 Thread Kovid Goyal
Hi, Is it possible to have the module uic included in the PyQt4 binary package for windows. I have code that depends on it. Thanks, Kovid. -- _ Kovid Goyal MC 452-48 California Institute of Technology 1200 E California Blvd Pasadena, CA 91125 home : +01

Re: [PyKDE] Correct cross-thread communication example?

2007-01-08 Thread Ole Morten Grodås
Hi, That is a bit odd. Are you using the latest version of SIP and PyQt?. When I'm running the example I posted to you without the Qt.QueuedConnectionparameter i get the following output: 0 starting 0 Creating thread 3 finished in b() 3 finished in __main__ The worker thread is locking the GUI

[PyKDE] Qscintilla2 problem

2007-01-08 Thread Gudjon I. Gudjonsson
Hi If I change the file Python/configure.py: qt_data_dir = None to qt_data_dir = "/usr/lib/python2.4/site-packages/PyQt4" then QScintilla-1.71-gpl-2-snapshot-20070104 installs perfectly but without it I only get the following error messages: Creating the Makefile for the Qsci module... An intern

[PyKDE] drag and drop question

2007-01-08 Thread Matt Chambers
Anyone know of a way to open a new dialog using drag and drop? Basically, I want the user to be able to drag a widget out of the application, and have a copy of that widget in a separate dialog box. -Matt ___ PyKDE mailing listPyKDE@mats.imk.fra

Re: [PyKDE] Correct cross-thread communication example?

2007-01-08 Thread Paul Giannaros
No such luck. I think I mentioned in the source code I tried that. See the given example: from PyQt4.QtGui import * from PyQt4.QtCore import * import sys from time import time class B (QThread): def __init__(self): QThread.__init__(self) p("Creating thread") def bfunc(s

[PyKDE] Sigh, it was a nice affair while it lasted...

2007-01-08 Thread David Boddie
On Mon Jan 8 17:13:31 MET 2007, Giovanni Bajo wrote: > David Boddie wrote: > > It seems a shame that the closed source approach is often seen as the > > only viable approach to commercial deployment of applications. Another > > approach that can also be successful is the open source plus service a

Re: [PyKDE] Sigh, it was a nice affair while it lasted...

2007-01-08 Thread Giovanni Bajo
David Boddie wrote: After my brief flirtation with PyKDE, I'm afraid I have to say goodbye. It looks like a great package, but I'm afraid the viral GPL has driven me away. I say this not to start a flame war, but simply to let people know that the GPL does drive some people away (perhaps as it

[PyKDE] Licensing questions

2007-01-08 Thread David Boddie
On Mon Jan 8 05:31:24 MET 2007, Matt Newell wrote: > I hope to not confuse the issue, but I think this isn't entirely correct. > GPL only covers distribution, so if you distribute an application linking > to commercial Qt, the GPL does not allow linking GPL PyQt against it. > However, if there is

Re: [PyKDE] trouble with QLabel [addendum]

2007-01-08 Thread Steven James Samuel Stapleton
I forgot to say, I'm using PyQt 4.1.1 (downloaded and installed it saturday, latest available), and Python 2.5. Qt is similarly the latest available as of saturday, though I can't tell you the version off the top of my head. - Original Message - From: "Rick van Hattem" <[EMAIL PROTECTE

Re: [PyKDE] trouble with QLabel

2007-01-08 Thread Steven James Samuel Stapleton
Thank you, I tried that along with adding the "self." in front of the items, and explicitly putting them in the class but I still get the same error. #same to here class about(qt.QWidget): _l = None _p = None def __init__(self, app): self._l = qt.QLabel(""" This is the Specs and Item gene