DzCheckListItem Class Reference
[Interface Widget Objects]

DAZ Script checklist item. More...

Inheritance diagram for DzCheckListItem:

DzListViewItem QObject Object List of all members.

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)

Detailed Description

DAZ Script checklist item.

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.


Member Enumeration Documentation

enum DzCheckListItem::ToggleState

Specifies the checklist item's toggle state

Enumerator:
Off  The item is off
NoChange  The item has not changed - i.e. it is in the third state and the user has not clicked it.
On  The item is on

enum DzCheckListItem::Type

Specifies the checklist item's type

Enumerator:
RadioButton  Radio Button item. Must be the child of a RadioButtonController
CheckBox  Check Box item.
RadioButtonController  Radio Button parent item.
CheckBoxController  Check Box parent item.


Constructor & Destructor Documentation

DzCheckListItem::DzCheckListItem ( DzListView  parent,
Type  type = RadioButtonController,
Number  id = -1 
)

Creates a checklist item at the root level of the given list view

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

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

Parameters:
parent The item to create this item as a child of
type The Type of item to create
id The identifier for this item


Member Data Documentation

Number DzCheckListItem::height

Holds the height of the item.

Reimplemented from DzListViewItem.

Boolean DzCheckListItem::on

Holds whether the item toggled on.

int DzCheckListItem::state

Holds the state of the item.

Boolean DzCheckListItem::triState

Holds whether the item is tristate.

int DzCheckListItem::type

Holds the type of the item. (Read Only)


Generated on Thu Sep 24 12:21:11 2009

Copyright © 2002 - 2009 DAZ 3D, Inc.