DAZ Script | |
---|---|
LayoutMode | { FixedNumber, FitToWidth, FitToHeight, Variable } |
SelectionMode | { Single, Multi, Extended, NoSelection } |
DAZ Script | |
---|---|
void | clear () |
void | insertItem ( String text ) |
Boolean | isSelected ( Number index ) |
void | removeItem ( Number index ) |
void | setSelected ( Number index, Boolean selected ) |
String | text ( Number index ) |
void | clicked ( Number index ) |
void | clicked ( Number index, Point pnt ) |
void | contextMenuRequested ( Number index, Point pos ) |
void | currentChanged ( Number index ) |
void | doubleClicked ( Number index ) |
void | highlighted ( String text ) |
void | highlighted ( Number index ) |
void | mouseButtonClicked ( Number button, Number index, Point pos ) |
void | mouseButtonPressed ( Number button, Number index, Point pos ) |
void | onItem ( Number index ) |
void | onViewport () |
void | pressed ( Number index, Point pnt ) |
void | pressed ( Number index ) |
void | returnPressed ( Number index ) |
void | rightButtonClicked ( Number index, Point pnt ) |
void | rightButtonPressed ( Number index, Point pnt ) |
void | selected ( Number index ) |
void | selected ( String text ) |
void | selectionChanged () |
void | selectionChanged ( Number index ) |
TODO: Add detailed description.
The possible layout modes for the columns and rows of the list box
—–
The possible selection modes for the list box
The layout mode for the columns of the list box
The number of items in the list box (read-only)
The index of the currently highlighted item in the list box
The text of the currently highlighted item in the list box
The number of columns in the list box (read-only)
The number of items visible in the list box (read-only)
The number of rows in the list box (read-only)
The layout mode for the rows of the list box
The index of the currently selected item in the list box (in single selection mode only)
The selection mode of the list box
The index of the item at the top of the list box
Whether or not the list box has variable height rows
Whether or not the list box has variable width columns
void : clear()
Clears all items in the list box
void : insertItem( String text )
Inserts the given item into the list box
Boolean : isSelected( Number index )
Return Value:
void : removeItem( Number index )
Removes the given item from the list box
void : setSelected( Number index, Boolean selected )
Sets whether the item at the given index is selected
Return Value:
void : clicked( Number index )
Signature:“clicked(int)”
Emitted when an item is clicked (mouse button pressed and released).
void : clicked( Number index, Point pnt )
Signature:“clicked(int,const QPoint&)”
Emitted when an item is clicked (mouse button pressed and released).
void : contextMenuRequested( Number index, Point pos )
Signature:“contextMenuRequested(int,const QPoint&)”
Emitted when the user right clicks the list box for a context menu.
void : currentChanged( Number index )
Signature:“currentChanged(int)”
Emitted when the current item changes.
void : doubleClicked( Number index )
Signature:“doubleClicked(int)”
Emitted when an item is double clicked.
void : highlighted( String text )
Signature:“highlighted(const QString&)”
Emitted when the highlighted item changes.
void : highlighted( Number index )
Signature:“highlighted(int)”
Emitted when the highlighted item changes.
void : mouseButtonClicked( Number button, Number index, Point pos )
Signature:“mouseButtonClicked(int,int,const QPoint&)”
Emitted when an item is clicked with the a mouse button (mouse button pressed and released).
void : mouseButtonPressed( Number button, Number index, Point pos )
Signature:“mouseButtonPressed(int,int,const QPoint&)”
Emitted when an item is pressed with the a mouse button (mouse button pressed).
Signature:“onItem(int)”
Emitted mouse cursor moves onto an item.
void : onViewport()
Signature:“onViewport()”
Emitted mouse cursor moves from an item to an empty part of the list box.
void : pressed( Number index, Point pnt )
Signature:“pressed(int,const QPoint&)”
Emitted when an item is pressed (mouse button pressed).
void : pressed( Number index )
Signature:“pressed(int)”
Emitted when an item is pressed (mouse button pressed).
void : returnPressed( Number index )
Signature:“returnPressed(int)”
Emitted when return is pressed on the current item.
void : rightButtonClicked( Number index, Point pnt )
Signature:“rightButtonClicked(int,const QPoint&)”
Emitted when an item is clicked with the right button (mouse button pressed and released).
void : rightButtonPressed( Number index, Point pnt )
Signature:“rightButtonPressed(int,const QPoint&)”
Emitted when an item is pressed with the right button (mouse button pressed).
void : selected( Number index )
Signature:“selected(int)”
Emitted when the selected item changes.
void : selected( String text )
Signature:“selected(const QString&)”
Emitted when the selected item changes.
void : selectionChanged()
Signature:“selectionChanged()”
Emitted when the selection in the box changes.
void : selectionChanged( Number index )
Signature:“selectionChanged(int)”
Emitted when a new item is selected in single selection mode.