A checkable push button to show or hide the numeric keyboard. More...
#include <bpskeyboardcontrols.h>
Public Member Functions | |
| BpsNumericKeyboardButton (QWidget *aWidget, QWidget *aParent=0) | |
| void | setAlphaButton (BpsAlphaKeyboardButton *aButton) |
| Set the associated alphanumeric keyboard button. | |
A checkable push button to show or hide the numeric keyboard.
A button of type BpsAlphaKeyboardButton can be linked by setAlphaButton() 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.
| BpsNumericKeyboardButton::BpsNumericKeyboardButton | ( | QWidget * | aWidget, |
| QWidget * | aParent = 0 |
||
| ) |
| [in] | aWidget | The widget to show the keyboard for. |
| [in] | aParent | The parent widget. |
| void BpsNumericKeyboardButton::setAlphaButton | ( | BpsAlphaKeyboardButton * | aButton | ) |
Set the associated alphanumeric keyboard button.
It is sufficient to set the associated button only on one of the two buttons, the back link is created automatically.
| [in] | aButton | The associated keyboard button. |