[PyQt] Stacking QDockWidgets programatically

2009-08-04 Thread Brian Zambrano
Hi all, I like the way QDockWidgets can be stacked on top of each other and selected with the QTabBar which is created. This is just fine when I manually drag the dock widgets on top of each other, but I'd like my app to start up in this state. Is there a way to get one or more dock widgets to s

[PyQt] QTcpSocket, shutdown(sockfd,SHUT_WR)

2009-08-04 Thread ning
Hi all, I am using QTcpSocket to write a client application for Linux and Windows. I need to use something like shutdown(sockfd,SHUT_WR) to close part of the full-duplex to notify server that client has no data to send any more, but did not find any in QAbstractSocket or QIODevice. Is this kind of

[PyQt] Target Item in dropEvent

2009-08-04 Thread Kurt Barlow
Hi, I have a QListWidget that I have configured to do what I need (Nice and Easy). I add QListWidgetItems to it and specify with flags that these items can accept drop events (QtCore.Qt.ItemIsDropEnabled). I overwrite the drop event and make sure I let the QListWidget handle the details ... d

Re: [PyQt] Detecting GUI changes

2009-08-04 Thread Gustavo A . Díaz
I used to do this always. Here an example: http://pastebin.com/m30f2e3e6 It Works ;) 2009/8/1 Saúl Ibarra > Hi eliben, > > By now I'm doing that, I'm catching those signals and then doing > stuff, although I don't really now that's the rightest way of doing > things... :) > > > -- > Saúl -- "Nu

[PyQt] Implementing a QSqlDriver in python -> segmentation fault

2009-08-04 Thread Andre Alexander Bell
Hello, I often have the problem, that the Qt installation on some computers is not shipped with the mysql plugin. Hence, I can't access a mysql database from PyQt on such an computer. Since I need to have the same compiler, as Qt has been compiled with, to build the plugin myself, I thought it

Re: [PyQt] Multi-tasking and GIL

2009-08-04 Thread Giovanni Bajo
On 8/4/2009 12:25 PM, Arnold Krille wrote: The information in this e-mail is confidential. The contents may not be disclosed or used by anyone other then the addressee. Access to this e-mail by anyone else is unauthorised. If you are not the intended recipient, please notify Airbus immediately a

Re: [PyQt] Multi-tasking and GIL

2009-08-04 Thread Arnold Krille
Hi, On Tuesday 04 August 2009 11:45:49 NARCISO, Rui wrote: > I have a quad-core linux machine and I would like to take advantage of all > these extra cores to perform multiple heavy tasks simultaneously. > If i understood it correctly, the GIL will prevent me from multi-threading > this heavy task

Re: [PyQt] Multi-tasking and GIL

2009-08-04 Thread Hans-Peter Jansen
Am Dienstag, 4. August 2009 schrieb NARCISO, Rui: > Hi > > I have a quad-core linux machine and I would like to take advantage of > all these extra cores to perform multiple heavy tasks simultaneously. > > If i understood it correctly, the GIL will prevent me from > multi-threading this heavy tasks

Re: [PyQt] Multi-tasking and GIL

2009-08-04 Thread Attila Csipa
On Tuesday 04 August 2009 11:45:49 NARCISO, Rui wrote: > If i understood it correctly, the GIL will prevent me from multi-threading > this heavy tasks in order to make them run in parallel. > > My question is then, how to do this? Will QProcess be the solution? (the > heavy tasks can either be ran

[PyQt] Multi-tasking and GIL

2009-08-04 Thread NARCISO, Rui
Hi I have a quad-core linux machine and I would like to take advantage of all these extra cores to perform multiple heavy tasks simultaneously. If i understood it correctly, the GIL will prevent me from multi-threading this heavy tasks in order to make them run in parallel. My question is the