Class WStandardItem


public class WStandardItem extends Object
An item in a WStandardItemModel.

The item provides access to various data properties: text, icon, CSS style class, tool tip, and check state, and data flags (setFlags() and setCheckable()).

An item may contain a table of children items: the initial geometry may be specified in the constructor, or using the methods setRowCount() and setModelCount(). Unspecified items are 0. You can set or inspect children items using the setChild() and getChild() methods.

It is possible to reimplement this class and specialize the methods for data acess (setData() and getData()), or provide custom sorting functionality by reimplementing compare().