[PyQt] qtrc? other options?

Kerri Reno kreno at yumaed.org
Fri Mar 23 21:27:27 GMT 2007


Matt Newell wrote:
> On Friday 23 March 2007 08:45, Kerri Reno wrote:
>   
>> I'm trying to set up my application to run on the server with a very
>> thin client.  I want only my window to show, not a wrapping window.
>> I've been trying to make this work with NX from www.nomachine.com.  It
>> does run my application, without a surrounding window, but where it's
>> getting the theme or style from, I don't know.  It's rather ugly.  (I've
>> got my application set to the 'cleanlooks' style, but there's no place I
>> can see to change the colors.  It comes up medium gray with highlighting
>> in dark blue).  I tried setting up a qtrc file, then I found that QT4
>> doesn't use qtrc.  I can get a nice looking theme/style, but I have to
>> have a window manager running, which sets up either a desktop or
>> surrounding window.
>>
>> Does anyone have any experience with this, and can point me in the right
>> direction?
>>
>> Kerri
>>     
>
> Try calling QApplication.setPalette(...) with a palette of your choosing.
>
> Matt
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/py
Matt,

Thanks so much!  That works great, except for the window border, which
is still grey.  I  know that comes from the os, so if anyone has any
ideas how to change the window border in linux without a window manager,
I'd appreciate the info.  I can live with it, but would rather change it.

Thanks!
Kerri



More information about the PyQt mailing list