LibreOffice Module vcl (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
QtAccessibleWidget Class Referencefinal

#include <QtAccessibleWidget.hxx>

Inheritance diagram for QtAccessibleWidget:
[legend]
Collaboration diagram for QtAccessibleWidget:
[legend]

Public Member Functions

 QtAccessibleWidget (const css::uno::Reference< css::accessibility::XAccessible > xAccessible, QObject *pObject)
 
void invalidate ()
 
QWindow * window () const override
 
int childCount () const override
 
int indexOfChild (const QAccessibleInterface *child) const override
 
QVector< QPair< QAccessibleInterface *, QAccessible::Relation > > relations (QAccessible::Relation match=QAccessible::AllRelations) const override
 
QAccessibleInterface * focusChild () const override
 
QRect rect () const override
 
QAccessibleInterface * parent () const override
 
QAccessibleInterface * child (int index) const override
 
QString text (QAccessible::Text t) const override
 
QAccessible::Role role () const override
 
QAccessible::State state () const override
 
QColor foregroundColor () const override
 
QColor backgroundColor () const override
 
bool isValid () const override
 
QObject * object () const override
 
void setText (QAccessible::Text t, const QString &text) override
 
QAccessibleInterface * childAt (int x, int y) const override
 
void * interface_cast (QAccessible::InterfaceType t) override
 
QStringList actionNames () const override
 
void doAction (const QString &actionName) override
 
QStringList keyBindingsForAction (const QString &actionName) const override
 
void addSelection (int startOffset, int endOffset) override
 
QString attributes (int offset, int *startOffset, int *endOffset) const override
 
int characterCount () const override
 
QRect characterRect (int offset) const override
 
int cursorPosition () const override
 
int offsetAtPoint (const QPoint &point) const override
 
void removeSelection (int selectionIndex) override
 
void scrollToSubstring (int startIndex, int endIndex) override
 
void selection (int selectionIndex, int *startOffset, int *endOffset) const override
 
int selectionCount () const override
 
void setCursorPosition (int position) override
 
void setSelection (int selectionIndex, int startOffset, int endOffset) override
 
QString text (int startOffset, int endOffset) const override
 
QString textAfterOffset (int offset, QAccessible::TextBoundaryType boundaryType, int *startOffset, int *endOffset) const override
 
QString textAtOffset (int offset, QAccessible::TextBoundaryType boundaryType, int *startOffset, int *endOffset) const override
 
QString textBeforeOffset (int offset, QAccessible::TextBoundaryType boundaryType, int *startOffset, int *endOffset) const override
 
virtual void deleteText (int startOffset, int endOffset) override
 
virtual void insertText (int offset, const QString &text) override
 
virtual void replaceText (int startOffset, int endOffset, const QString &text) override
 
QVariant currentValue () const override
 
QVariant maximumValue () const override
 
QVariant minimumStepSize () const override
 
QVariant minimumValue () const override
 
void setCurrentValue (const QVariant &value) override
 
virtual QAccessibleInterface * caption () const override
 
virtual QAccessibleInterface * cellAt (int row, int column) const override
 
virtual int columnCount () const override
 
virtual QString columnDescription (int column) const override
 
virtual bool isColumnSelected (int column) const override
 
virtual bool isRowSelected (int row) const override
 
virtual void modelChange (QAccessibleTableModelChangeEvent *event) override
 
virtual int rowCount () const override
 
virtual QString rowDescription (int row) const override
 
virtual bool selectColumn (int column) override
 
virtual bool selectRow (int row) override
 
virtual int selectedCellCount () const override
 
virtual QList< QAccessibleInterface * > selectedCells () const override
 
virtual int selectedColumnCount () const override
 
virtual QList< intselectedColumns () const override
 
virtual int selectedRowCount () const override
 
virtual QList< intselectedRows () const override
 
virtual QAccessibleInterface * summary () const override
 
virtual bool unselectColumn (int column) override
 
virtual bool unselectRow (int row) override
 
virtual QList< QAccessibleInterface * > columnHeaderCells () const override
 
virtual int columnIndex () const override
 
virtual bool isSelected () const override
 
virtual int columnExtent () const override
 
virtual QList< QAccessibleInterface * > rowHeaderCells () const override
 
virtual int rowExtent () const override
 
virtual int rowIndex () const override
 
virtual QAccessibleInterface * table () const override
 
virtual int selectedItemCount () const override
 
virtual QList< QAccessibleInterface * > selectedItems () const override
 
virtual QAccessibleInterface * selectedItem (int selectionIndex) const override
 
virtual bool isSelected (QAccessibleInterface *item) const override
 
virtual bool select (QAccessibleInterface *item) override
 
virtual bool unselect (QAccessibleInterface *item) override
 
virtual bool selectAll () override
 
virtual bool clear () override
 

Static Public Member Functions

static QAccessibleInterface * customFactory (const QString &classname, QObject *object)
 

Private Member Functions

css::uno::Reference< css::accessibility::XAccessibleContext > getAccessibleContextImpl () const
 
css::uno::Reference< css::accessibility::XAccessibleTable > getAccessibleTableForParent () const
 
template<class Interface >
bool accessibleProvidesInterface () const
 

Private Attributes

css::uno::Reference< css::accessibility::XAccessible > m_xAccessible
 
QObject * m_pObject
 

Detailed Description

Definition at line 39 of file qt5/QtAccessibleWidget.hxx.

Constructor & Destructor Documentation

◆ QtAccessibleWidget()

QtAccessibleWidget::QtAccessibleWidget ( const css::uno::Reference< css::accessibility::XAccessible >  xAccessible,
QObject *  pObject 
)

Member Function Documentation

◆ accessibleProvidesInterface()

template<class Interface >
bool QtAccessibleWidget::accessibleProvidesInterface ( ) const
inlineprivate

Definition at line 177 of file qt5/QtAccessibleWidget.hxx.

References getAccessibleContextImpl().

◆ actionNames()

QStringList QtAccessibleWidget::actionNames ( ) const
override

◆ addSelection()

void QtAccessibleWidget::addSelection ( int  startOffset,
int  endOffset 
)
override

◆ attributes()

QString QtAccessibleWidget::attributes ( int  offset,
int startOffset,
int endOffset 
) const
override

◆ backgroundColor()

QColor QtAccessibleWidget::backgroundColor ( ) const
override

◆ caption()

virtual QAccessibleInterface * QtAccessibleWidget::caption ( ) const
overridevirtual

◆ cellAt()

virtual QAccessibleInterface * QtAccessibleWidget::cellAt ( int  row,
int  column 
) const
overridevirtual

◆ characterCount()

int QtAccessibleWidget::characterCount ( ) const
override

◆ characterRect()

QRect QtAccessibleWidget::characterRect ( int  offset) const
override

◆ child()

QAccessibleInterface * QtAccessibleWidget::child ( int  index) const
override

◆ childAt()

QAccessibleInterface * QtAccessibleWidget::childAt ( int  x,
int  y 
) const
override

◆ childCount()

int QtAccessibleWidget::childCount ( ) const
override

◆ clear()

virtual bool QtAccessibleWidget::clear ( )
overridevirtual

◆ columnCount()

virtual int QtAccessibleWidget::columnCount ( ) const
overridevirtual

◆ columnDescription()

virtual QString QtAccessibleWidget::columnDescription ( int  column) const
overridevirtual

◆ columnExtent()

virtual int QtAccessibleWidget::columnExtent ( ) const
overridevirtual

◆ columnHeaderCells()

virtual QList< QAccessibleInterface * > QtAccessibleWidget::columnHeaderCells ( ) const
overridevirtual

◆ columnIndex()

virtual int QtAccessibleWidget::columnIndex ( ) const
overridevirtual

◆ currentValue()

QVariant QtAccessibleWidget::currentValue ( ) const
override

◆ cursorPosition()

int QtAccessibleWidget::cursorPosition ( ) const
override

◆ customFactory()

static QAccessibleInterface * QtAccessibleWidget::customFactory ( const QString &  classname,
QObject *  object 
)
static

◆ deleteText()

virtual void QtAccessibleWidget::deleteText ( int  startOffset,
int  endOffset 
)
overridevirtual

◆ doAction()

void QtAccessibleWidget::doAction ( const QString &  actionName)
override

◆ focusChild()

QAccessibleInterface * QtAccessibleWidget::focusChild ( ) const
override

◆ foregroundColor()

QColor QtAccessibleWidget::foregroundColor ( ) const
override

◆ getAccessibleContextImpl()

css::uno::Reference< css::accessibility::XAccessibleContext > QtAccessibleWidget::getAccessibleContextImpl ( ) const
private

◆ getAccessibleTableForParent()

css::uno::Reference< css::accessibility::XAccessibleTable > QtAccessibleWidget::getAccessibleTableForParent ( ) const
private

◆ indexOfChild()

int QtAccessibleWidget::indexOfChild ( const QAccessibleInterface *  child) const
override

◆ insertText()

virtual void QtAccessibleWidget::insertText ( int  offset,
const QString &  text 
)
overridevirtual

◆ interface_cast()

void * QtAccessibleWidget::interface_cast ( QAccessible::InterfaceType  t)
override

◆ invalidate()

void QtAccessibleWidget::invalidate ( )

◆ isColumnSelected()

virtual bool QtAccessibleWidget::isColumnSelected ( int  column) const
overridevirtual

◆ isRowSelected()

virtual bool QtAccessibleWidget::isRowSelected ( int  row) const
overridevirtual

◆ isSelected() [1/2]

virtual bool QtAccessibleWidget::isSelected ( ) const
overridevirtual

◆ isSelected() [2/2]

virtual bool QtAccessibleWidget::isSelected ( QAccessibleInterface *  item) const
overridevirtual

◆ isValid()

bool QtAccessibleWidget::isValid ( ) const
override

◆ keyBindingsForAction()

QStringList QtAccessibleWidget::keyBindingsForAction ( const QString &  actionName) const
override

◆ maximumValue()

QVariant QtAccessibleWidget::maximumValue ( ) const
override

◆ minimumStepSize()

QVariant QtAccessibleWidget::minimumStepSize ( ) const
override

◆ minimumValue()

QVariant QtAccessibleWidget::minimumValue ( ) const
override

◆ modelChange()

virtual void QtAccessibleWidget::modelChange ( QAccessibleTableModelChangeEvent *  event)
overridevirtual

◆ object()

QObject * QtAccessibleWidget::object ( ) const
override

◆ offsetAtPoint()

int QtAccessibleWidget::offsetAtPoint ( const QPoint &  point) const
override

◆ parent()

QAccessibleInterface * QtAccessibleWidget::parent ( ) const
override

◆ rect()

QRect QtAccessibleWidget::rect ( ) const
override

◆ relations()

QVector< QPair< QAccessibleInterface *, QAccessible::Relation > > QtAccessibleWidget::relations ( QAccessible::Relation  match = QAccessible::AllRelations) const
override

◆ removeSelection()

void QtAccessibleWidget::removeSelection ( int  selectionIndex)
override

◆ replaceText()

virtual void QtAccessibleWidget::replaceText ( int  startOffset,
int  endOffset,
const QString &  text 
)
overridevirtual

◆ role()

QAccessible::Role QtAccessibleWidget::role ( ) const
override

◆ rowCount()

virtual int QtAccessibleWidget::rowCount ( ) const
overridevirtual

◆ rowDescription()

virtual QString QtAccessibleWidget::rowDescription ( int  row) const
overridevirtual

◆ rowExtent()

virtual int QtAccessibleWidget::rowExtent ( ) const
overridevirtual

◆ rowHeaderCells()

virtual QList< QAccessibleInterface * > QtAccessibleWidget::rowHeaderCells ( ) const
overridevirtual

◆ rowIndex()

virtual int QtAccessibleWidget::rowIndex ( ) const
overridevirtual

◆ scrollToSubstring()

void QtAccessibleWidget::scrollToSubstring ( int  startIndex,
int  endIndex 
)
override

◆ select()

virtual bool QtAccessibleWidget::select ( QAccessibleInterface *  item)
overridevirtual

◆ selectAll()

virtual bool QtAccessibleWidget::selectAll ( )
overridevirtual

◆ selectColumn()

virtual bool QtAccessibleWidget::selectColumn ( int  column)
overridevirtual

◆ selectedCellCount()

virtual int QtAccessibleWidget::selectedCellCount ( ) const
overridevirtual

◆ selectedCells()

virtual QList< QAccessibleInterface * > QtAccessibleWidget::selectedCells ( ) const
overridevirtual

◆ selectedColumnCount()

virtual int QtAccessibleWidget::selectedColumnCount ( ) const
overridevirtual

◆ selectedColumns()

virtual QList< int > QtAccessibleWidget::selectedColumns ( ) const
overridevirtual

◆ selectedItem()

virtual QAccessibleInterface * QtAccessibleWidget::selectedItem ( int  selectionIndex) const
overridevirtual

◆ selectedItemCount()

virtual int QtAccessibleWidget::selectedItemCount ( ) const
overridevirtual

◆ selectedItems()

virtual QList< QAccessibleInterface * > QtAccessibleWidget::selectedItems ( ) const
overridevirtual

◆ selectedRowCount()

virtual int QtAccessibleWidget::selectedRowCount ( ) const
overridevirtual

◆ selectedRows()

virtual QList< int > QtAccessibleWidget::selectedRows ( ) const
overridevirtual

◆ selection()

void QtAccessibleWidget::selection ( int  selectionIndex,
int startOffset,
int endOffset 
) const
override

◆ selectionCount()

int QtAccessibleWidget::selectionCount ( ) const
override

◆ selectRow()

virtual bool QtAccessibleWidget::selectRow ( int  row)
overridevirtual

◆ setCurrentValue()

void QtAccessibleWidget::setCurrentValue ( const QVariant &  value)
override

◆ setCursorPosition()

void QtAccessibleWidget::setCursorPosition ( int  position)
override

◆ setSelection()

void QtAccessibleWidget::setSelection ( int  selectionIndex,
int  startOffset,
int  endOffset 
)
override

◆ setText()

void QtAccessibleWidget::setText ( QAccessible::Text  t,
const QString &  text 
)
override

◆ state()

QAccessible::State QtAccessibleWidget::state ( ) const
override

◆ summary()

virtual QAccessibleInterface * QtAccessibleWidget::summary ( ) const
overridevirtual

◆ table()

virtual QAccessibleInterface * QtAccessibleWidget::table ( ) const
overridevirtual

◆ text() [1/2]

QString QtAccessibleWidget::text ( int  startOffset,
int  endOffset 
) const
override

◆ text() [2/2]

QString QtAccessibleWidget::text ( QAccessible::Text  t) const
override

◆ textAfterOffset()

QString QtAccessibleWidget::textAfterOffset ( int  offset,
QAccessible::TextBoundaryType  boundaryType,
int startOffset,
int endOffset 
) const
override

◆ textAtOffset()

QString QtAccessibleWidget::textAtOffset ( int  offset,
QAccessible::TextBoundaryType  boundaryType,
int startOffset,
int endOffset 
) const
override

◆ textBeforeOffset()

QString QtAccessibleWidget::textBeforeOffset ( int  offset,
QAccessible::TextBoundaryType  boundaryType,
int startOffset,
int endOffset 
) const
override

◆ unselect()

virtual bool QtAccessibleWidget::unselect ( QAccessibleInterface *  item)
overridevirtual

◆ unselectColumn()

virtual bool QtAccessibleWidget::unselectColumn ( int  column)
overridevirtual

◆ unselectRow()

virtual bool QtAccessibleWidget::unselectRow ( int  row)
overridevirtual

◆ window()

QWindow * QtAccessibleWidget::window ( ) const
override

Member Data Documentation

◆ m_pObject

QObject* QtAccessibleWidget::m_pObject
private

Definition at line 185 of file qt5/QtAccessibleWidget.hxx.

◆ m_xAccessible

css::uno::Reference<css::accessibility::XAccessible> QtAccessibleWidget::m_xAccessible
private

Definition at line 173 of file qt5/QtAccessibleWidget.hxx.


The documentation for this class was generated from the following file: