摘要:
使用QtDesigner创建UI界面如图,给关闭按钮添加关闭操作/form命名为:notepad打开按钮命名为:button_open保存按钮命名为:button_save文件名保存为notepad.ui2.使用pyuic编译ui文件为py文件 : pyuic4 notepad.ui > notepad.py 编译后为打开文件notepad.py,代码为:# -*- coding: utf-8 -*-# Form implementation generated from reading ui file 'C:\Users\Administrator\Desktop\testqt 阅读全文
posted @ 2012-08-24 16:26
呆头龙
阅读(3375)
评论(1)
推荐(1)
浙公网安备 33010602011771号