강의

멘토링

커뮤니티

Inflearn Community Q&A

qgistg's profile image
qgistg

asked

Introduction to Python and Creating Various Automated Applications Using Web Crawling

GUI-based Youtube Multi-player Development (5) - PyQT5 QSound, Qthread, QObject

Progress bar 쓰레드 관련

Written on

·

484

0

시간이 좀 걸리는 함수를 진행할 때 프로그레스 바를 보여주고 싶은데

함수가 실행 중에는 프로그레스바는 움직이지 않고 함수가 끝나면 100프로로 끝나 버림

그리고 시간이 걸리는 함수가 시작되면 다른 기능을 사용하지 못하는데 해결 방법이 있나요?

 

 

웹-크롤링웹-크롤링python

Answer 1

0

niceman님의 프로필 이미지
niceman
Instructor

안녕하세요. 태근님

열심히 하시네요!

프로그스바는 별도의 스레드를 생성해야 퍼센티지에 따라서 상태값이 상승하게 됩니다.

다른 기능역시 별도의 스레드를 통해서 작업을 수행하시면 됩니다.(PyQT)

감사합니다.

qgistg's profile image
qgistg

asked

Ask a question