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 chro

[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 -Wall

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" 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). > > I admit I don't really kn

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 long

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 wrote: > 2010-09-19 22:58:26 Phil Thompson napisał(a): >> On Sun, 19 Sep 2010 22:55:17 +0200, Arfrever Frehtes Taifersar Arahesis >> wrote: >> > 2010-09-19 15:24:53 Phil Thompson napisał(a): >> >> On Fri, 17 Sep 2010 20:51:55

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 wrote: >> This works under (Qt 4.6.3, SIP 4.10.2, PyQt 4.7.3): >> QObject.connect(self._manager, SIGNAL("sslErrors(QNetworkReply *, >> const QList&)"), self._handleSslError) >> >> However under (Qt 4.6.3, SIP 4.10.5, PyQt 4.7.4) I get: >>

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 i

[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! Is

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

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 wrote: > > Hi - > > We had the same requirement. Our solution

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 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] > > On Wednesday 22 Septem

[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 som