A checkable action to show or hide the alphanumeric keyboard. More...
#include <bpskeyboardcontrols.h>
Public Types | |
| enum | { NoKeyboardShown, AlphaKeyboardShown, NumericKeyboardShown } |
| Keyboard display status values. More... | |
Public Member Functions | |
| BpsAlphaKeyboardAction (QWidget *aWidget, QObject *aParent=0) | |
| void | setNumericAction (BpsNumericKeyboardAction *aAction) |
| Set the associated numeric keyboard action. | |
| void | setStatus (int aStatus) |
| Set the keyboard show status. | |
| int | status () const |
A checkable action to show or hide the alphanumeric keyboard.
A action of type BpsAlphaKeyboardAction can be linked by setNumericAction() to get mutual exclusive virtual keyboards, e.g. if on of the actions is checked the other gets unchecked automatically. This control mandatory requires the application to be of type BpsApplication.
| anonymous enum |
| BpsAlphaKeyboardAction::BpsAlphaKeyboardAction | ( | QWidget * | aWidget, |
| QObject * | aParent = 0 |
||
| ) |
| [in] | aWidget | The widget to show the keyboard for. |
| [in] | aParent | The parent object. |
| void BpsAlphaKeyboardAction::setNumericAction | ( | BpsNumericKeyboardAction * | aAction | ) |
Set the associated numeric keyboard action.
It is sufficient to set the associated button only on one of the two buttons, the back link is created automatically.
| [in] | aAction | The associated numeric keyboard action. |
| void BpsAlphaKeyboardAction::setStatus | ( | int | aStatus | ) |
Set the keyboard show status.
Checks or unchecks the actions and hides/shows the keyboard.
| [in] | aStatus | The new status to set. |
| int BpsAlphaKeyboardAction::status | ( | ) | const |