Inheritance diagram for DzCheckListItem:
Enumerations | |
enum | ToggleState { Off, NoChange, On } |
enum | Type { RadioButton, CheckBox, RadioButtonController, CheckBoxController } |
Properties | |
Number | height |
Boolean | on |
ToggleState | state |
Boolean | triState |
Type | type |
Constructors | |
DzCheckListItem (DzCheckListItem parent, Type type=RadioButtonController, Number id=-1) | |
DzCheckListItem (DzListViewItem parent, Type type=RadioButtonController, Number id=-1) | |
DzCheckListItem (DzListView parent, Type type=RadioButtonController, Number id=-1) |
This class is not a widget, but a helper class for working with DzListView. Each DzCheckListItem represents a single item in a list view - add items to a list view by creating a new DzCheckListItem that is a child of the list view, or a child of another list view item in the list view.
DzCheckListItem::DzCheckListItem | ( | DzListView | parent, | |
Type | type = RadioButtonController , |
|||
Number | id = -1 | |||
) |
Creates a checklist item at the root level of the given list view
parent | The listview to create this item as a child of | |
type | The Type of item to create | |
id | The identifier for this item |
DzCheckListItem::DzCheckListItem | ( | DzListViewItem | parent, | |
Type | type = RadioButtonController , |
|||
Number | id = -1 | |||
) |
Creates a checklist item as a child of the given list item
parent | The item to create this item as a child of | |
type | The Type of item to create | |
id | The identifier for this item |
DzCheckListItem::DzCheckListItem | ( | DzCheckListItem | parent, | |
Type | type = RadioButtonController , |
|||
Number | id = -1 | |||
) |
Creates a checklist item as a child of the given list item
parent | The item to create this item as a child of | |
type | The Type of item to create | |
id | The identifier for this item |
Holds the height of the item.
Reimplemented from DzListViewItem.
Holds whether the item toggled on.
Holds the state of the item.
Holds whether the item is tristate.
Holds the type of the item. (Read Only)