RE: [PyQt] Error: This version of PyQt and the Desktop edition of Qt have incompatible licenses.

2009-06-29 Thread Francis Brissette
Thanks. -Message d'origine- De : Phil Thompson [mailto:p...@riverbankcomputing.com] Envoyé : Monday, June 29, 2009 2:03 PM À : Francis Brissette Cc : pyqt@riverbankcomputing.com Objet : Re: [PyQt] Error: This version of PyQt and the Desktop edition of Qt have incompatible licenses. On M

Re: [PyQt] Mac QMenuBar localization issues

2009-06-29 Thread Hans-Peter Jansen
Am Montag, 29. Juni 2009 schrieb Hans-Peter Jansen: > Am Sonntag, 28. Juni 2009 schrieb Hans-Peter Jansen: > > Dear Mac-attending audience, > > > > after learning, how to get my application name into the Mac menu bar, > > I'm stuck again: did anybody of you succeed in localization of the > > specia

[PyQt] sip & dynamic_cast

2009-06-29 Thread Hazen Babcock
Hello, I have a custom C++ QtWidget (the QtExtWidget in PLplot) that I am attempting to wrap with sip. I've run into a very puzzling problem where in one function in the program dynamic_cast will properly recognize the PyQt generated C++ widget and in another function it will not. Also, forc

[PyQt] pyuic forgets layoutstrech

2009-06-29 Thread Michal
Hi, I've set layoutStretch fot a QHBoxLayout in qt designer, but pyuic forgets to create calls to setstrech (or similar), but uic generates them. I've got PyQt 4.5.1 installed. Am I making some mistake or is it a bug in pyuic? Greetings, Michal. ___ PyQt

Re: [PyQt] QPixmap issue with pyqt 4.5.1

2009-06-29 Thread Frank Schima
On Jun 29, 2009, at 10:56 AM, Phil Thompson wrote: On Mon, 29 Jun 2009 08:48:12 -0600, Frank Schima > wrote: On Jun 26, 2009, at 10:52 AM, Frank Schima wrote: I'm seeing a strange issue with either QPixmap or QImage loading from a data string. In pyqt 4.4.4, the following attached example co

Re: [PyQt] Error: This version of PyQt and the Desktop edition of Qt have incompatible licenses.

2009-06-29 Thread Phil Thompson
On Mon, 29 Jun 2009 10:30:19 -0700, Francis Brissette wrote: > Hi, > > I have installed and compiled the free version of Qt 4.5.2 > (http://get.qtsoftware.com/qt/source/qt-win-opensource-src-4.5.2.zip). > I have also installed and compiled SIP 4.8.1 > (http://www.riverbankcomputing.com/static/Dow

[PyQt] Error: This version of PyQt and the Desktop edition of Qt have incompatible licenses.

2009-06-29 Thread Francis Brissette
Hi, I have installed and compiled the free version of Qt 4.5.2 (http://get.qtsoftware.com/qt/source/qt-win-opensource-src-4.5.2.zip). I have also installed and compiled SIP 4.8.1 (http://www.riverbankcomputing.com/static/Downloads/sip4/sip-4.8.1.zip). Now, I'm trying to install PyQt 4.5.1 and I

Re: [PyQt] QPixmap issue with pyqt 4.5.1

2009-06-29 Thread Phil Thompson
On Mon, 29 Jun 2009 08:48:12 -0600, Frank Schima wrote: > On Jun 26, 2009, at 10:52 AM, Frank Schima wrote: > >> I'm seeing a strange issue with either QPixmap or QImage loading >> from a data string. In pyqt 4.4.4, the following attached example >> code produces an image - it looks like nois

[PyQt] How to update a relationModel

2009-06-29 Thread Stefano Z.
hello i need to know how to update a combobox linked to a datawidgetmapper when the table in relation with the mapper model is modified by en external application. code: def setupModels(self): """ Initialize all the application models """ # setup masterMod

Re: [PyQt] QPixmap issue with pyqt 4.5.1

2009-06-29 Thread Frank Schima
On Jun 26, 2009, at 10:52 AM, Frank Schima wrote: I'm seeing a strange issue with either QPixmap or QImage loading from a data string. In pyqt 4.4.4, the following attached example code produces an image - it looks like noise as expected. But with pyqt 4.5.1, it appears completely blank. I

[PyQt] Re: setLayout for a QDockWidget

2009-06-29 Thread TP
TP wrote: > The dockwidgets example uses setWidget. Why has QDockWidget a setLayout > class if we cannot use it? Excuse me: substitute "a setLayout class" by "a setLayout method", obviously! Sorry -- python -c "print ''.join([chr(154 - ord(c)) for c in '*9(9&(18%.\ 9&1+,\'Z4(55l4('])" "When a

Re: [PyQt] QsciScintilla

2009-06-29 Thread projetmbc
projetmbc a écrit : H'ello, it is too hard to understand what it must be done sucha built with a custom lexer which could be recalled the harder lexer... :-) I want to say : "it is too hard to understand what it must be done such as to build a custom lexer which could be recalled the harder

[PyQt] Re: setValue of QSettings adds undesired whitespaces in settings file

2009-06-29 Thread luca
Hans-Peter Jansen urpla.net> writes: Dear Pete, > Hmm, putting it bluntly: your concept of relying on two different parsers > (with different behavior) handling some arbitrary ini file format is > flawed. I wouldn't even call this a bug. It's simply unpredictable > behavior. You're right, bu

[PyQt] QsciScintilla

2009-06-29 Thread projetmbc
H'ello, it is too hard to understand what it must be done sucha built with a custom lexer which could be recalled the harder lexer... :-) More seriously, I would like to know where I can do suggestions for a more easy use of it. There is a big incoherence to propose something so easy to use s

[PyQt] QSyntaxHighlighter and folding

2009-06-29 Thread projetmbc
Hello, I would like to know if QSyntaxHighlighter can work with folding. I don't think so but... Best regards. Christophe PS : Indeed I've tried to use QSciScintilla and its custom lexer but with no simple examples to start it becomes to be very boring to try to find an hypothetical clue. I d

Re: [PyQt] setValue of QSettings adds undesired whitespaces in settings file

2009-06-29 Thread Hans-Peter Jansen
Dear Luca, Am Montag, 29. Juni 2009 schrieb Luca Fasano: > Hi all, > As described in mail subject, I noticed that if you use setValue() > method of a Qsettings object, undesired whitespaces are added to > settings file. For example if you have an entry consisting of a comma > separated list, white

Re: [PyQt] Re: setLayout for a QDockWidget

2009-06-29 Thread Andreas Pakulat
On 29.06.09 10:09:50, TP wrote: > Andreas Pakulat wrote: > > > Thats not the way to use QDockWidget, please look at the dockwidgets > > example and the API documentation to find out how to use that properly. > > The dockwidgets example uses setWidget. Why has QDockWidget a setLayout > class if we

[PyQt] setValue of QSettings adds undesired whitespaces in settings file

2009-06-29 Thread Luca Fasano
Hi all, As described in mail subject, I noticed that if you use setValue() method of a Qsettings object, undesired whitespaces are added to settings file. For example if you have an entry consisting of a comma separated list, whitespaces are added in it, even if setValue() only adds a *new* group.

[PyQt] Re: setLayout for a QDockWidget

2009-06-29 Thread TP
Andreas Pakulat wrote: > Thats not the way to use QDockWidget, please look at the dockwidgets > example and the API documentation to find out how to use that properly. The dockwidgets example uses setWidget. Why has QDockWidget a setLayout class if we cannot use it? Qt documentation seems to say