HardyHu
  • Home
  • Archives
  • Categories
  • Tags
  • About
August 10, 2022 am
9 字 1 分钟

PySide2 uses QLabel to insert a image

1
2
pixmap = QPixmap('model.png')
label.setPixmap(pixmap)

#PySide2
PySide2 uses QLabel to insert a image
https://www.hardyhu.cn/2022/08/10/PySide2-uses-QLabel-to-insert-a-image/
Author
John Doe
Posted on
August 10, 2022
Licensed under
How to Use frp Previous
PySide2 Common List Components -- QTableView QListView Next

Table of Contents

Search

Hexo Fluid
总访问量 次 总访客数 人
浙ICP备2025160052号