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. I am new to pyqt.

Regards
Pard

On 21 September 2010 00:06, David Boddie <[email protected]> wrote:

> On Mon, 20 Sep 2010 14:42:55 +0200, pard wrote:
>
> > Is it possible to skin the title bar and window border in pyqt? I
> actually
> > just require a colour change, e.g. make the title bar, window border
> black,
> > have white text and change the colours of the close, minimize and
> maximize
> > buttons.
>
> This is not possible to do using PyQt on most platforms. This is a window
> manager or window system feature. If you really want to restyle the window,
> you might be able to make the window frameless
>
>  window.setWindowFlags(Qt.FramelessWindowHint)
>
> and draw your own window decorations. Of course, you will need to handle
> the buttons yourself. In situations like these, it's actually easier to
> give the window a specialized style than it is to make it look almost
> native, with just a few customizations.
>
> David
> _______________________________________________
> 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