- Qt 5 and OpenCV 4 Computer Vision Projects
- Zhuo Qingliang
- 136字
- 2021-06-24 13:59:16
Implementing the functions for the actions
In the previous section, we added several actions to the menu and toolbar. However, if we click on these actions, nothing happens. That's because we have not written any handler for them yet. Qt uses a signal and slot connection mechanism to establish the relationship between events and their handlers. When users perform an operation on a widget, a signal of that widget will be emitted. Then, Qt will ascertain whether there is any slot connected with that signal. The slot will be called if it is found. In this section, we will create slots for the actions we have created in the preceding sections and make connections between the signals of the actions to these slots respectively. Also, we will set up some hotkeys for frequently used actions.
- TensorFlow Lite移動端深度學習
- Java 開發從入門到精通(第2版)
- Full-Stack React Projects
- Spring Boot企業級項目開發實戰
- Unity 5 for Android Essentials
- Clojure Reactive Programming
- OpenCV 4計算機視覺項目實戰(原書第2版)
- 新一代SDN:VMware NSX 網絡原理與實踐
- ElasticSearch Cookbook(Second Edition)
- C語言從入門到精通
- 一本書講透Java線程:原理與實踐
- UML2面向對象分析與設計(第2版)
- 微信小程序開發實戰:設計·運營·變現(圖解案例版)
- Mastering Android Studio 3
- PhoneGap 4 Mobile Application Development Cookbook