Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions

QAccessibleListBox Class Reference

The QAccessibleListBox class implements the QAccessibleInterface for list boxes. More...

#include <QAccessibleListBox>

Inherits QAccessibleWidget.

Public Functions

Static Public Members

Protected Functions


Detailed Description

The QAccessibleListBox class implements the QAccessibleInterface for list boxes.


Member Function Documentation

QAccessibleListBox::QAccessibleListBox ( QWidget * widget )

Constructs a QAccessibleListBox object for a widget.

void QAccessibleListBox::clearSelection ()

Sets all the items in the list box to be unselected.

See also setSelected() and selection().

QListBox * QAccessibleListBox::listBox () const   [protected]

Returns the list box.

QVector<int> QAccessibleListBox::selection () const

Returns a (possibly empty) list of indexes of the items selected in the list box.

See also setSelected() and clearSelection().

bool QAccessibleListBox::setSelected ( int child, bool on, bool extend )

Selects the item with index child if on is true; otherwise unselects it. If extend is true and the selection mode is not Single and there is an existing selection, the selection is extended to include all the items from the existing selection up to and including the item with index child. Returns true if a selection was made or extended; otherwise returns false.

See also selection() and clearSelection().


Copyright © 2004 Trolltech. Trademarks
Qt 4.0.0-tp2