Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The InputMethodSelector class Provides the user-visible aspects of the Input Method system. More...
#include <InputMethodSelector>
Inherits QWidget.
The InputMethodSelector class Provides the user-visible aspects of the Input Method system.
The InputMethodSelector owns the button used to toggle the current input method and to show the current input methods state when the current input method supports those functions. It also provides the list of input methods, and the button to support them.
These features are provided by a QWidget which is positioned by the theme, usually in the title bar at the top of the screen. See Theming - Known Elements for more detail.
The Input method selector also controls showing and hiding the current input method, and switching between the available input methods, although this functionality is accessible through the main InputMethods class as well.
Finally, the InputMethodSelector manipulates the value space on behalf of the current input method to facilitate entries in the QMenu for the QSoftMenuBar for the current input method.
See also InputMethods and Theming - Known Elements.
Constructs a new InputMethodSelector widget with parent.
Destroys and cleans up this InputMethodSelector
Turns the current input method on if on is true, or off if it is false.
This signal is emitted to notify the InputMethods object that im should be activated.
Add im to this InputMethodSelector.
If this is the first or the default input method, this will cause it to become the current input method and become active.
If this is the second input method added, this will activate the drop-down input-method selection QToolButton, making the input methods available to users via the drop-down input method list.
Subsequent input methods added with this function are also added to this list.
Deactivates and hides the current input method, and then sets no current input method.
Returns the number of input methods that have been added to the InputMethodSelector.
Returns a pointer to the current input method.
This signal is emitted when the visible state of the inputWidget is toggled. shown reflects the new state of the widget, true if the widget is being shown, false if it is being hidden.
If actions have been added to the softmenu on behalf of an IM, make sure they are up to date.
See also QtopiaInputMethod::stateChanged().
Set hint for all input methods. If restricted is true the input method is restricted to the specified mode.
Selects the input method named name if it exists.
This is an overloaded member function, provided for convenience.
Set the current input method to method and activate it.
See also activated().
Cycle to the next input method.
Shows the input method selector choice button if on is true, otherwise hides it.
Shows the list of input methods modally, relative to the choice QToolButton, and activates the selected input method, if any.
Sorts the loaded input methods alphabetically by name.
A helper function for supporting input method menu QActions. Removes the current IM's QAction from all menus. If addToMenu is true, adds the QAction to the current focus widgets Menu.
Copyright © 2009 Trolltech | Trademarks | Qt Extended 4.4.3 |