Documents > BPS V2 C++ API
BpsNumericKeyboardButton Class Reference

A checkable push button to show or hide the numeric keyboard. More...

#include <bpskeyboardcontrols.h>

List of all members.

Public Member Functions

 BpsNumericKeyboardButton (QWidget *aWidget, QWidget *aParent=0)
void setAlphaButton (BpsAlphaKeyboardButton *aButton)
 Set the associated alphanumeric keyboard button.

Detailed Description

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.


Constructor & Destructor Documentation

BpsNumericKeyboardButton::BpsNumericKeyboardButton ( QWidget *  aWidget,
QWidget *  aParent = 0 
)
Parameters:
[in]aWidgetThe widget to show the keyboard for.
[in]aParentThe parent widget.

Member Function Documentation

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.

Parameters:
[in]aButtonThe associated keyboard button.

The documentation for this class was generated from the following file: