PyQT Tutorial

Python QT GUI
本文介绍如何使用Python和QT设计工具创建美观的图形用户界面。通过QT Designer可以实现所见即所得的设计效果,并利用pyuic自动生成相应的代码。此外,文中还提到了如何将Python代码集成到项目中。

PyQT Tutorial

Tutorial: Creating GUI Applications in Python with QT

by Alex Fedosov

Python 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 with pyuic (which is a UI compiler for QT that comes
with the PyQT
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. :) )

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值