Hi -

We had the same requirement.  Our solution was to use a frameless window 
(FramelessWindowHint) and implement our own chrome with event handling for 
title-bar moving, edge resizing, etc.

Regards
~ Devon


> -----Original Message-----
> From: [email protected] [mailto:pyqt-
> [email protected]] On Behalf Of pard
> Sent: Wednesday, September 22, 2010 6:48 AM
> To: Hans-Peter Jansen
> Cc: [email protected]
> Subject: Re: [PyQt] Skinning the title bar and window border
> 
> Hi Pete
> 
> I understand why it is not popular. However, this is a requirement for
> work purposes.
> I had created a working program using wxpython for the gui, but the
> client required a specific colour scheme, fonts, etc. I found that
> wxpython was very restrictive when it comes to theming.
> 
> PyQt uses stylesheets which make it much simpler to theme an
> application. The only outstanding requirement is that the frame must be
> the same theme as the application.
> Marketing is quite adamant about this.
> 
> I also understand that it would be better to start with the basics,
> however, the deadline is also tight. If there are any resources which
> would give pointers as to how to reconstruct the work of window
> managers for my app it would be much appreciated.
> 
> Pard
> 
> 
> On 22 September 2010 12:32, Hans-Peter Jansen <[email protected]> wrote:
> 
> 
>       On Wednesday 22 September 2010, 11:36:41 pard wrote:
>       > Hi David
>       >
>       > Thanks for your response. Do you have any resources that would
> show how
>       > to do this? Tutorials, examples, etc.
>       > I do need to change the style of the window frame.
> 
> 
>       Doing that is not so popular, as it usually confuses your users
> more than it
>       is buying you. There's a reason, why all graphical operating
> systems
>       (including Windows, although their application developers usually
> doesn't
>       care a whit) try to provide an consistent user interface.
> 
> 
>       > I am new to pyqt.
> 
> 
>       Hmm, do you enter cars, when they move at 100 mph? If yes, how?
> 
>       Seriously, start with the basics. If you master them, nothing
> will stop you
>       to reconstruct the work of window managers for you own
> application.
> 
>       Cheers,
>       Pete
> 
>       _______________________________________________
>       PyQt mailing list    [email protected]
>       http://www.riverbankcomputing.com/mailman/listinfo/pyqt
> 
> 

_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to