applets/swkbd: Add callback support
This commit is contained in:
@@ -48,10 +48,12 @@ class QtKeyboard final : public QObject, public Frontend::SoftwareKeyboard {
|
||||
|
||||
public:
|
||||
explicit QtKeyboard(QWidget& parent);
|
||||
void Setup(const Frontend::KeyboardConfig& config) override;
|
||||
void Execute(const Frontend::KeyboardConfig& config) override;
|
||||
void ShowError(const std::string& error) override;
|
||||
|
||||
private:
|
||||
Q_INVOKABLE void OpenInputDialog();
|
||||
Q_INVOKABLE void ShowErrorDialog(QString message);
|
||||
|
||||
/// Index of the buttons
|
||||
u8 ok_id;
|
||||
|
||||
Reference in New Issue
Block a user