PyQT Tutorial
Tutorial: Creating GUI Applications in Python with QT
by Alex FedosovPython is a great language with many awesome features, but its default GUI
package (TkInter) is rather ugly. Besides, who wants to write all that GUI
code by hand, anyway? Instead, a much better way to write GUI apps in
Python is to use Trolltech's QT Designer to WYSIWYG-ly create a
nice-looking interface, and then automatically generate the necessary code
for it withpyuic
(which is a UI compiler for QT that comes
with thePyQT
package.) QT designer also makes it very easy to add Python code to your
project. (If you want your app to do anything useful, you will undoubtedly
need to write some code. :) )
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)