上QQ阅读APP看书,第一时间看更新
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.