close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": libffi.so.6: failed to map segment from shared object: Cannot allocate memory). Look in the Trac log for more information.
note
- QT creater:QT 的 IDE。整合了原本 QT designed 所有的設計功能。
- PyQT:將 python 與 qt bind 在一起,支援 python 2、3。
- 4.5 版後適用 LGPL licence。
- PySide: LGBL licence。 PyQt 不是。
- API Reference:http://doc.trolltech.com/latest/index.html
- C:/QtSDK/readme/index.html
PySide
- 手冊:http://developer.qt.nokia.com/wiki/PySideDocumentation/
- 環境:
- QT SDK
- Python
- PySide 1.07
- 測試:
import PySide
print PySide.__version__
結果:1.0.7
- 測試:
# Import PySide classes
import sys
from PySide.QtCore import *
from PySide.QtGui import *
# Create a Qt application
app = QApplication(sys.argv)
# Create a Label and show it
label = QLabel("Hello World")
label.show()
# Enter Qt application main loop
app.exec_()
sys.exit()
Reference
Download in other formats: