Nonyaz wrote:
I made an attempt to port over a little command line file DL script I
wrote into a GUI as a practice working with PyQt.
While I have seemingly achieved that goal, the resulting product is
not acting as I suspected. When I start a download,
the GUI will continue to update as long as
Looking over your code, I suspect the problem is with this line:
data = webPage.read(8192)
if not data:
break
Unless data is 0 or None, it will go into an infinite loop. From your
description, it does not sound like it will ever return 0. It is also not
good programming
Hello Phil,
I'm working on getting PyKDE4 trunk working on SIP 4.8 and PyQt 4.5 and
hit what looks like a fairly straight forward regression bug.
The compile error is:
/home/sbe/devel/svn/kde/trunk/KDE/kdebindings/python/pykde4/sip/kdecore/typedefs.sip:
In function ‘int
Thanks! Problem solved. Works fine with overloaded __setitem__'s too.
Neil Birkbeck
On Sat, Apr 18, 2009 at 9:56 AM, Phil Thompson
p...@riverbankcomputing.comwrote:
On Thu, 16 Apr 2009 12:26:17 -0600 (MDT), Neil Birkbeck
birkb...@cs.ualberta.ca wrote:
In older versions of sip (4.7.3), I
Hi,
I'd like to inform all of you about the immediate availability of a new eric
4.4 snapshot. It fixes a few bugs and adds these new features.
- added a thread list viewer to the debug viewer
- added support for forking to the Python debuggers
- added code for handling infinite recursions to
On Sun, 19 Apr 2009 10:25:11 +0200, Simon Edwards si...@simonzone.com
wrote:
Hello Phil,
I'm working on getting PyKDE4 trunk working on SIP 4.8 and PyQt 4.5 and
hit what looks like a fairly straight forward regression bug.
The compile error is:
This is normal. When the menu is activated ther is no reason to give a
tooltip about it because we know wath is in.
Christophe.
Wolfgang Rohdewald a écrit :
this code works here too - but not always.
First place the mouse over the menu and wait until the
tooltip Click here... appears
now
On Sun, Apr 19, 2009 at 3:05 AM, Geert Vancompernolle
geert.vancomperno...@gmail.com wrote:
Could it be that you need a QApplication.processEvents() call in your
while loop? This command gives some CPU to the GUI to update itself. I'm
afraid the while loop eats all CPU and there's no
Hello,
I'm seeking for information about how to comunicate from PyQt with a
JavaScript program.
All kind of information is welcome.
Christophe.
___
PyQt mailing listPyQt@riverbankcomputing.com
projetmbc wrote:
I'm seeking for information about how to comunicate from PyQt with a
JavaScript program.
QWebFrame's evaluateJavaScript() might be a start.
--
Simon Edwards | KDE-NL, Guidance tools, Guarddog Firewall
si...@simonzone.com | http://www.simonzone.com/software/
Simon Edwards a écrit :
projetmbc wrote:
I'm seeking for information about how to comunicate from PyQt with a
JavaScript program.
QWebFrame's evaluateJavaScript() might be a start.
I also found a whitepaper of QT. I'll try to test that.
Thanks for showing me the direction.
Christophe.
Hi,
Phil Thompson wrote:
sipForceConvertTo_*() (and related functions) are internal and should not
be used by handwritten code. If it isn't documented then you can't use it.
Thanks that helps a lot.
Another question. 4.8 gives errors on PyKDE related it trying to use a
copy constructor or
Simon Edwards a écrit :
projetmbc wrote:
I'm seeking for information about how to comunicate from PyQt with a
JavaScript program.
QWebFrame's evaluateJavaScript() might be a start.
Indeed I'm looking for a simple example rather than an abstract one.
Christophe.
On Sun, 19 Apr 2009 21:39:29 +0200, Simon Edwards si...@simonzone.com
wrote:
Hi,
Phil Thompson wrote:
sipForceConvertTo_*() (and related functions) are internal and should
not
be used by handwritten code. If it isn't documented then you can't use
it.
Thanks that helps a lot.
Another
the simplest example of loading jquery.js (geti it from
http://jqueryjs.googlecode.com/files/jquery-1.3.2.js and put it in the
same directory with the snippet below) after loading html and then
using jquery syntax to change the background color into red:
run it in python interactive shell or
On Sun Apr 19 20:51:49 BST 2009, projetmbc wrote:
Simon Edwards a écrit :
projetmbc wrote:
I'm seeking for information about how to comunicate from PyQt with a
JavaScript program.
QWebFrame's evaluateJavaScript() might be a start.
Indeed I'm looking for a simple example rather than an
On Sonntag, 19. April 2009, projetmbc wrote:
This is normal. When the menu is activated ther is no reason to give a
tooltip about it because we know wath is in.
let me restate what I observed:
if the tip click here... appears, the tips tooltip 0 etc will never appear
unless
the program is
I populate QTreeView with QDirModel ... While EXECUTING. It takes much time
to generate the TREE Structure... Is it true! QDirModel - QTreeView takes
much time? Say 5-6 Sec~!
I m using XP in Intel Penti Dual CPU, 2ghz, 2gb RAM!
--
View this message in context:
Could be that one of your drives has
gone to sleep. It takes a couple of seconds for the drive to wake up
and give a directory listing. Its not that slow on my machine.
-Scott
akumarzen wrote:
I populate QTreeView with QDirModel ... While EXECUTING. It takes much time
to generate the TREE
Instead of os.popen or subprocess to execute SINGLE DOS COMMAND to capture
back its output in python...
Is there anyway I can capture the intermid results simultaneously that
appears in DOS?
Eg:
import os
x = os.popen('ping 127.0.0.1').read()
print x
This print the entire output of PING. But I
20 matches
Mail list logo