Inheritance diagram for DzListViewItem:
This class is not a widget, but a helper class for working with DzListView. Each DzListViewItem represents a single item in a list view - add items to a list view by creating a new DzListViewItem that is a child of the list view, or a child of another list view item in the list view.
DzListViewItem::DzListViewItem | ( | DzListView | parent, | |
Number | id = -1 | |||
) |
Creates a list view item at the root level of the given list view
parent | The listview to create this item as a child of | |
id | The identifier for this item |
DzListViewItem::DzListViewItem | ( | DzListViewItem | parent, | |
Number | id = -1 | |||
) |
Creates a list view item as a child of the given list view item
parent | The item to create this item as a child of | |
id | The identifier for this item |
Adds an arbitrary data item to be stored with the item
Number DzListViewItem::childCount | ( | ) |
Number DzListViewItem::compare | ( | DzListViewItem | item, | |
Number | column, | |||
Boolean | ascending | |||
) |
Compares the given listview item with this item
void DzListViewItem::deleteItem | ( | DzListViewItem | item | ) |
Deletes given item from the list view item's list of children items.
Number DzListViewItem::depth | ( | ) |
DzListViewItem DzListViewItem::firstChild | ( | ) |
Number DzListViewItem::getNumDataItems | ( | ) |
void DzListViewItem::insertItem | ( | DzListViewItem | newChild | ) |
Insert the item as a child of this item
DzListViewItem * DzListViewItem::itemAbove | ( | ) |
DzListViewItem * DzListViewItem::itemBelow | ( | ) |
Sets the column and order that determines how the list is sorted
DzListView DzListViewItem::listView | ( | ) |
void DzListViewItem::moveItem | ( | DzListViewItem | item | ) |
Moves this item to be after the given item, which must be one of its siblings
DzListViewItem DzListViewItem::nextSibling | ( | ) |
DzListViewItem DzListViewItem::parent | ( | ) |
void DzListViewItem::removeItem | ( | DzListViewItem | item | ) |
Remove the item from the children of this item
Sets the pixmap for this item in the given column
Sets whether or not the text in the given column can be changed by the user.
Set the text for this list view item in the given column
void DzListViewItem::sort | ( | ) |
Sorts the children of this item according to the current sorting column and order.
Sorts the children items of this item by the given column in the given order.
void DzListViewItem::startRename | ( | Number | column | ) |
Starts a rename operation.
Holds whether the item can be dragged
Holds whether the item can have other items dropped on it
Holds whether the item can be enabled
Holds whether the item can be expanded (opened)
Holds the height of the item.
Reimplemented in DzCheckListItem.
Holds the identifier for this item. (Read Only)
Holds whether the item can be displayed on multiple lines
Holds whether the item is expanded (open) or collapsed (closed)
Holds whether the item can be selected
Holds whether the item is selected
Holds whether the item is visible