QT/Win32 Qdialog show문제
페이지 정보
작성자
본문
다이얼로그를띄우고 일정시간이후에 그림을그리고싶은데 아래코드와같이 코딩시에 다이얼로그랑 그림이랑 동시에 그려지네요 그밑에 코드와같이 슬립을 주어도 동시에그려지는데 해결방법을 알수있을까요
self.loading.show()
self.plot_chart(lst_index_,lst_selected_,text)
================================
self.loading.show()
time.sleep(5)
self.plot_chart(lst_index_,lst_selected_,text)
self.loading.show()
self.plot_chart(lst_index_,lst_selected_,text)
================================
self.loading.show()
time.sleep(5)
self.plot_chart(lst_index_,lst_selected_,text)
추천0
댓글목록
devilqoo님의 댓글

타이머 쓰시면 될 것 같은데요.
QTimer::singleShot(5*1000, this, SLOT(drawSomething()));
파이썬 코드로의 전환은 알아서...