QFeedbackHapticsInterface Class ReferenceThe QFeedbackHapticsInterface class is the base class for plugins providing custom haptics effects. More... #include <QFeedbackHapticsInterface> Inherits: QFeedbackInterface. This class was introduced in Qt Mobility 1.1. Public Types
Public Functions
Protected Functions
Additional Inherited Members
Detailed DescriptionThe QFeedbackHapticsInterface class is the base class for plugins providing custom haptics effects. This interface will be used to try to play custom effects with specific duration, intensity, envelope and period. An effect is always played on a specified actuator. Member Type Documentation
|
Constant | Value | Description |
---|---|---|
QFeedbackHapticsInterface::Name | 0 | The actuator name. |
QFeedbackHapticsInterface::State | 1 | The actuator state. |
QFeedbackHapticsInterface::Enabled | 2 | The actuator enabled state. |
This enum describes all effect properties for haptics effects.
Constant | Value | Description |
---|---|---|
QFeedbackHapticsInterface::Duration | 0 | The effect duration (in milliseconds) |
QFeedbackHapticsInterface::Intensity | 1 | The effect intensity |
QFeedbackHapticsInterface::AttackTime | 2 | The effect attack time (in milliseconds) |
QFeedbackHapticsInterface::AttackIntensity | 3 | The effect attack intensity |
QFeedbackHapticsInterface::FadeTime | 4 | The effect fade time (in milliseconds) |
QFeedbackHapticsInterface::FadeIntensity | 5 | The effect fade intensity |
QFeedbackHapticsInterface::Period | 6 | The effect period, this is an optional effect property. |
Returns the value for the property for an actuator.
This function was introduced in Qt Mobility 1.1.
See also setActuatorProperty() and ActuatorProperty.
Return the available actuators provided by this plugin. The ownership of the actuator objects stays with the plugin.
This function was introduced in Qt Mobility 1.1.
Creates an instance of QFeedbackActuator with the identifier id and parent parent. This allows backends to create instances of actuators. It is then up to the each backend to manage the identifiers according to its needs.
This function was introduced in Qt Mobility 1.1.
Get the current state for the effect effect.
This function was introduced in Qt Mobility 1.1.
See also setEffectState().
Returns true if the actuator supports the capability.
This function was introduced in Qt Mobility 1.1.
Returns the priority for the plugin.
This function was introduced in Qt Mobility 1.1.
See also QFeedbackInterface::PluginPriority.
Sets a value for property on the actuator.
This function was introduced in Qt Mobility 1.1.
See also actuatorProperty() and ActuatorProperty.
Sets the state to state for the effect effect. If that fails the backend should report an error by calling reportError and effect will in turn emit an error signal.
This function was introduced in Qt Mobility 1.1.
See also effectState().
Tells the backend that the property has been updated for the supplied effect.
This function was introduced in Qt Mobility 1.1.
Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. | Qt qtmobility-1.2 | |
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD. | ||
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP ! |
Copyright © 2000-2012 - www.developpez.com