摘要:
1.自己调用命令行 pyuic4-ocodeFile.py-xyourUIfile.ui2.写一个批处理,每次双击就行了,跟你的源文件放在同一文件夹下 importosforroot,dirs,filesinos.walk('.'):forfileinfiles:iffile.endswith(... 阅读全文
摘要:
he Tetris game is one of the most popular computer games ever created. The original game was designed and programmed by a Russian programmerAlexey Paj... 阅读全文
摘要:
This is a widget that we can see in Nero, K3B, or other CD/DVD burning software.#!/usr/bin/python# -*- coding: utf-8 -*-"""ZetCode PyQt4 tutorial In t... 阅读全文
摘要:
TheQtGui.QBrushis an elementary graphics object. It is used to paint the background of graphics shapes, such as rectangles, ellipses, or polygons. A b... 阅读全文
摘要:
TheQtGui.QPenis an elementary graphics object. It is used to draw lines, curves and outlines of rectangles, ellipses, polygons, or other shapes.#!/usr... 阅读全文
摘要:
A colour is an object representing a combination of Red, Green, and Blue (RGB) intensity values. Valid RGB values are in the range from 0 to 255. We c... 阅读全文
摘要:
A point is the most simple graphics object that can be drawn. It is a small spot on the window.#!/usr/bin/python# -*- coding: utf-8 -*-"""ZetCode PyQt... 阅读全文
摘要:
We begin with drawing some Unicode text on the client area of a window.#!/usr/bin/python# -*- coding: utf-8 -*-"""ZetCode PyQt4 tutorial In this examp... 阅读全文
摘要:
In the following example, we will demonstrate how to drag & drop a button widget.#!/usr/bin/python# -*- coding: utf-8 -*-"""ZetCode PyQt4 tutorialIn t... 阅读全文
摘要:
In computer graphical user interfaces, drag-and-drop is the action of (or support for the action of) clicking on a virtual object and dragging it to a... 阅读全文