[PyQt] layoutStretch property is sometimes not compiled by pyuic4

2010-09-23 Thread Giuseppe Corbelli
If a layout is a child of FormLayout the setStretch calls are not generated. Besides if grid-position[0] == 0 the form does not stretch as in QT creator (role is marked as label instead of field). I admit I don't really know the pyuic internals. This hack fixes the issue I found, hope it makes

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

2010-09-23 Thread pard
Thanks for the reply Vincent. I will look at the example you mentioned. On 22 September 2010 14:53, Vincent Vande Vyvre vincent.vandevy...@swing.be wrote: Le 22/09/10 13:31, Hans-Peter Jansen a écrit : [Sorry for mangling the receiver list - I prefer to keep this discussion on this list]

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

2010-09-23 Thread pard
Thanks Devon I will be looking at an example that Vincent Vande Vyvre suggested. Would you mind if I contacted you for pointers if I get stuck, since you have some experience in this? Pard On 22 September 2010 18:18, Devon Rueckner devon.rueck...@temboo.comwrote: Hi - We had the same

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

2010-09-23 Thread Hans-Peter Jansen
On Thursday 23 September 2010, 10:06:01 pard wrote: Thanks Devon I will be looking at an example that Vincent Vande Vyvre suggested. Well that example let you play with the flags, and the flag that is needed is named QtCore.Qt.FramelessWindowHint, as Devon already mentioned. The matter is

[PyQt] Pyqt + Postgresql with SSL on Windows

2010-09-23 Thread sbremal
Hello, I wonder if there is a plan to add SSL support to the Postgresql DLL shipped with Pyqt? A bit of research revealed that using Libpq.dll from Pgadmin does support SSL connection but not the one coming with Pyqt. It would be great if Pyqt was enough to be installed on the clients!

Re: [PyQt] Pyqt + Postgresql with SSL on Windows

2010-09-23 Thread sbremal
QTBUG-13879 Date: Thu, 23 Sep 2010 12:44:35 +0100 From: p...@riverbankcomputing.com To: sbre...@hotmail.com Subject: Re: [PyQt] Pyqt + Postgresql with SSL on Windows On Thu, 23 Sep 2010 11:33:47 +, wrote: Hello, I wonder if there is a plan to

Re: [PyQt] supported signal signatures in PyQt 4.4

2010-09-23 Thread Phil Thompson
On Tue, 21 Sep 2010 23:20:01 +, Devon Rueckner devon.rueck...@temboo.com wrote: This works under (Qt 4.6.3, SIP 4.10.2, PyQt 4.7.3): QObject.connect(self._manager, SIGNAL(sslErrors(QNetworkReply *, const QListQSslError)), self._handleSslError) However under (Qt 4.6.3, SIP 4.10.5,

Re: [PyQt] 'import PyQt4.uic.Compiler' fails with Python 3.2

2010-09-23 Thread Phil Thompson
On Wed, 22 Sep 2010 16:16:05 +0200, Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com wrote: 2010-09-19 22:58:26 Phil Thompson napisał(a): On Sun, 19 Sep 2010 22:55:17 +0200, Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com wrote: 2010-09-19 15:24:53 Phil Thompson

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] layoutStretch property is sometimes not compiled by pyuic4

2010-09-23 Thread Phil Thompson
On Thu, 23 Sep 2010 09:19:49 +0200, Giuseppe Corbelli giuseppe.corbe...@copanitalia.com wrote: If a layout is a child of FormLayout the setStretch calls are not generated. Besides if grid-position[0] == 0 the form does not stretch as in QT creator (role is marked as label instead of field).

[PyQt] Error in compiling the library

2010-09-23 Thread Kannan U V
H, I am trying to compile PyQt and get the following error. I have python 2.4.3 and Qt 4.7.0 on a CentOS 5.5 make[1]: Leaving directory `/home/kannanuv/software/PyQt-x11-gpl-4.7.7/pylupdate' make[1]: Entering directory `/home/kannanuv/software/PyQt-x11-gpl-4.7.7/pyrcc' g++ -c -m64 -pipe -O2

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

2010-09-23 Thread Devon Rueckner
Hi - From a usability perspective, you definitely end up with something that feels and behaves .. different. This sort of thing is probably more appropriate for smaller pop-ups and dialogs than a main window. For implementation, you can make a subclass of QDialog which implements the chrome