代码拉取完成,页面将自动刷新
同步操作将从 ybkfss/qt-t9 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
#ifndef SOFTKEYBOARDDLG_H
#define SOFTKEYBOARDDLG_H
#include "fontlib_zh.h"
#include <QDialog>
#include <QButtonGroup>
#include <QLabel>
#include <QDialog>
namespace Ui {
class SoftKeyBoardDlg;
}
class SoftKeyBoardDlg : public QDialog
{
Q_OBJECT
public:
explicit SoftKeyBoardDlg(QWidget *parent = 0);
~SoftKeyBoardDlg();
int startExec(QString* value = 0);
private:
Ui::SoftKeyBoardDlg *ui;
QList<QString> lInputT9Values;
T9PY_IDX* mT9PyChinese[6];
QButtonGroup* mKeyButtonGroup;
QButtonGroup* mPyButtonGroup;
QButtonGroup* mDigitKeyButtonGroup;
QButtonGroup* mCharKeyButtonGroup;
static QString sCurrentResult;
int nResultCounts = 0;
int nCurrentPyIndex = 0;
int nCurrentPage = 0;
int nPagesCount = 0;
int nMBCount = 0;
QString* softKeyValue;
bool bIsEnglishMode = false;
int m_pCurrentCharPage = 1;
private:
void initSpellKeyControl();
void initDigitKeyControl();
void initCharKeyControl();
void clearPyButtonText();
void clearLabelText();
void setPyButtonText(int conut, T9PY_IDX **t9Py);
void changResultPage(int page);
void updateLabelResult();
void release();
static void setLabelResults(QString result) { sCurrentResult = result;}
static QString getLabelResults() { return sCurrentResult;}
void updatePyAndZh();
void setSoftKeyBoardLanguage();
void clearCharButtonText();
void setCharButtonText(int page);
signals:
void closeDialogManual();
private slots:
void onKeyCloseClicked();
void onKeyBaskspaceClicked();
void onPushButtonNull();
void onGoBackClicked();
void onOkClicked();
/** Spell Mode **/
void onKeyButtonClicked(int id);
void onPyButtonClicked(int id);
void onPushButtonFontChang();
/** Digit Mode **/
void onDigitKeyButtonClicked(int id);
/** Char Mode **/
void onCharKeyButtonClicked(int id);
void onPushButtonCharFrontClicked();
void onPushButtonCharNextClicked();
void on_pushButton_char_clicked();
void on_pushButton_digit_clicked();
protected:
bool eventFilter(QObject *obj, QEvent *event);
};
#endif // SOFTKEYBOARDDLG_H
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。