Interface representing the virtual keyboard used for configuring it and requesting it to be displayed in PolyScope.
More...
#include <keyboard_text_input.h>
Interface representing the virtual keyboard used for configuring it and requesting it to be displayed in PolyScope.
Definition at line 21 of file keyboard_text_input.h.
virtual arcs::aubo_scope::KeyboardTextInput::~KeyboardTextInput |
( |
| ) |
|
|
virtual |
arcs::aubo_scope::KeyboardTextInput::KeyboardTextInput |
( |
| ) |
|
|
private |
void arcs::aubo_scope::KeyboardTextInput::setErrorValidator |
( |
const std::shared_ptr< InputValidator< std::string >> & |
validator | ) |
|
virtual void arcs::aubo_scope::KeyboardTextInput::setInitialValue |
( |
const std::string & |
initialText | ) |
|
|
virtual |
Sets the text which will be displayed when the virtual keyboard is shown.
- Parameters
-
initialText | the initial text for the virtual keyboard. |
- Returns
- this KeyboardTextInput object.
void arcs::aubo_scope::KeyboardTextInput::show |
( |
QWidget * |
component, |
|
|
const std::function< void(bool, const std::string &)> & |
callback |
|
) |
| |
This method requests the virtual standard 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::KeyboardTextInput::d_ { nullptr } |
|
private |
The documentation for this class was generated from the following file: