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.
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:
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.