IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

QAccessibleTextRemoveEvent Class

The QAccessibleTextRemoveEvent class notifies of text being deleted.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

QAccessibleTextRemoveEvent Class

  • Header: QAccessibleTextRemoveEvent

  • CMake:

    find_package(Qt6 REQUIRED COMPONENTS Gui)

    target_link_libraries(mytarget PRIVATE Qt6::Gui)

  • qmake: QT += gui

  • Inherits: QAccessibleTextCursorEvent

  • Group: QAccessibleTextRemoveEvent is part of accessibility

Detailed Description

This class is used with QAccessible::updateAccessibility().

Member Function Documentation

 

QAccessibleTextRemoveEvent::QAccessibleTextRemoveEvent(QObject *object, int position, const QString &text)

Constructs a new QAccessibleTextRemoveEvent event for object. The text has been removed at position. By default it is assumed that the cursor has moved to position. If that is not the case, one needs to manually set it with QAccessibleTextCursorEvent::setCursorPosition() for this event.

QAccessibleTextRemoveEvent::QAccessibleTextRemoveEvent(QAccessibleInterface *iface, int position, const QString &text)

Constructs a new QAccessibleTextRemoveEvent event for iface. The text has been removed at position. By default it is assumed that the cursor has moved to position. If that is not the case, one needs to manually set it with QAccessibleTextCursorEvent::setCursorPosition() for this event.

int QAccessibleTextRemoveEvent::changePosition() const

Returns the position where the text was removed.

QString QAccessibleTextRemoveEvent::textRemoved() const

Returns the text that has been removed.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+