Class WStringListModel

public class WStringListModel extends WAbstractListModel
An model that manages a list of strings.

This model only manages a unidimensional list of items and is optimized for usage by view widgets such as combo-boxes.

It supports all features of a typical item model, including data for multiple roles, editing and addition and removal of data rows.

You can populate the model by passing a list of strings to its consructor, or by using the setStringList() method. You can set or retrieve data using the setData() and getData() methods, and add or remove data using the insertRows() and removeRows() methods.

See Also: