- Qt5 C++ GUI Programming Cookbook
- Lee Zhi Eng
- 84字
- 2021-07-02 12:17:57
How it works...
Almost every widget has a set of slot functions associated with its usage or purpose. For example, a push button will start emitting signals that trigger the slot functions associated with it when it's pressed or released. These expected behaviors that define the widget have slot functions that get called when the user triggers an action. As programmers, all we need to do is implement the slot functions and tell Qt what to do when these slot functions are being triggered.