메뉴 여닫기
개인 메뉴 토글
로그인하지 않음
만약 지금 편집한다면 당신의 IP 주소가 공개될 수 있습니다.

PyQt: 두 판 사이의 차이

데브카페
새 문서: 참고 : https://opentutorials.org/module/544/4998 == Pyqt5 레퍼런스 == https://www.riverbankcomputing.com/static/Docs/PyQt5/index.html # 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(QtWidget...
 
편집 요약 없음
 
1번째 줄: 1번째 줄:
참고 : https://opentutorials.org/module/544/4998
== PyQt ==
== Pyqt5 레퍼런스 ==
=== Pyqt5 레퍼런스 ===
https://www.riverbankcomputing.com/static/Docs/PyQt5/index.html
https://www.riverbankcomputing.com/static/Docs/PyQt5/index.html


# Hello World 화면 만들기
=== PYQT 기초 강의 ===
https://opentutorials.org/module/544
 
=== PYQT 샘플 소스 ===
https://github.com/PyQt5/PyQt
 
=== PyQt6 ===
https://www.riverbankcomputing.com/static/Docs/PyQt6/#
 
=== Hello World 화면 만들기 ===
## ui화면 만들기
## ui화면 만들기
QT디자이너를 이용하여 윈도우 폼을 생성한후 "xxxx.ui" 파일로 저장 (.ui파일은 xml파일임)
QT디자이너를 이용하여 윈도우 폼을 생성한후 "xxxx.ui" 파일로 저장 (.ui파일은 xml파일임)
30번째 줄: 39번째 줄:
     sys.exit(app.exec())
     sys.exit(app.exec())
</source>
</source>


[[Category:python]]
[[Category:python]]

2025년 6월 29일 (일) 12:53 기준 최신판

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 화면 만들기

    1. ui화면 만들기

QT디자이너를 이용하여 윈도우 폼을 생성한후 "xxxx.ui" 파일로 저장 (.ui파일은 xml파일임)

pyuic5 -x xxxx.ui -o xxxx.py


      1. UI 만들기
# 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())

Comments