Line 81... |
Line 81... |
81 |
void sigKeyboard(const std::string& init, const std::string& prompt, bool priv);
|
81 |
void sigKeyboard(const std::string& init, const std::string& prompt, bool priv);
|
82 |
void sigKeypad(const std::string& init, const std::string& prompt, bool priv);
|
82 |
void sigKeypad(const std::string& init, const std::string& prompt, bool priv);
|
83 |
void sigResetKeyboard();
|
83 |
void sigResetKeyboard();
|
84 |
void sigShowSetup();
|
84 |
void sigShowSetup();
|
85 |
void sigPlaySound(const std::string& file);
|
85 |
void sigPlaySound(const std::string& file);
|
- |
|
86 |
void sigSendVirtualKeys(const std::string& str);
|
86 |
|
87 |
|
87 |
protected:
|
88 |
protected:
|
88 |
bool event(QEvent *event) override;
|
89 |
bool event(QEvent *event) override;
|
89 |
void closeEvent(QCloseEvent *event) override;
|
90 |
void closeEvent(QCloseEvent *event) override;
|
90 |
void mousePressEvent(QMouseEvent* event) override;
|
91 |
void mousePressEvent(QMouseEvent* event) override;
|
Line 107... |
Line 108... |
107 |
void dropButton(ulong handle);
|
108 |
void dropButton(ulong handle);
|
108 |
void playVideo(ulong handle, ulong parent, int left, int top, int width, int height, const std::string& url, const std::string& user, const std::string& pw);
|
109 |
void playVideo(ulong handle, ulong parent, int left, int top, int width, int height, const std::string& url, const std::string& user, const std::string& pw);
|
109 |
void inputText(Button::TButton *button, QByteArray buffer, int width, int height, size_t pixline);
|
110 |
void inputText(Button::TButton *button, QByteArray buffer, int width, int height, size_t pixline);
|
110 |
void showKeyboard(const std::string& init, const std::string& prompt, bool priv);
|
111 |
void showKeyboard(const std::string& init, const std::string& prompt, bool priv);
|
111 |
void showKeypad(const std::string& init, const std::string& prompt, bool priv);
|
112 |
void showKeypad(const std::string& init, const std::string& prompt, bool priv);
|
- |
|
113 |
void sendVirtualKeys(const std::string& str);
|
112 |
void resetKeyboard();
|
114 |
void resetKeyboard();
|
113 |
void showSetup();
|
115 |
void showSetup();
|
114 |
void playSound(const std::string& file);
|
116 |
void playSound(const std::string& file);
|
115 |
void appStateChanged(Qt::ApplicationState state);
|
117 |
void appStateChanged(Qt::ApplicationState state);
|
116 |
void arrowLeft();
|
118 |
void arrowLeft();
|
Line 152... |
Line 154... |
152 |
void _showSetup();
|
154 |
void _showSetup();
|
153 |
void _resetSurface();
|
155 |
void _resetSurface();
|
154 |
void _shutdown();
|
156 |
void _shutdown();
|
155 |
void _playSound(const std::string& file);
|
157 |
void _playSound(const std::string& file);
|
156 |
void _setOrientation(J_ORIENTATION ori);
|
158 |
void _setOrientation(J_ORIENTATION ori);
|
- |
|
159 |
void _sendVirtualKeys(const std::string& str);
|
157 |
#ifdef __ANDROID__
|
160 |
#ifdef __ANDROID__
|
158 |
void _signalState(Qt::ApplicationState state);
|
161 |
void _signalState(Qt::ApplicationState state);
|
159 |
#endif
|
162 |
#endif
|
160 |
void doReleaseButton();
|
163 |
void doReleaseButton();
|
161 |
|
164 |
|