- Qt5 C++ GUI Programming Cookbook
- Lee Zhi Eng
- 53字
- 2021-07-02 12:17:58
Function callbacks
Even though Qt 5 supports the signals and slots mechanism, some of the features in Qt 5 still use function callbacks, such as keyboard input, window resize, graphics painting, and others. Since these events only need to be implemented once, there is no need to use the signals and slots mechanism.