hlp:荆州版本

This commit is contained in:
kite_lucs
2026-10-19 17:03:47 +08:00
parent e533ea8e0b
commit 065b146998
438 changed files with 163143 additions and 185387 deletions
+57 -57
View File
@@ -1,57 +1,57 @@
/*
* 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>
//#include "myinclude.h"
class MyInputMethod:public QObject//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();
#ifdef EnableArabic
void getArabicPage(int page);
void getEnglishOrAarbic(bool flag);
#endif
static void sendEvent(int key,Qt::KeyboardModifiers modifiers);
private slots:
void switchBangalInput(bool);
#ifdef EnableArabic
public slots:
void getArabicFlag(bool);
void switchArabicFlag(bool flag);
signals:
void selectArabicPage(int);
void switchEnglishOrArabic(bool);
#endif
private:
InputMethod *inputMethod;
DigitalInput *digitalInput;
};
#endif /* MYINPUTMETHOD_H_ */
/*
* 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>
//#include "myinclude.h"
class MyInputMethod:public QObject//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();
#ifdef EnableArabic
void getArabicPage(int page);
void getEnglishOrAarbic(bool flag);
#endif
static void sendEvent(int key,Qt::KeyboardModifiers modifiers);
private slots:
void switchBangalInput(bool);
#ifdef EnableArabic
public slots:
void getArabicFlag(bool);
void switchArabicFlag(bool flag);
signals:
void selectArabicPage(int);
void switchEnglishOrArabic(bool);
#endif
private:
InputMethod *inputMethod;
DigitalInput *digitalInput;
};
#endif /* MYINPUTMETHOD_H_ */