Re: [PyQt] ANN: Preview of Python code editor widget - pure Python alternative to QScintilla

2010-09-01 Thread projetmbc
Hello, CodeAide looks interesting. I've two questions : Is it to add other languages that Python ? How do you treat the line numbering and the folding ? >>> auto-complete You can find a method here : http://www.developpez.net/forums/d921494/autres-langages/python-zope/general-python/naturel-

Re: [PyQt] Optimizing WebView display

2010-09-01 Thread alan moore
I ran my script with callgrind and looked at the output in Kcachegrind, but I didn't really grasp much of what it was telling me. It seems that I'm spending an inordinate amount of time in libfontconfig.so, but otherwise I couldn't identify any of my functions that were slow. The tricky part

[PyQt] ANN: Preview of Python code editor widget - pure Python alternative to QScintilla

2010-09-01 Thread Henning Schröder
Hello, although QScintilla is nice I always thought it would be good to base an editor widget on QPlainTextEdit. Over the time I implemented the typical parts which were missing: * line number and icon sidebar * highlighting the current line, higlighting the occurrence of the current word * lin

Re: [PyQt] Optimizing WebView display

2010-09-01 Thread alan moore
Yes; http://www.alandmoore.com/software/downloads/browser.py Thanks in advance! On 08/31/2010 11:02 PM, Taylor Carrasco wrote: Is the code available for us to take a look at for possible optimizations On Tue, Aug 31, 2010 at 9:09 AM, alanm mailto:m...@alandmoore.com>> wrote: I wrote a sma

Re: [PyQt] Optimizing WebView display

2010-09-01 Thread David Boddie
On Mon Aug 30 22:09:46 BST 2010, alanm wrote: > I wrote a small browser in PyQT4 using QWebView, of course. The browser > runs well and does what I need, but when I deployed it to my thin clients, > it was far to slow to use. [...] > Are there any other places where graphical effects can be ton

Re: [PyQt] converting SWIG objects to SIP objects

2010-09-01 Thread Phil Thompson
On Wed, 01 Sep 2010 11:00:30 -0400, Blaine Bell wrote: > I was able to write a SIP function that takes a SWIG object, converts it > to a SIP object, as well as a function that converts a SIP object back > to a SWIG object: > > The object I have implemented in SIP and SWIG is called "ChmMol": >

Re: [PyQt] waht`s wrong with qstring

2010-09-01 Thread Phil Thompson
On Wed, 1 Sep 2010 16:39:42 +0800, "king011a" wrote: > 2010-09-01 > > > > king011a > Hi > My development eviroment: > os: windows xp > python: python-3.1.2.msi > pyqt: PyQt-Py3.1-gpl-4.7.4-1.exe > code: > import sysfrom PyQt4 import QtCore, QtGuiapp = > QtGui.QApplication(sys.argv)

[PyQt] converting SWIG objects to SIP objects

2010-09-01 Thread Blaine Bell
I was able to write a SIP function that takes a SWIG object, converts it to a SIP object, as well as a function that converts a SIP object back to a SWIG object: The object I have implemented in SIP and SWIG is called "ChmMol": ChmMol *convertChmMoltoSIP(SIP_PYOBJECT); %MethodCode if (!SWIG

Re: [PyQt] waht`s wrong with qstring

2010-09-01 Thread Doug Bell
king011a wrote: > Hi > My development eviroment: > os: windows xp > python: python-3.1.2.msi > pyqt: PyQt-Py3.1-gpl-4.7.4-1.exe > code: > import sysfrom PyQt4 import QtCore, QtGuiapp = > QtGui.QApplication(sys.argv)s = QtCore.QString()sys.exit(app.exec_()) > It always show me > in

[PyQt] Migrate From PyQt3 to PyQt4

2010-09-01 Thread Chen, Peter
Dear all, I want to migrate a project from PyQt3 to PyQt4 right now, is there a tool or reference for this? Thanks, Peter ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] waht`s wrong with qstring

2010-09-01 Thread king011a
2010-09-01 king011a Hi My development eviroment: os: windows xp python: python-3.1.2.msi pyqt: PyQt-Py3.1-gpl-4.7.4-1.exe code: import sysfrom PyQt4 import QtCore, QtGuiapp = QtGui.QApplication(sys.argv)s = QtCore.QString()sys.exit(app.exec_()) It always show me in 'module'

Re: [PyQt] Optimizing WebView display

2010-09-01 Thread Nick Gaens
Or, profile your application using a tool like Valgrind to find out what parts of your code in particular should be worth looking at for optimizing purposes. Remember the 90/10 rule: a 90 percent speed increase can be achieved by optimizing only 10 percent of your code. On Wed, Sep 1, 2010 at 06:0