[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] pyQt Material design
From: "Philipp A." <flying-sheep () web ! de>
Date: 2014-12-13 12:27:39
Message-ID: CAN8d9g=KWwu5MpM3UVg4seViOmAnNLDhduzaeR2xEZJoD=sidA () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
as florian said: Qt theming is pretty much on another layer as PyQt.
but still, there are two aways to go:
1. you can create and apply a style sheet
<http://doc.qt.io/qt-5/stylesheet.html>
2. you can create a QStylePlugin
<http://doc.qt.io/qt-5/qstyleplugin.html#details>
of course you can do the latter in Python via PyQt, but i doubt that
high-performance tasks like widget drawing should be done in python.
2014-12-11 17:30 GMT+01:00 john <johnf@jfcomputer.com>:
>
> Hi,
>
> The web is alive with Material design (flat design) and have been thinking
> about moving code to the new design and I wonder if pyQt has already done
> anything with the widgets to create a flat design.
> Johnf
> _______________________________________________
> PyQt mailing list PyQt@riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[Attachment #5 (text/html)]
<div dir="ltr">as florian said: Qt theming is pretty much on another layer as \
PyQt.<br><div><br>but still, there are two aways to go:<br><ol><li>you can create and \
apply a <a href="http://doc.qt.io/qt-5/stylesheet.html">style <span \
id="goog_1002199248"></span><span \
id="goog_1002199249"></span>sheet</a><br></li><li>you can create a <a \
href="http://doc.qt.io/qt-5/qstyleplugin.html#details">QStylePlugin</a><br></li></ol><p>of \
course you can do the latter in Python via PyQt, but i doubt that high-performance \
tasks like widget drawing should be done in python.<br></p></div></div><div \
class="gmail_extra"><br><div class="gmail_quote">2014-12-11 17:30 GMT+01:00 john \
<span dir="ltr"><<a href="mailto:johnf@jfcomputer.com" \
target="_blank">johnf@jfcomputer.com</a>></span>:<blockquote class="gmail_quote" \
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br> <br>
The web is alive with Material design (flat design) and have been thinking about \
moving code to the new design and I wonder if pyQt has already done anything with the \
widgets to create a flat design.<br> Johnf<br>
______________________________<u></u>_________________<br>
PyQt mailing list <a href="mailto:PyQt@riverbankcomputing.com" \
target="_blank">PyQt@riverbankcomputing.com</a><br> <a \
href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt" \
target="_blank">http://www.riverbankcomputing.<u></u>com/mailman/listinfo/pyqt</a></blockquote></div></div>
[Attachment #6 (text/plain)]
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic