May 2019
Intermediate to advanced
542 pages
13h 37m
English
Suppose you have a program that pops up a form window. When the user finishes filling in the form and submits it, we need to get the entered data back to the main application class for processing. There are a few ways we could approach this; for instance, the main application could watch for click events on the pop-up window's Submit button, then grab the data from its fields before destroying the dialog. But that approach requires the main form to know all about the pop-up dialog's widgets, and any refactor of the popup would risk breaking code in the main application window.
Let's try a different approach using signals and slots. Open a fresh copy of our application template from Chapter ...
Read now
Unlock full access