InputMethods Class Reference
|
Constant | Value | Description |
---|---|---|
InputMethods::Any | 0 | The input method can process both mouse and keypad input |
InputMethods::Mouse | 1 | The input method processes mouse or pointer input. |
InputMethods::Keypad | 2 | The input method processes keypad input. |
This enum defines values that input method menu items can return to activate system actions based for these menu items.
Constant | Value | Description |
---|---|---|
InputMethods::NextInputMethod | -2 | This value results in the input method being changed to the next input method in alphabetic order. |
InputMethods::ChangeInputMethod | -3 | This value causes the input method selection menu to be shown, and to recieve keyboard focus, facilitating changing input methods with the keyboard. |
Create a new InputMethods object with parent and flags that handles input according to t.
Unloads all input methods.
Checks whether the activated menu item belonged to the server, and either responds or passes the information on to the current input method appropriately.
Server menu items typically have values less than 0, so v is generally passed to the current input method if it is greater than or equal to 0.
See also QtopiaInputMethod::menuActionActivated().
Activate the input method selector choice pop-up (a menu of available input methods), and give it keyboard focus.
Returns the name of the current input method, or an empty QString if there is no current input method.
See also QtopiaInputMethod::name().
Deactivates and hides the current input method.
Sets the input hint for the current input method for widget wid. h is the hint for the input method, according to QtopiaApplication::InputMethodHint. The password flag sets password mode, indicating that input should be hidden after being entered, and defaults to false. This value is recorded for when this widget gains focus in the future, and if wid refers to the last active widget, the hint is forwarded to the current input method immediately.
This is an overloaded member function, provided for convenience.
Sets the input hint for widget wid, according to the hint h. This information is recorded for this widget should it gain focus, and if wid refers to the last active window, the hint is immediately forwarded to the current input method.
Sets the password hint for wid to passwordFlag, provided an input hint has previously been set for that widget. If no hint has been set for that widget previously, this function does nothing.
See also inputMethodHint().
Returns the geometry of the current input methods input widget, or an empty QRect if there is no current input method, or no input widget for the current input method.
Connect to this signal to recieve notifications of changes in the state of input methods. on describes whether the input methods have just turned on (true), or off (false).
Creates a QPluginManager for input methods to load input method plugins out of the plugins/inputmethods directory.
If InputMethods already has a QPluginManager, this function does nothing.
Returns true if the input method selector is visible, false otherwise. This indicates the visibility of the widget used to change input methods, not the drop-down menu itself. In Qtopia, this widget is only visible if at least 2 input methods have been loaded, and the widget with focus accepts text input.
See also InputMethodSelector::isVisible() and InputMethodSelector::count().
Cycle to the next input method.
Set system-wide description for allowable inputmethods to the given type. Note: Triggers a reloading of all inputmethod plugins
Selects the the input method named name, if it exists, and activates and shows it. If the named input method does not exist, this function activates the current input method.
This is an overloaded member function, provided for convenience.
Shows and activates the current input method.
Returns true if the current input method is active and visible, otherwise returns false.
Clears the current input method, and clears and destroys all previously loaded input methods. Called from InputMethods destructor.
Connect to this signal to receive notification of changes in the visibility of input methods. This is synonymous with activation, input methods do not need to have an input widget to be visible in this sense. visible is true if the input method is becoming visible/activating, false if it becoming invisible/deactivating.
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 qtextended4.4 | |
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