1. What are widgets and why are they usefull in programming? (2)
2. Name any 3 widgets that you have used in programming (3)
3. Explain how you would add a LCD widget and how you can use this to show the system time
(5)
4. Explain how you would add a calendar widget and how you can use this to display the date
selected in a date edit widget.
5. Why is a combox box usefull in applications? (1)
6. Explain how can you use a combo box in a GUI (3)
Question 2 (Menus and Toolbars)
Use the diagram below to unswer the questions that follow.
Questions
1) Explain how would you create a Menu bar with File and under File three placeholders
with Edit, copy and paste (2)
2) Explain how you would you create a shortcut key for the copy and paste submenus (4)
3) How is a menu bar different from a toolbar (2)
4) What is a placeholder? (1)
5) How would you add a separator in a menu to create a nested menu? (2)
6) Explain how does an Action Editor works (4)
Creating a toolbar
Questions
1) What is a toolbar useful for (1)
2) Explain briefly how you would create an action with an icon
DOCK WIDGET
Questions
1) What is a docked widget and why is it useful?
2) Name 4 areas that you can place a dock widget
3) What property should you enable to make the dock area movable
TAB WIDGET
Questions
1. What is the purpose of a tab widget
2. How do you convert a tab to a widget
3. How do you change the style, gradient and colour of a tabbed document?
Other Questions on Menus