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