Let's create a new application based on the Dialog without Buttons template. This application will display different flight types along with their respective prices. When a user selects a flight type, its price will be displayed on the screen:
- Drag and drop two Label widgets and three Radio Button widgets onto the form.
- Set the text property of the first Label widget to Choose the flight type and delete the text property of the second Label widget. The text property of the second Label widget will be set through code; it will be used to display the price of the selected flight type.
- Set the text property of the three Radio Button widgets to First Class $150, Business Class $125, and Economy Class $100.
- Set the objectName ...