[PyQt] setting color of window titlebar or window background

2011-10-16 Thread Brad Buran
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 done. Is it possible to change the color of the title bar or ba

Re: [PyQt] Icon on OS X

2011-10-16 Thread Clément Mairet
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. Wondering if there is a specific thing I need to do on OSX. Thanks. Joseph

Re: [PyQt] Determine size of a button

2011-10-16 Thread David Boddie
On Fri, 14 Oct 2011 02:39:49 -0700 (PDT), Joe M wrote: > The question is: is there a way in which I can tell how big the buttons > will be without having to create them in the first place? Or any other > hints? You can make estimates based on the application's font size. However, there are other