헬로 월드 예시#edit
# Import PySide6 classes
import sys
from PySide6 import QtCore, QtWidgets
# Create a Qt application
app = QtWidgets.QApplication(sys.argv)
# Create a Window
mywindow = QtWidgets.QWidget()
mywindow.resize(320, 240)
mywindow.setWindowTitle('Hello, World!')
# Create a label and display it all together
mylabel = QtWidgets.QLabel(mywindow)
mylabel.setText('Hello, World!')
mylabel.setGeometry(QtCore.QRect(200, 200, 200, 200))
mywindow.show()
# Enter Qt application main loop
sys.exit(app.exec())
같이 보기#edit
외부 링크#edit
- Official website
- Official Documentation on the Qt Documentation web site
- Qt for Python on the Qt wiki
- Differences Between PySide and PyQt on the Qt wiki
This article is mirrored from “PySide” on 한국어 Wikipedia, revision 39769392, written by Wikipedia's contributors and licensed CC BY-SA 4.0. Editing it here creates a Quire copy with its own history.
Synced with Wikipedia revision 39769392 · just now
