Record the steps to realize the interface display of the upper computer in this development project

1. After receiving the TCP signal, send it out. This project considers the influence between threads, and a thread management part is set in the middle.

(1) Declare a signal function in monitortcpclientworker.h:

(2) Send in monitortcpclientworker.cpp:

Second, manage the signal of the thread

(1) Declare the signal function in monitortcpclientthreadmanager.h:

(2) Add connection function in monitortcpclientthreadmanager.cpp:

Third, the module implementation part

(1) Add a signal function to the slot function (private slots) of checkpacketcount.h:

(2) Add the implementation function in checkpacketcount.cpp (simple display part):

(3) Add connection function in checkpacketcount.cpp:

The above are the simple implementation steps this time, recorded here, welcome to discuss! ! ! ! !

Guess you like

Origin blog.csdn.net/qq_43499961/article/details/107950803