hlp:640x480-小屏vx4齿轮泵代码提交
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* MyInputMethod.h
|
||||
*
|
||||
* Created on: Jun 23, 2013
|
||||
* Author: yiyu
|
||||
* QQ:1036184468
|
||||
* Descriptoin:
|
||||
|
||||
*/
|
||||
|
||||
#ifndef MYINPUTMETHOD_H_
|
||||
#define MYINPUTMETHOD_H_
|
||||
|
||||
#include "InputMethod.h"
|
||||
#include "DigitalInput.h"
|
||||
|
||||
#ifndef Q_OS_WIN32
|
||||
#include <QWSInputMethod>
|
||||
#include <QWSServer>
|
||||
class MyInputMethod:public QWSInputMethod
|
||||
{
|
||||
Q_OBJECT
|
||||
#else
|
||||
class MyInputMethod
|
||||
{
|
||||
#endif
|
||||
|
||||
public:
|
||||
MyInputMethod(QWidget *parent = 0);
|
||||
~MyInputMethod();
|
||||
|
||||
void updateHandler ( int type );
|
||||
void sendString(QString &str);
|
||||
void SetInputFile(QString filename="WINPY_utf8.txt");
|
||||
InputMethod* getInputMethod();
|
||||
private slots:
|
||||
|
||||
|
||||
private:
|
||||
InputMethod *inputMethod;
|
||||
DigitalInput *digitalInput;
|
||||
};
|
||||
|
||||
#endif /* MYINPUTMETHOD_H_ */
|
||||
Reference in New Issue
Block a user