Drag and Drop1 PYQT5 Drag & Drop 기능 파일을 탐색기로 일일이 찾고 넣는 게 불편해서 간편하게 인식시키는 방법이 있을까 고민하다가 찾았다. PYQT5에서 프로그램으로 파일이나 폴더를 Drag & Drop으로 인식시킬 수 있다.기능 소개 전체 코드from PyQt5.QtWidgets import QApplication, QWidget, QLabel, QVBoxLayoutfrom PyQt5.QtGui import QIconroute_first = "경로 : "class MyApp(QWidget): def __init__(self): super().__init__() self.initUI() def initUI(self): self.setWindowTitle('CheckFileRoute') s.. 소프트웨어/Python 2024. 2. 25. 이전 1 다음 💲 추천 글