DzComboBox Class Reference
[Interface Widget Objects]

DAZ Script combo box widget. More...

Inheritance diagram for DzComboBox:

DzWidget List of all members.

Properties

Number count
Number currentItem
String currentText
void clear ()
void insertItem (String text)
void removeItem (Number index)
String text (Number index)

Constructors

 DzComboBox (DzWidget parent)

Signals

void activated (String string)
 Signature: "activated(const QString&)"
void activated (Number index)
 Signature: "activated(int)"
void highlighted (String string)
 Signature: "highlighted(const QString&)"
void highlighted (Number index)
 Signature: "highlighted(int)"
void textChanged (String string)
 Signature: "textChanged(const QString &)"

Detailed Description

DAZ Script combo box widget.


Constructor & Destructor Documentation

DzComboBox::DzComboBox ( DzWidget  parent  ) 

Creates combo box with the given parent widget


Member Function Documentation

void DzComboBox::activated ( String  string  )  [signal]

Signature: "activated(const QString&)"

Emitted when an item is selected, passes the text of the item that was activated.

void DzComboBox::activated ( Number  index  )  [signal]

Signature: "activated(int)"

Emitted when an item is selected, passes the index of the item that was activated.

void DzComboBox::clear (  ) 

Removes all items from the combo box.

void DzComboBox::highlighted ( String  string  )  [signal]

Signature: "highlighted(const QString&)"

Emitted when the highlighted item changes, passes the text of the item that is highlighted.

void DzComboBox::highlighted ( Number  index  )  [signal]

Signature: "highlighted(int)"

Emitted when the highlighted item changes, passes the index of the item that is highlighted.

void DzComboBox::insertItem ( String  text  ) 

Adds the given item to the list of items in the combo box.

void DzComboBox::removeItem ( Number  index  ) 

Removes the given item from the list of items in the combo box.

String DzComboBox::text ( Number  index  ) 

Returns the text of the item at the given index.

void DzComboBox::textChanged ( String  string  )  [signal]

Signature: "textChanged(const QString &)"

Emitted when the text of the box changes, passes the new text of the box.


Member Data Documentation

int DzComboBox::count

Holds the number of items in the combo box. (Read Only)

int DzComboBox::currentItem

Holds the index of the currently selected item in the combo box.

QString DzComboBox::currentText

Holds the text of the currently selected item in the combo box.


Generated on Thu Sep 24 12:21:11 2009

Copyright © 2002 - 2009 DAZ 3D, Inc.