• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

ethanhs/material: Material Design Widgets for PySide and PyQt4

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

ethanhs/material

开源软件地址(OpenSource Url):

https://github.com/ethanhs/material

开源编程语言(OpenSource Language):

Python 100.0%

开源软件介绍(OpenSource Introduction):

Material PySide

Join the chat at https://gitter.im/IronManMark20/Material

^^ I am often on Gitter so you will find me there.

#NO LONGER SUPPORTED, but feel free to ask questions on the gitter. I might answer them.

A collection of PySide Widgets for theming applications to give a material design look.

Currently, only PySide for Qt4 is working. Python 2.7 and 3.x works!

Currently, the following widgets are supported (not all implemented right now):

  • LineEdit - implemented
  • TextEdit - not implemented (v0.2)
  • PushButton - FAB, Raised and Flat
  • TabBar - implemented
  • ListView - implemented
  • ProgressBar - implemented
  • Checkbox - implemented
  • TopBar - implemented
  • Dialog - not implemented (v0.2)

QPushButton has 3 styles: Flat, Raised, and Floating Action. To read more on these styles read the button spec.

Also, I have added a custom Text class which uses Roboto font as a bonus.

#Install

simple! run git clone https://github.com/IronManMark20/material.git && cd material

##Example To see the example, run the example.py file. It will give you an example application.

Also, the wiki will (in the future) have documentation for each widget. To start though, you can read through the source of example.py for examples.

#Screenshots

First page with list view: first page

and seccond page

second page

#Contributing

I take pull requests! Let me know if you are interested in contributing. The best way would be to open a new issue with the widget or fix you are going to work on. Fork the project, and push commits to that. Then, when you are done, you can make a pull request. I will check the changes you made and either approve it, or explain how it can be fixed.

###Note: By making a pull request, you agree that the code you are commiting is released under the LGPL.

#License

All of the *.qss files and *.py are LGPL v3 licensed, and the *.SVG images are released under CC BY-SA 2.0.

THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap