Re: [PyQt] setting color of window titlebar or window background

2011-10-17 Thread Erik Janssens
we use a stylesheet for this purpose, they are rather easy to implement, and you can have one for test, pre-production, production ... http://doc.qt.nokia.com/latest/stylesheet.html On Mon, 2011-10-17 at 22:00 +0200, Hans-Peter Jansen wrote: > On Sunday 16 October 2011, 21:14:44 Brad Buran wrote

Re: [PyQt] setting color of window titlebar or window background

2011-10-17 Thread Hans-Peter Jansen
On Sunday 16 October 2011, 21:14:44 Brad Buran wrote: > When users of my program run it in test mode, it is not actively > saving data. Once in a while, a user forgets that they are in test > mode and attempts to run an experiment only to realize that the data > wasn't being saved after they're do

Re: [PyQt] Icon on OS X

2011-10-17 Thread Hans-Peter Jansen
On Sunday 16 October 2011, 16:27:25 Clément Mairet wrote: > On 10/16/2011 05:52 AM, Joseph Yeung wrote: > > I am trying out my application on OS X Lion 10.7.2 and PyQt4 4.8.4 > > and it is showing the default Python Launcher Icon. > > > > But on Ubuntu it is showing the icon which I specify. Wonder

Re: [PyQt] Using PostgreSQL

2011-10-17 Thread paolo
Finally i understand what's happening... First the problem is not MSVCR90.DLL related. I cheked the other sql plugin libraries with dependency walker and i found that for all i've got the missing library log but at leat psqlodbc4.dll works so that is not the problem. The problem was related to lib

Re: [PyQt] Using PostgreSQL

2011-10-17 Thread Matt Newell
Before starting you app set the QT_DEBUG_PLUGINS environment var. set QT_DEBUG_PLUGINS=1 Also in the windows registry Qt caches which plugins are valid. If the qsqlpsql4.dll wouldn't load once it will not try to load it again even if you fix dll problems. Go ahead and delete the entire plugi

[PyQt] Using PostgreSQL

2011-10-17 Thread paolo
Hello I have a problem using PostgreSQL with pyqt. My pc is a Windows 7 32bit, i've installed postgresql 9.1 with odbc drivers BUT i want to use it in pyqt with the native driver. I've wrote a small script to test everything but this work if i use ODBC, if i use PSQL i get an errore "Driver not loa