![]() ![]() We have an app here that is depending a lot on stylesheets, and i am looking to change that. Thanks to Jesse “jrapczak” Rapczak for the improvements and bug fixes, links has been updated! The import brings in the resources online so the stylesheet automagically finds them. py file that you import into your application. You’ll need to compile this resource xml by using pyrcc4 inside the bin folder of your PyQt installation, this will produce a. Here are the three images used by the stylesheet. So app.setStyle(“plastique”) and then tStyleSheet(“content of darkorange.stylesheet file”) I find that it works best with the “plastique” style. ![]() The file might be a little bloated for my taste, didn’t have time to clean it up, should be fine though! Some widgets might not have 100% support for the style but you’ll eventually figure those out, besides this is a good starting point I love to have consistent looking tools, makes them look like a big family.Īnyway, I wanted to share it with the community in case you guys ever happen to be on the same boat. In my opinion a tool both has to work good, but it also has to look professional and it should please the eye! It just becomes more intuitive and polished. I believe that a good looking UI subconsciously motivates an artist to work faster and better. When I started with Qt I looked for a good looking stylesheet out there but I couldn’t find a single one, seems like people doesn’t like to share their styles.Īfter a while I decided to develop my own stylesheet and since then I have kept using it both in maya and in my external Qt applications I develop.
0 Comments
Leave a Reply. |