Source Code (Gui Example 45)
A widget which provides a defined list of values is referred to as a combo box and contains a line edit field and a drop down list. The idea of a combo box is to provide a graphical interface for users to select an item from a restricted set of options. The purpose of this example is to explain how to display a subset of the values based on some criteria.