Views of a QStringList
Review Questions
| 1. |
List six things that QWidgets have in common. |
| 2. |
How can you save and later restore the size, position, and arrangements of widgets for a GUI app? |
| 3. |
Why would you want to do such a thing? |
| 4. |
What is a dialog? Where is an appropriate place to use it? |
| 5. |
What is a QLayout? What is its purpose? What is an example of a concrete QLayout class? |
| 6. |
Can a widget be a child of a layout? |
| 7. |
Can a layout be a child of a widget? |
| 8. |
Revisiting Example 11.15, how does the QGridLayout determine the number of columns? What would be the effect of using mainGrid->addWidget(moveLeft, 1,2); in line 25? |
| 9. |
What are the advantages of listing our images in a resources file? |
| 10. |
What is the difference between a spacer and a stretch? |
| 11. |
What is a QAction? How are actions triggered? |
| 12. |
It is possible to create QMenus without using QActions. What are the advantages of using a QAction? |