开发者

PyQt4 Custom Widgets

开发者 https://www.devze.com 2022-12-23 09:59 出处:网络
Are there any good PyQt4 custom widgets like at Qt-Apps.org? I would like to start making PyQt custom widgets but online resources that I find don\'t seem to be clear

Are there any good PyQt4 custom widgets like at Qt-Apps.org?

I would like to start making PyQt custom widgets but online resources that I find don't seem to be clear

Fo开发者_运维知识库r example, Trolltech's and Zetcode's don't seem to be related in any way at all.

Thanks for any input :)


There should be PyQt examples of all C++ Qt examples in your PyQt4 distribution. I have them here: /usr/share/doc/python-qt4-doc/examples. Theye are quite good for the start. When you understand them, it should also be fairly easy for you to port some C++ examples to PyQt code or turn C++ custom widgets to C++.


online resources about PyQt aren't really that rampant, so any information/projects would be welcomed. Don't hesitate to post links to your upcoming widgets or anything else.

I would be really glad to work on that with you as i'm learning more about pyqt as well.


Are you looking for tutorials on making custom PyQt widgets, or looking for a library of them?

I've been developing a library of reusable custom widgets if that's what you're looking for - at somepoint will be getting to the tutorials, but they aren't there yet.

Check out projexsoftware.com, specifically the ProjexUI framework:

http://dev.projexsoftware.com/projects/projexui

http://docs.projexsoftware.com/sdk-reference/projexui-sdk

In looking at it, I'll need to get some images up there...but there's a Calendar widget, Gantt Chart, View plugin system, Node view, Chart widgets, along with a number of extensions to the base Qt widget classes.

Also the easiest way to see the majority of the widgets is in the Qt Designer - so if you have it setup to work with PyQt plugins, wherever you install the projexui library you can add the /path/to/projexui/designer/build to your PYQTDESIGNERPATH and it'll load designer with our plugins.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号