Re: [PyQt] Qfiledailoug multiple file selection

2009-03-09 Thread klia
Detlev Offenbach wrote: On Samstag, 7. März 2009, klia wrote: Detlev Offenbach wrote: On Freitag, 6. März 2009, klia wrote: Hey folks; How can i be able to select multiple files whenever i browse my directory using QfileDailoug? this is the code to call up the filedailoug

Re: [PyQt] Documentation Style (Was: PyQt4 feature request)

2009-03-09 Thread Giovanni Bajo
On 3/7/2009 6:50 PM, Phil Thompson wrote: On Sat, 7 Mar 2009 18:06:12 +0100, Detlev Offenbach det...@die-offenbachs.de wrote: Hi, please include the PyQt4 documentation as a compressed Qt Help files (*.qch) as well. eric4 will support Qt Help collections starting with the first 4.4

[PyQt] QSettings usage

2009-03-09 Thread Frédéric
Hello, I'm switching from ConfigParser to QSettings, and I have a question: Do I have to build a QVariant object, or is there a way to just give the raw param in setValue() method? settings.setValue(Dummy, 4) TypeError: argument 2 of QSettings.setValue() has an invalid type Thanks, --

Re: [PyQt] QSettings usage

2009-03-09 Thread Frédéric
Le 9/3/2009, Phil Thompson p...@riverbankcomputing.com a écrit: settings.setValue(Dummy, 4) TypeError: argument 2 of QSettings.setValue() has an invalid type At the moment you always have to explicitly create QVariants - that will change. Ok. Thanks. -- Frédéric

Re: [PyQt] QSettings usage

2009-03-09 Thread Phil Thompson
On Mon, 9 Mar 2009 15:57:46 +0100 (CET), Frédéric frederic.mantega...@gbiloba.org wrote: Hello, I'm switching from ConfigParser to QSettings, and I have a question: Do I have to build a QVariant object, or is there a way to just give the raw param in setValue() method?

Re: [PyQt] Re: distribute pyqt application to windows users

2009-03-09 Thread Giovanni Bajo
On 3/7/2009 3:36 PM, G. Allegri wrote: I've just found http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4/PyQt-Py2.5-gpl-4.4.3-1.exe, an all in one package. Anyway the questions remain, because I would prefare to avoid be loosely couples with third party packages... 2009/3/7 G. Allegri

[PyQt] openUrl( xx.html#name ) ?

2009-03-09 Thread Denis
Folks, is there a way of opening a url at a #name ? openUrl( xx.html#name ) strips #name, although QUrl().fragment() is ok. (This is for a trivial 2-step browser for PyQt4.api: 1) grep the file to a QTextEdit, 2) click on a line e.g. PyQt4.QtCore.QUrl.fragment() - openUrl(

[PyQt] ODBC/MySql driver

2009-03-09 Thread Mario Daniel Carugno
Hi there, i'm developing an application under Linux, where i can use the mysql driver. But if i want that app to run in Windows too, there PyQt do not have (compiled) that driver but the ODBC. So, if i'd write only simple SQL queries, not using specific db functions, could that app run in linux

Re: [PyQt] Qfiledailoug multiple file selection

2009-03-09 Thread Detlev Offenbach
On Montag, 9. März 2009, klia wrote: Detlev Offenbach wrote: On Samstag, 7. März 2009, klia wrote: Detlev Offenbach wrote: On Freitag, 6. März 2009, klia wrote: Hey folks; How can i be able to select multiple files whenever i browse my directory using QfileDailoug? this

[PyQt] Compile PyQt with mysql driver support

2009-03-09 Thread Nahuel Defossé
Hi, after some google searches I discovered that I had to recompile PyQt to get MySql support on windows. So I donwloaded Qt 4.4.3 from Trolltech (the version recompiled and bundled with mingw), sip 4.7.9 and pyqt source 4.4.4. I compiled sip with no problems. Then I compiled Qt's mysql driver

[PyQt] Embedding w/ multi-threaded Python

2009-03-09 Thread McKay Davis
All, We are encountering difficulties embedding PyQT into our application. In our situation, we provide the capability to run multiple python interpreters simultaneously along with the main thread PyQT interpreter. We try to correctly manage the python global interpreter lock in such a way so

[PyQt] QTextEdit.ExtraSelection not working anymore

2009-03-09 Thread Henning Schröder
Hi! In the attached example the first line should be highlighted. Unfortunately it does not work on my system[1] Normally I would think I have done something wrong but this code works on my laptop[2] I haven't seen anything relevant in the changelogs. Did I miss anything? Regards Henning [1]