Summary
In this chapter, we dealt with the topic of reactive GUI programming using Qt. We started with a quick overview of GUI application development using Qt. We learned about concepts in the Qt framework, such as the Qt object hierarchy, the meta-object system, and signals and slots. We wrote a basic Hello World application using a simple label widget. Then, we wrote a mouse event handling application using a custom label widget. In that application, we learned more about how the Qt event system works, and how to use the signals and slots mechanism for object communication. Finally, we wrote an application to handle mouse events and filter them by using the RxCpp
subscription model and Qt event filters. We covered how RxCpp can be used in a GUI framework (such as Qt) to follow a Reactive programming model. We also covered the RxQt
library, a public domain that integrates RxCpp and the Qt library.
Before proceeding to the next chapter, you need to learn about writing custom operators for...