Qtpy - QProgressBar 활용하기
·
파이썬/PyQT
기본 설명 QprogressBar를 통하여 프로그램 진행 상황을 표현할 수 있습니다. ex ) 프로그램 처리 과정, 데이터 로딩 함수 설명 속성 value() value 값을 가져옴 int setValue value 값 설정(value는 100을 넘을 수 없음) int setTextVisible() 백분율 표시 bool setMinimum() 최솟값 설정 int setMaximum() 최댓값 설정 int reset() 초기화 void 예제 import sys from PyQt5.QtWidgets import QApplication, QWidget, QProgressBar class Test(QWidget): def __init__(self): super().__init__() self.initUI() d..