문서 편집 권한이 없습니다. 다음 이유를 확인해주세요:
요청한 명령은 다음 권한을 가진 사용자에게 제한됩니다: 사용자.
== PyQt == === Pyqt5 레퍼런스 === https://www.riverbankcomputing.com/static/Docs/PyQt5/index.html === PYQT 기초 강의 === https://opentutorials.org/module/544 === PYQT 샘플 소스 === https://github.com/PyQt5/PyQt === PyQt6 === https://www.riverbankcomputing.com/static/Docs/PyQt6/# === Hello World 화면 만들기 === ## ui화면 만들기 QT디자이너를 이용하여 윈도우 폼을 생성한후 "xxxx.ui" 파일로 저장 (.ui파일은 xml파일임) pyuic5 -x xxxx.ui -o xxxx.py ----- ### UI 만들기 <source lang=python> # coding: utf-8 import sys from PyQt5 import QtWidgets from PyQt5 import uic class Form(QtWidgets.QDialog): def __init__(self, parent=None): QtWidgets.QDialog.__init__(self, parent) self.ui = uic.loadUi("QT_WIN_01.ui") self.ui.show() if __name__ == '__main__': app = QtWidgets.QApplication(sys.argv) w = Form() sys.exit(app.exec()) </source> [[Category:python]]
문서 저장 미리 보기 차이 보기 취소