In the QT control, it is convenient to define signal and slot functions

In the QT control, it is convenient to define signal and slot functions

The method used before is: custom signal and slot function

Now use a more convenient way:
insert image description here
insert image description here
insert image description here
insert image description here
click the control to call the slot function directly. . . (No need to bind)

Add the other two controls
insert image description here

Guess you like

Origin blog.csdn.net/qq_41701723/article/details/132023156