Next, add UI components to the layout you have just set up:
From
the Ulc Data Entry category, select
the Entry Field part and drop it into the To-Do Item group
box.
the Ulc Lists category, select
the List part and drop it into the To-Do List group box.
Double-click on the List part to bring up its settings view. Look at the attributeName setting. This setting is used to retrieve a list-item object's string representation from the underlying collection part for display in the list. By default, this value is yourself. Because we are dealing only with strings, we can leave the default value as is.
At this point, we need to add two buttons to the remaining empty cell. Because a cell can contain only a single widget, add a Box part to the cell and then add the button parts to the box, as follows:
the Ulc Canvas category, select
the Horizontal Box part, which creates a box layout with two columns by
default. Drop it in the empty cell.
the Ulc Buttons category, select
the Button part; drop one onto each half of the horizontal box.
To keep a list of to-do items, we need a nonvisual collection part. For ULC applications, use the Table Model part.
From
the Ulc Models category, select
a Table Model part and drop it on the free-form surface.