Qt Accessibility Client
accessibleobject.cpp
25AccessibleObject::AccessibleObject(RegistryPrivate *registryPrivate, const QString &service, const QString &path)
35 d = QSharedPointer<AccessibleObjectPrivate>(new AccessibleObjectPrivate(registryPrivate, service, path));
39 d = QSharedPointer<AccessibleObjectPrivate>(new AccessibleObjectPrivate(registryPrivate, service, path));
230QString AccessibleObject::textWithBoundary(int offset, TextBoundary boundary, int *startOffset, int *endOffset) const
539QACCESSIBILITYCLIENT_EXPORT QDebug QAccessibleClient::operator<<(QDebug d, const AccessibleObject &object)
This class represents an accessible object.
Definition accessibleobject.h:42
bool setText(const QString &text)
Set the text of the EditableTextInterface.
Definition accessibleobject.cpp:238
QString stateString() const
Return a string representing states of this object.
Definition accessibleobject.cpp:508
bool isDefault() const
Returns if the AccessibleObject is the default widget (e.g. a button in a dialog)
Definition accessibleobject.cpp:448
bool isSelectable() const
Returns if the AccessibleObject is selectable.
Definition accessibleobject.cpp:488
QString accessibleId() const
Returns the accessible id of this accessible.
Definition accessibleobject.cpp:132
AccessibleObject & operator=(const AccessibleObject &other)
Assignment operator.
Definition accessibleobject.cpp:83
bool isEnabled() const
Returns if the AccessibleObject is currently enabled.
Definition accessibleobject.cpp:458
Interfaces supportedInterfaces() const
Returns List of interfaces supported by the accessible.
Definition accessibleobject.cpp:197
bool isChecked() const
Returns if the AccessibleObject is currently checked.
Definition accessibleobject.cpp:438
bool isDefunct() const
Returns if the AccessibleObject is defunct - that means it does not properly respont to requests and ...
Definition accessibleobject.cpp:443
bool operator==(const AccessibleObject &other) const
Comparison operator.
Definition accessibleobject.cpp:89
AccessibleObject child(int index) const
Returns a specific child at position index.
Definition accessibleobject.cpp:122
bool isVisible() const
Returns if the AccessibleObject is currently visible (it can still be off the screen,...
Definition accessibleobject.cpp:528
bool deleteText(int startPos, int endPos)
Delete the text from the EditableTextInterface.
Definition accessibleobject.cpp:270
bool isSensitive() const
Returns if the AccessibleObject reacts to input events.
Definition accessibleobject.cpp:498
QString textWithBoundary(int offset, TextBoundary boundary, int *startOffset=nullptr, int *endOffset=nullptr) const
Returns the text of the TextInterface by boundary.
Definition accessibleobject.cpp:230
Role role() const
Returns the role as integer value of this accessible.
Definition accessibleobject.cpp:147
QString description() const
Returns the description for this accessible.
Definition accessibleobject.cpp:142
bool isFocusable() const
Returns if the AccessibleObject is focusable.
Definition accessibleobject.cpp:473
bool isExpandable() const
Returns if the AccessibleObject can be expanded to show more information.
Definition accessibleobject.cpp:463
double minimumValue() const
The minimum value allowed by this valuator.
Definition accessibleobject.cpp:351
QRect boundingRect() const
Returns a bounding rectangle for the accessible.
Definition accessibleobject.cpp:177
bool isFocused() const
Returns if the AccessibleObject is currently focused.
Definition accessibleobject.cpp:478
bool isCheckable() const
Returns if the AccessibleObject is checkable (often indicates a check action)
Definition accessibleobject.cpp:423
QList< AccessibleObject > children() const
Returns this accessible's children in a list.
Definition accessibleobject.cpp:99
TextBoundary
The TextBoundaries enum represents the different boundaries when asking for text at a certain offset.
Definition accessibleobject.h:177
QRect characterRect(int offset) const
Returns a bounding rectangle for the character at position offset.
Definition accessibleobject.cpp:187
bool isMultiLine() const
Returns if the AccessibleObject is a multi line text edit.
Definition accessibleobject.cpp:483
int caretOffset() const
Returns the offset of the caret from the beginning of the text.
Definition accessibleobject.cpp:202
QList< AccessibleObject > selection() const
Returns the selection of accessible objects.
Definition accessibleobject.cpp:376
bool isEditable() const
Returns if the AccessibleObject is an editable text.
Definition accessibleobject.cpp:453
double maximumValue() const
The maximum value allowed by this valuator.
Definition accessibleobject.cpp:356
bool supportsAutocompletion() const
Returns if the AccessibleObject supports automatic text completion.
Definition accessibleobject.cpp:533
AccessibleObject application() const
Returns the application object.
Definition accessibleobject.cpp:321
double minimumValueIncrement() const
The smallest incremental change which this valuator allows.
Definition accessibleobject.cpp:361
QString text(int startOffset=0, int endOffset=-1) const
Returns the text of the TextInterface.
Definition accessibleobject.cpp:222
bool insertText(const QString &text, int position=0, int length=-1)
Insert the text into the EditableTextInterface.
Definition accessibleobject.cpp:246
bool isSingleLine() const
Returns if the AccessibleObject is a single line text edit.
Definition accessibleobject.cpp:503
int childCount() const
Returns the number of children for this accessible.
Definition accessibleobject.cpp:117
bool pasteText(int position)
Paste the text from the clipboard into the EditableTextInterface.
Definition accessibleobject.cpp:278
int indexInParent() const
Returns this accessible's index in it's parent's list of children.
Definition accessibleobject.cpp:127
bool copyText(int startPos, int endPos)
Copy the text from the EditableTextInterface into the clipboard.
Definition accessibleobject.cpp:254
QString appLocale(LocaleType lctype=LocaleTypeMessages) const
The application locale.
Definition accessibleobject.cpp:341
void setTextSelections(const QList< QPair< int, int > > &selections)
Set text selections, usually only one selection will be set, use a list containing one QPair with the...
Definition accessibleobject.cpp:294
bool setCurrentValue(const double value)
Set the value of the valuator.
Definition accessibleobject.cpp:371
QString roleName() const
Returns the name of the role of this accessible.
Definition accessibleobject.cpp:152
QString localizedRoleName() const
Returns the name of the role of this accessible.
Definition accessibleobject.cpp:157
Role
The role indicates the type of UI element that an AccessibleObject represents.
Definition accessibleobject.h:87
bool hasToolTip() const
Returns if the AccessibleObject has a tool tip.
Definition accessibleobject.cpp:413
bool hasSelectableText() const
Returns if the AccessibleObject allows text selections.
Definition accessibleobject.cpp:408
bool isExpanded() const
Returns if the AccessibleObject is currently expanded.
Definition accessibleobject.cpp:468
QVector< QSharedPointer< QAction > > actions() const
Returns a list of actions supported by this accessible.
Definition accessibleobject.cpp:396
bool cutText(int startPos, int endPos)
Cut the text from the EditableTextInterface into the clipboard.
Definition accessibleobject.cpp:262
bool isSelected() const
Returns if the AccessibleObject is currently selected.
Definition accessibleobject.cpp:493
QList< QPair< int, int > > textSelections() const
Returns a list of selections the text has.
Definition accessibleobject.cpp:286
QUrl url() const
Returns a QUrl that references the AccessibleObject.
Definition accessibleobject.cpp:64
int layer() const
The ComponentLayer in which this object resides.
Definition accessibleobject.cpp:162
bool isActive() const
Returns if the AccessibleObject is currently active.
Definition accessibleobject.cpp:418
QDebug & nospace()
QDebug & space()
void append(QList< T > &&value)
qsizetype count() const const
qsizetype indexOf(const AT &value, qsizetype from) const const
QPoint center() const const
bool isNull() const const
int x() const const
int y() const const
bool isEmpty() const const
QString join(QChar separator) const const
void setFragment(const QString &fragment, ParsingMode mode)
void setPath(const QString &path, ParsingMode mode)
void setScheme(const QString &scheme)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 27 2024 11:48:51 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 27 2024 11:48:51 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.