Interface representing the virtual keyboard used for configuring it and requesting it to be displayed in PolyScope.
More...
#include <keyboard_expression_input.h>
Interface representing the virtual keyboard used for configuring it and requesting it to be displayed in PolyScope.
Definition at line 23 of file keyboard_expression_input.h.
virtual arcs::aubo_scope::KeyboardExpressionInput::~KeyboardExpressionInput |
( |
| ) |
|
|
virtual |
arcs::aubo_scope::KeyboardExpressionInput::KeyboardExpressionInput |
( |
| ) |
|
|
private |
void arcs::aubo_scope::KeyboardExpressionInput::setErrorValidator |
( |
const std::shared_ptr< InputValidator< ExpressionPtr >> & |
validator | ) |
|
void arcs::aubo_scope::KeyboardExpressionInput::setInitialValue |
( |
const ExpressionPtr & |
initialExpression | ) |
|
Sets the text which will be displayed when the virtual keyboard is shown.
- Parameters
-
initialExpression | the initial text for the virtual keyboard. |
- Returns
- this KeyboardTextInput object.
void arcs::aubo_scope::KeyboardExpressionInput::show |
( |
QWidget * |
component, |
|
|
const std::function< void(bool, const ExpressionPtr &)> & |
callback |
|
) |
| |
This method requests the virtual keyboard to be shown.
- Parameters
-
component | the JTextField that will be used to define the screen position of the virtual keyboard. The component must be visible on the screen at the time of showing the keypad. |
callback | the callback to be used when the user exits the keyboard by accepting or canceling the input. |
- Exceptions
-
NullPointerException | in case any parameter is null . |
void* arcs::aubo_scope::KeyboardExpressionInput::d_ { nullptr } |
|
private |
The documentation for this class was generated from the following file: