Re: [PyQt] GMail

2010-12-08 Thread Yao Ko
On Wed, Dec 8, 2010 at 9:23 AM, Mads Ipsen madsip...@gmail.com wrote: Hi, If I post a message in the mailing list from my gmail account, my own post does not appear in my inbox. Has anybody here experienced a similar problem? That's working as expected due to the way Gmail does threading.

Re: [PyQt] unicode and pyqt4

2010-11-24 Thread Yao Ko
On Wed, Nov 24, 2010 at 12:58 AM, Janwillem van Dijk jwevand...@xs4all.nl wrote: I have a small application that displays a tree structure using ete2 (http://ete.cgenomics.org/). The node names are unicode and contain in particular German and French special chars. When I run the script from

Re: [PyQt] Access to QSharedMemory with buffer protocol

2010-11-01 Thread Yao Ko
Hi, I encountered the same problem back when Alexandre asked the same question. This is the workaround that I've been using: CLIB = ctypes.cdll.LoadLibrary(ctypes.util.find_library('c')) shared_memory.lock() try: CLIB.memcpy(int(shared_memory.data()), data_bytes, data_len) finally:

Re: [PyQt] Help with PyQt licensing question

2010-10-21 Thread Yao Ko
On Thu, Oct 21, 2010 at 7:12 PM, Kyle Covington k...@red-r.org wrote: ... Also thinking about Elias's question.  Windows is closed sourced and commercial.  Windows is used to open and run Python and Windows is able to execute Python scripts which can run PyQt.  So by extension GPL should not

Re: [PyQt] sip and deployment

2010-09-27 Thread Yao Ko
On Mon, Sep 27, 2010 at 11:06 AM, Lic. José M. Rodriguez Bacallao jmr...@gmail.com wrote: hi folks, just a little question, if SIP is the binding generator of PyQt4, is necesary to have it installed for a PyQt4 application to run?, can I get rid of it? You can try to run python -v, then from

Re: [PyQt] Skinning the title bar and window border

2010-09-23 Thread Yao Ko
Hi, Just note that if you go down the route of implementing a custom chrome with custom title bar (with the typical minimize, maximize, close butons), you may end up losing some Window Manager specific features. This is particularly noticeable on Mac and Win7 (with Aero). On Mac, you can no

Re: [PyQt] Unexpected behaviour

2010-08-17 Thread Yao Ko
On Mon, Aug 16, 2010 at 11:03 PM, Andreas Pakulat ap...@gmx.de wrote: On 17.08.10 13:07:00, Peter Milliken wrote: Sorry if the answer to this is obvious, but it is entirely unexpected behaviour IMO :-) I have created a simple GUI with some elements, such as a progressbar and radiobuttons,

Re: [PyQt] WebKit and Twitter

2010-08-14 Thread Yao Ko
that I need to change so all images can be loaded? regards, On Sat, Aug 14, 2010 at 5:31 AM, Yao Ko ko...@raptr.com wrote: Yes, you'd need to have those two OpenSSL dlls (ssleay32.dll, libeay32.dll) available in your path. Yao On Fri, Aug 13, 2010 at 3:30 PM, Mico Siahaan mico.siah

Re: [PyQt] WebKit and Twitter

2010-08-13 Thread Yao Ko
Are you running PyQt on Windows? If so, the Twitter login form posts to an HTTPS, and you'll need to have the OpenSSL DLLs (ssleay32.dl, libeay32.dll) in your path. To verify, you can do this from the command line: $ python from PyQt4 import QtNetwork QtNetwork.QSslSocket.supportsSsl() True

Re: [PyQt] WebKit and Twitter

2010-08-13 Thread Yao Ko
: False. So it means I need to install OpenSSL? regards, On Sat, Aug 14, 2010 at 3:10 AM, Yao Ko ko...@raptr.com wrote: Are you running PyQt on Windows?  If so, the Twitter login form posts to an HTTPS, and you'll need to have the OpenSSL DLLs (ssleay32.dl, libeay32.dll) in your path. To verify

[PyQt] Trigger mouse click on arbitrary coordinate using Webkit?

2010-07-26 Thread Yao Ko
Hi, I'm using Qt Webkit to load a a webpage and interact with it. Is there a way to programmatically trigger a mouse click given the X, Y coordinates of a webpage? So far, I was able to use QWebFrame.hitTestContent(QPoint) to get the QWebElement under the given QPoint. However, the element is

Re: [PyQt] question about size hints

2010-05-03 Thread Yao Ko
On Sun, May 2, 2010 at 5:05 AM, Darren Dale dsdal...@gmail.com wrote: On Sun, May 2, 2010 at 1:51 AM, Yao Ko ko...@raptr.com wrote: On Sat, May 1, 2010 at 5:47 AM, Darren Dale dsdal...@gmail.com wrote: Please excuse me for bumping. Does anyone have a suggestion? On Sun, Apr 18, 2010 at 12:42

Re: [PyQt] question about size hints

2010-05-01 Thread Yao Ko
Have you tried to set the size policy to: ... class Test(QtGui.QWidget): ... self.setSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.MinimumExpanding) ... The Test widget will have the minimum size specified by the sizeHint, and yet the

Re: [PyQt] Getting a segfault when I close my program

2010-03-11 Thread Yao Ko
On Thu, Mar 11, 2010 at 7:24 AM, dizou di_...@yahoo.com wrote: Anyone have an idea? -- View this message in context: http://old.nabble.com/Getting-a-segfault-when-I-close-my-program-tp27799395p27864940.html Sent from the PyQt mailing list archive at Nabble.com. Hi, I tried to reproduce

[PyQt] Detecting clicks on Mac Dock

2010-03-02 Thread Yao Ko
Hi, This is a Mac-specific question: Is it possible to detect clicks on the dock icon of a QApplication? I tried adding debug messages on QApplication.event() and it only gets triggered when the application is activated or deactivated. But if the user clicks on the dock when the app is already

Re: [PyQt] PyQT/Sip installation

2010-02-18 Thread Yao Ko
Try 'nmake' from Visual Studio 2008 Express. Yao On Thu, Feb 18, 2010 at 10:54 AM, M Chauhan mrc...@gmail.com wrote: Hello all, I am trying to install PyQt/SIP. It requires launching make on windows. But make doesn't run on windows. Do I need something extra to install this on windows? I