安裝
$ pip install PySide2
測(cè)試是否安裝成功:
import PySide2.QtCore
# Prints PySide2 version
# e.g. 5.11.1a1
print(PySide2.__version__)
# Gets a tuple with each version component
# e.g. (5, 11, 1, 'a', 1)
print(PySide2.__version_info__)
# Prints the Qt version used to compile PySide2
# e.g. "5.11.2"
print(PySide2.QtCore.__version__)
# Gets a tuple with each version components of Qt used to compile PySide2
# e.g. (5, 11, 2)
print(PySide2.QtCore.__version_info__)
資源
- Designing with Qt Creator
- Qt for Python/Tutorial
- Qt for Python
- wiki: Qt
- Web Browser Example
- PySide2.QtWidgets - Classwizard Example: Demonstrates the use of QDialog in a wizard application
- PySide2.QtWidgets - Star Delegate Example: Demonstrates Qt’s itemview architecture
- Qt for Python UsingQtProperties
- Qt for Python Signals and Slots
- How do you create a bigger QGraphicsItem shape() using QPainterPathStroker?|QPainterPathStroker Class
- PyQt5圖形界面編程(目錄)
- Qml組件化編程2-可拖動(dòng)組件和定制窗體
- 《快速掌握PyQt5》
- 快速掌握PyQt5
- 《PyQt5高級(jí)編程實(shí)戰(zhàn)》學(xué)會(huì)使用視圖委托
- Qt之QGraphicsView實(shí)戰(zhàn)篇
- PyQt5系列教程(87):一個(gè)簡(jiǎn)單的Graphics View小例子(類的實(shí)現(xiàn)介紹-3)
- PyQt5系列教程(86):一個(gè)簡(jiǎn)單的Graphics View小例子(類的實(shí)現(xiàn)介紹-2)
- PyQt5系列教程(84):一個(gè)簡(jiǎn)單GraphicsView例子(GraphicsView框架介紹)
- Software Develop軟件開(kāi)發(fā)摘錄(Python&PyQt)
- 基于Qt QGraphicsView的多點(diǎn)觸摸繪圖
- PyQt5利用QPainter繪制各種圖形
- 中文資料見(jiàn):pyqt5_basic
- Qt教程标沪,Qt5編程入門教程(非常詳細(xì))
- Qt 學(xué)習(xí)之路
- PySide2 是 Qt 官方提供的:使用 Qt for Python 創(chuàng)建用戶界面
- Qt for Python Tutorials
- guietta:Qt 包裝器,使創(chuàng)建簡(jiǎn)單的圖形界面非常容易嗜傅。