Hi David<br><br>Thanks for your response. Do you have any resources that would show how to do this? Tutorials, examples, etc.<br>I do need to change the style of the window frame. I am new to pyqt.<br><br>Regards<br>Pard<br>
<br><div class="gmail_quote">On 21 September 2010 00:06, David Boddie <span dir="ltr"><<a href="mailto:david@boddie.org.uk">david@boddie.org.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div></div><div class="h5">On Mon, 20 Sep 2010 14:42:55 +0200, pard wrote:<br>
<br>
> Is it possible to skin the title bar and window border in pyqt? I actually<br>
> just require a colour change, e.g. make the title bar, window border black,<br>
> have white text and change the colours of the close, minimize and maximize<br>
> buttons.<br>
<br>
</div></div>This is not possible to do using PyQt on most platforms. This is a window<br>
manager or window system feature. If you really want to restyle the window,<br>
you might be able to make the window frameless<br>
<br>
window.setWindowFlags(Qt.FramelessWindowHint)<br>
<br>
and draw your own window decorations. Of course, you will need to handle<br>
the buttons yourself. In situations like these, it's actually easier to<br>
give the window a specialized style than it is to make it look almost<br>
native, with just a few customizations.<br>
<br>
David<br>
_______________________________________________<br>
PyQt mailing list <a href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a><br>
<a href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt" target="_blank">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br>
</blockquote></div><br>