CopperSpice API  1.7.2
QAccessibleActionInterface Class Referenceabstract

The QAccessibleActionInterface class implements support for invocable actions in the interface. More...

Inheritance diagram for QAccessibleActionInterface:
QAccessibleWidget

Public Methods

virtual ~QAccessibleActionInterface ()
 

Detailed Description

The QAccessibleActionInterface class implements support for invocable actions in the interface. Accessible objects should implement the action interface if they support user interaction. Usually this interface is implemented by classes that also implement QAccessibleInterface.

The supported actions should use the predefined actions offered in this class unless they do not fit a predefined action. In that case a custom action can be added.

When subclassing QAccessibleActionInterface you need to provide a list of actionNames which is the primary means to discover the available actions. Action names are never localized. In order to present actions to the user there are two functions that need to return localized versions of the name and give a description of the action. For the predefined action names use QAccessibleActionInterface::localizedActionName() and QAccessibleActionInterface::localizedActionDescription() to return their localized counterparts.

Note
Additional documentation pending.

Constructor & Destructor Documentation

QAccessibleActionInterface::~QAccessibleActionInterface ( )
virtual

Destroys the QAccessibleActionInterface.