![]() |
API Documentation
|
A popup for showing a virtual keyboard or keypad. Changes based on the allowed input to a widget. Usually shown in touch mode. More...
#include <Keypad.h>
Public Slots | |
| void | onFocusObjectDeleted () |
| void | requestHideSlot () |
| void | requestPopupSlot () |
Signals | |
| void | requestHideSignal () |
| void | requestPopupSignal () |
Public Member Functions | |
| QWidget * | currentWidget () const |
| QCustomLineEdit * | editor () const |
| void | focusInEvent (QFocusEvent *focus) override |
| bool | isFullKeyboard () const |
| Keypad (QWidget *parent=nullptr) | |
| QWidget * | lastWidget () const |
| QSize | minimumSizeHint () const override |
| void | mousePressEvent (QMouseEvent *event) override |
| void | setCurrentInputHints (Qt::InputMethodHints hints) |
| void | setLineEdit (QLineEdit *line_edit) |
| void | setTextEdit (QTextEdit *line_edit) |
| void | setUpperCase (bool uppercase) |
| QSize | sizeHint () const override |
| void | slideInKeyboard (uint04 value) |
| void | updateCurrentText () |
| void | updateUppercase () |
| ~Keypad () | |
Static Public Member Functions | |
| static Keypad * | DefaultKeypad () |
Static Public Attributes | |
| static ApplicationOption< bool > | use_keypad_in_touch |
Protected Slots | |
| void | updateWindowTitle () |
Protected Member Functions | |
| void | addChar (char value) |
| void | backspace () |
| void | clear () |
| void | complete () |
| void | focusNextWidget () |
| void | focusPreviousWidget () |
| void | setupButton (Button *b) |
| void | setupButton (Button *b, char insert_char, bool add_to_lookup=true) |
| void | unsetCurrent () |
| void | updateFocusGroups () |
Protected Attributes | |
| Dictionary< char, Button * > | m_buttons |
| String | m_current_text |
| Qt::InputMethodHints | m_input_hints |
| bool | m_is_file |
| bool | m_is_folder |
| bool | m_is_full_keyboard |
| QWidget * | m_last_widget |
| QLineEdit * | m_line_edit |
| String | m_original_text |
| QString | m_original_window_title |
| Dictionary< String, Button * > | m_symbols_a |
| Dictionary< String, Button * > | m_symbols_b |
| QTextEdit * | m_text_edit |
| QTimer * | m_visibility_check_timer |
| Ui::KeypadUI * | ui |
A popup for showing a virtual keyboard or keypad. Changes based on the allowed input to a widget. Usually shown in touch mode.
| Keypad | ( | QWidget * | parent = nullptr | ) |
| ~Keypad | ( | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
nodiscard |
|
staticnodiscard |
|
nodiscard |
|
override |
|
protected |
|
protected |
|
inline |
|
nodiscard |
|
override |
|
override |
|
slot |
|
signal |
|
slot |
|
signal |
|
slot |
| void setCurrentInputHints | ( | Qt::InputMethodHints | hints | ) |
| void setLineEdit | ( | QLineEdit * | line_edit | ) |
| void setTextEdit | ( | QTextEdit * | line_edit | ) |
|
protected |
|
protected |
| void setUpperCase | ( | bool | uppercase | ) |
|
override |
| void slideInKeyboard | ( | uint04 | value | ) |
|
protected |
| void updateCurrentText | ( | ) |
|
protected |
| void updateUppercase | ( | ) |
|
protectedslot |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
static |