Eneboo - Documentación para desarrolladores
|
The QAccessibleListView class implements the QAccessibleInterface for list views. Más...
#include <qaccessiblewidget.h>
Métodos públicos | |
QAccessibleListView (QObject *o) | |
int | itemAt (int x, int y) const |
QRect | itemRect (int item) const |
int | itemCount () const |
QString | text (Text t, int control) const |
Role | role (int control) const |
State | state (int control) const |
bool | setFocus (int control) |
bool | setSelected (int control, bool on, bool extend) |
void | clearSelection () |
QMemArray< int > | selection () const |
Métodos protegidos | |
QListView * | listView () const |
The QAccessibleListView class implements the QAccessibleInterface for list views.
QAccessibleListView::QAccessibleListView | ( | QObject * | o | ) |
Constructs a QAccessibleListView object for o.
void QAccessibleListView::clearSelection | ( | ) |
Reimplementado de QAccessibleWidget.
Reimplementado de QAccessibleScrollView.
int QAccessibleListView::itemCount | ( | ) | const [virtual] |
Reimplementado de QAccessibleScrollView.
Reimplementado de QAccessibleScrollView.
QListView * QAccessibleListView::listView | ( | ) | const [protected] |
Returns the list view.
QAccessible::Role QAccessibleListView::role | ( | int | control | ) | const |
Reimplementado de QAccessibleWidget.
Reimplementado de QAccessibleWidget.
QAccessibleInterface *QAccessibleListView::focusChild( int *control ) const { QListViewItem *item = listView()->currentItem(); if ( !item ) return 0;
QListViewItemIterator it( listView() ); int c = 1; while ( it.current() ) { if ( it.current() == item ) { control = c; return (QAccessibleInterface*)this; } ++c; ++it; } return 0; }
Reimplementado de QAccessibleWidget.
Reimplementado de QAccessibleWidget.
QAccessible::State QAccessibleListView::state | ( | int | control | ) | const |
Reimplementado de QAccessibleWidget.
Reimplementado de QAccessibleScrollView.