Home > other >  Pyqt5 do interface, click the button on the interface, and then make a specify the location of the p
Pyqt5 do interface, click the button on the interface, and then make a specify the location of the p

Time:12-04

Let the program run independently, runtime guarantee not stuck interface, still can continue to operate

CodePudding user response:

refer to the original poster weixin_45921099 response:
let the program run independently, runtime interface will not get stuck, can continue operations


Can try open a multithreaded, interface is the main thread, the thread to run the program

CodePudding user response:

reference 1st floor cmd_ming response:
Quote: refer to the original poster weixin_45921099 response:

Let the program run independently, runtime interface will not get stuck, can continue operations


Can try open multiple threads, the main thread interface, run the program the child thread
is not a multithreaded approach

CodePudding user response:

refer to the second floor weixin_45921099 response:
Quote: refer to 1st floor cmd_ming response:
Quote: refer to the original poster weixin_45921099 response:

Let the program run independently, runtime interface will not get stuck, can continue operations


Can try to open multiple threads, the main thread interface, run the program the child thread
is not out of the practice of multithreading?


Not too good, multithreading and publish-subscribe pubsub can well satisfy the interface and operation and state synchronization between subroutine to update the display
  • Related