Re: [PyQt] Trouble with QTreeWidget

2008-12-08 Thread Milan Hemžal
On Monday 03 November 2008 01:30:00 Min Li wrote: Hi, i tested example basicsortfiltermodel from, how i get data if i selected any row. I know howto get data for first column, but cannot get data from second. # signal: self.connect(self.tree_postavy,QtCore.SIGNAL("activated ( const QModelInd

Re: [PyQt] Bugs and Question in doc/examples/tutorials/t10.py

2008-12-08 Thread David Boddie
On Wed Dec 3 15:02:07 GMT 2008, Grissiom wrote: > And here comes the questions: > I think that creating a QtCore.QRect and moving it every time repaint the > widget is not so good. So I move the code to __init__ and make cannonRect a > local variable rather than a function. But the cannon doesn't

Re: [PyQt] QThread problem

2008-12-08 Thread Giovanni Bajo
On lun, 2008-12-08 at 19:48 +0100, Sergio Jovani wrote: > > On lun, 2008-12-08 at 01:53 +0100, Sergio Jovani wrote: > > > I'm developing a downloads application and I have created a QThread > > > for that reason. > > > > You don't need threads to download files with PyQt. In fact, it's far > > easi

Re: [PyQt] SIP 4.7.6 -> 4.7.9 upgrade cause compilation problems (missing typedef)

2008-12-08 Thread Phil Thompson
On Mon, 08 Dec 2008 16:21:45 +0300, Yury Aliaev <[EMAIL PROTECTED]> wrote: > Hello, > > Recently I tried to compile QtiPlot > (http://soft.proindependent.com/qtiplot.html), an application using SIP > during building. At some stage of the compilation I got the following > error: > > sipqtiApplic

[PyQt] ANN: new eric4 4.3.0 snapshot available

2008-12-08 Thread Detlev Offenbach
Hi, a new snapshot of the eric 4.3 development is available via http://sourceforge.net/project/showfiles.php?group_id=119070&package_id=300692. Here is the changelog. - bug fixes - added spell checking functionality (pyenchant needs to be installed) - made the email server port configurable - a

Re: [PyQt] QThread problem

2008-12-08 Thread Sergio Jovani
> I'm going to throw this out there, you should exchange information via > signals/slots. When you get a cancel use terminate() slot. That will > stop it from freezing you program from the looks of it. I tried and I get the same running terminate() slot from signal and outside. Thanks. ___

Re: [PyQt] QThread problem

2008-12-08 Thread Sergio Jovani
El Monday 08 December 2008 17:19:42 vàreu escriure: > Hello, > > Sergio Jovani wrote > > > class Download(QThread): > > def __init__(self, url, path, filename, parent = None): > > QThread.__init__(self, parent) > > self.path=path > > self.url=url > >

Re: [PyQt] QThread problem

2008-12-08 Thread Sergio Jovani
> On lun, 2008-12-08 at 01:53 +0100, Sergio Jovani wrote: > > I'm developing a downloads application and I have created a QThread > > for that reason. > > You don't need threads to download files with PyQt. In fact, it's far > easier without. Hi, I would like know it! Thanks. ___

Re: [PyQt] QThread problem

2008-12-08 Thread Giovanni Bajo
On lun, 2008-12-08 at 01:53 +0100, Sergio Jovani wrote: > I'm developing a downloads application and I have created a QThread > for that reason. You don't need threads to download files with PyQt. In fact, it's far easier without. -- Giovanni Bajo Develer S.r.l. http://www.develer.com _

Re: [PyQt] QThread problem

2008-12-08 Thread Darryl Wallace
Hello, Sergio Jovani wrote class Download(QThread): def __init__(self, url, path, filename, parent = None): QThread.__init__(self, parent) self.path=path self.url=url self.filename=filename def run(self):

Re: [PyQt] QThread problem

2008-12-08 Thread Matt Smith
I'm going to throw this out there, you should exchange information via signals/slots. When you get a cancel use terminate() slot. That will stop it from freezing you program from the looks of it. ___ PyQt mailing listPyQt@riverbankcomputing.com htt

[PyQt] QThread problem

2008-12-08 Thread Sergio Jovani
El Monday 08 December 2008 03:53:28 vàreu escriure: > On Mon, Dec 8, 2008 at 12:53 AM, Sergio Jovani <[EMAIL PROTECTED]> wrote: > > Hi all, > > > > I'm developing a downloads application and I have created a QThread for > > that reason. I start the QThread with no problems, but when I try > > termi

[PyQt] SIP 4.7.6 -> 4.7.9 upgrade cause compilation problems (missing typedef)

2008-12-08 Thread Yury Aliaev
Hello, Recently I tried to compile QtiPlot (http://soft.proindependent.com/qtiplot.html), an application using SIP during building. At some stage of the compilation I got the following error: sipqtiApplicationWindow.cpp: In function 'PyObject* meth_ApplicationWindow_windows(PyObject*, PyObjec

Re: [PyQt] PyQt4-extrawidgets project

2008-12-08 Thread piotr maliński
They look interesting. I think some coders could use them. 2008/12/8 Albert Cervera i Areny <[EMAIL PROTECTED]> > A Dimarts 11 Novembre 2008, piotr maliński va escriure: > > I've started a project at code.google.com that contains all PyQt4 > > widgets made by me with the help of SIP. > > > > http

Re: [PyQt] PyQt4-extrawidgets project

2008-12-08 Thread Albert Cervera i Areny
A Dimarts 11 Novembre 2008, piotr maliński va escriure: > I've started a project at code.google.com that contains all PyQt4 > widgets made by me with the help of SIP. > > http://code.google.com/p/pyqt4-extrawidgets/ In the Koo project we have implemented (still with some rough edges) a Chart [1]

[PyQt] Signals across threads is slow

2008-12-08 Thread Romain Bignon
Hello, In a PyQT program, there is two classes, one derived from QThread, and one in the main GUI thread. A slot of the GUI thread's class is connected to a QThread signal, and it seems that this is very slow to emit signal and/or call slot. This result happens with an empty slot method too. The

Re: [PyQt] Introducing PyDingo

2008-12-08 Thread piotr maliński
0.2 ALPHA release is available. Get it from http://code.google.com/p/pydingo/ - look at the code, run it, play with it... any feedback is welcomed. W dniu 1 grudnia 2008 22:59 użytkownik piotr maliński <[EMAIL PROTECTED]>napisał: > 2008/12/1, Michał Andrzej Woźniak <[EMAIL PROTECTED]>: > > Dnia p