[PyQt] Skinning the title bar and window border

pard pardmeister at gmail.com
Thu Sep 23 08:41:19 BST 2010


Thanks for the reply Vincent. I will look at the example you mentioned.

On 22 September 2010 14:53, Vincent Vande Vyvre <vincent.vandevyvre at swing.be
> wrote:

>  Le 22/09/10 13:31, Hans-Peter Jansen a écrit :
>
> [Sorry for mangling the receiver list - I prefer to keep this discussion on
> this list]
>
> On Wednesday 22 September 2010, 12:47:54 pard wrote:
>
>
>  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.
>
>
>  Well, due to the multi layered nature of wxpython, it is very restrictive,
> when it comes to lower level tasks in general..
>
>
>
>  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.
>
>
>  Yes, I know, usability is for wimps, real man conquer any dorky user
> interface derailments. [no _personal_ pun intended]
>
>
>
>  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.
>
>
>  I don't know of anything PyQt related. David?
>
> I would search for frameless Qt application sources. Thanks to PyQt's
> architecture (that makes almost everything of Qt accessible from Python),
> it's usually pretty simple to translate such code to Python.
>
> What's the aspirated target architecture?
>
> Pete
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.comhttp://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
>    hi,
>
> In the examples provided with PyQt, try this script :
>
> /examples/widgets/windowflags.py
>
> --
> Vincent V.V.
> Oqapy <https://launchpad.net/oqapy>
>
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20100923/1f3d2e47/attachment.html>


More information about the PyQt mailing list