반응형

pyqt5 3

Python) Pycharm에서 Qt5 Designer 실행하기

Pycharm에서 Qt5 Designer 실행하기 GUI 프로그래밍시 Tool 없이 구현하기 매우 어려우면 간단한 프로그램의 경우 비즈니스 로직 구현 시간보다 GUI 구현에 더 많은 시간이 소모된다. Pycharm에서 Qt5 Designer 설치 및 실행 방법을 상세하게 설명한 블로그가 있어 출처 남겨두었습니다. Pycharm에서 Qt5 Designer 실행하기 출처 : https://present4n6.tistory.com/9 PyQt5 GUI 프로그래밍(1) - PyCharm에서 PyQt5 설치하기 PyQt5를 사용해서 GUI 프로그래밍을 해보자! GUI 프로그래밍을 하는 방법은 여러가지가 있습니다. 저는 그 중에서 친숙한 언어인 Python을 사용해서 GUI 프로그래밍을 하는 방법에 대해 찾아봤습니..

Python 2022.02.05

Python) 파이썬 tabWidget (탭위젯)

Python) 파이썬 tabWidget (탭위젯) * Pycharm 실행 시 pyqt5 패키지 설치 필요. 출처 : https://wikidocs.net/33707 11) QTabWidget ![](https://wikidocs.net/images/page/33707/4_11_qtabwidget_sample.png) GUI 프로그램을 사용하다보면 위의 그 ... wikidocs.net 소스코드 import sys from PyQt5.QtWidgets import QApplication, QWidget, QTabWidget, QVBoxLayout class MyApp(QWidget): def __init__(self): super().__init__() self.initUI() def initUI(self..

Python 2022.02.01

Python) 파일 목록 출력

파일 목록 출력 파일 목록 출력 코드 ( * os.listdir 함수로 파일 정보 불러옴 ) path_dir = 'D:/' #디렉토리 file_list = os.listdir(path_dir) GUI로 파일 목록 출력 ( with. PyQt5 ) import sys, os from PyQt5.QtWidgets import QApplication, QWidget, QTableWidget, QAbstractItemView, QHeaderView, QTableWidgetItem, QVBoxLayout from PyQt5.QtGui import QIcon class MyApp(QWidget): def __init__(self): super().__init__() self.initUI() def initUI(se..

Python 2022.01.08
반응형