资源简介
QT平台的中文输入法,有智能拼音,笔画,手写识别,英文字母,支持全键盘和九宫格(T9)两种模式,界面做得不错,这个版本是windows 下的适合在windows 做测试时用。arm版本要找官方索取。

代码片段和文件信息
#include
#include “login.h“
QLogin::QLogin()
{
managerLabel = new QLabel(tr(“&Manager:“));
managerEdit = new QLineEditWithIM;
managerLabel->setBuddy(managerEdit);
passwdLabel = new QLabel(tr(“&Passwd:“));
passwdEdit = new QTextEditWithIM;
passwdLabel->setBuddy(passwdEdit);
okButton = new QPushButton(tr(“&Login“));
cancelButton = new QPushButton(“&Cancel“);
okButton->setDefault(true);
buttonBox = new QDialogButtonBox;
buttonBox->addButton(okButton QDialogButtonBox::ActionRole);
buttonBox->addButton(cancelButton QDialogButtonBox::AcceptRole);
connect(okButton SIGNAL(clicked()) this SLOT(login()));
connect(cancelButton SIGNAL(clicked()) this SLOT(cancel()));
QHBoxLayout *topLayout = new QHBoxLayout;
topLayout->addWidget(managerLabel);
topLayout->addWidget(managerEdit);
QHBoxLayout *midLayout = new QHBoxLayout;
midLayout->addWidget(passwdLabel);
midLayout->addWidget(passwdEdit);
QVBoxLayout *mainLayout = new QVBoxLayout;
mainLayout->addLayout(topLayout);
mainLayout->addLayout(midLayout);
mainLayout->addWidget(buttonBox);
mainLayout->setMargin(20);
setLayout(mainLayout);
managerEdit->setFocus();
QIcon icon;
icon.addFile(QString::fromUtf8(“:/new/main/picture/logo.png“) QSize() QIcon::Normal QIcon::Off);
setWindowIcon(icon);
setWindowtitle(“Login“);
}
QLogin::~QLogin()
{
//qDebug()<<“login close“;
delete managerLabel;
delete managerEdit;
delete passwdLabel;
delete passwdEdit;
delete okButton;
delete cancelButton;
}
/*
* Name : void login()
* Type : slot
* Func : login when authorize
* In : Null
* Out : Null
*/
void QLogin::login()
{
//qDebug()<text();
//qDebug()<text();
}
/*
* Name : void cancel()
* Type : slot
* Func : cancel login
* In : Null
* Out : Null
*/
void QLogin::cancel()
{
managerEdit->clear();
passwdEdit->clear();
close();
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 3983474 2016-09-06 10:30 windows_x86\libDWInputMethod.a
文件 406 2016-05-19 14:31 windows_x86\ManagerinfoPanel\dwinputmethod.h
文件 2001 2016-05-06 16:10 windows_x86\ManagerinfoPanel\login.cpp
文件 550 2016-05-06 16:10 windows_x86\ManagerinfoPanel\login.h
文件 181 2012-05-29 16:39 windows_x86\ManagerinfoPanel\main.cpp
文件 558 2016-05-04 09:59 windows_x86\ManagerinfoPanel\ManagerinfoPanel.pro
文件 17644 2016-09-06 11:49 windows_x86\ManagerinfoPanel\ManagerinfoPanel.pro.user
文件 2345 2016-08-03 08:34 windows_x86\ManagerinfoPanel\qlineeditwithim.cpp
文件 421 2016-05-09 07:54 windows_x86\ManagerinfoPanel\qlineeditwithim.h
..AD... 0 2016-09-06 11:49 windows_x86\ManagerinfoPanel
文件 437990 2016-09-06 11:48 windows_x86\环境.bmp
文件 152 2016-09-06 11:52 windows_x86\用前必读.txt
目录 0 2016-09-06 11:52 windows_x86
文件 108 2016-09-06 19:50 试用说明.txt
----------- --------- ---------- ----- ----
4445830 14
- 上一篇:北京市的房租出租的数据
- 下一篇:电赛题目2015
相关资源
- 模拟QQ登陆界面,按钮无效自己写
- labview中的DAQ助手采集多个通道电压
- 恒压力供水(DBW-DQ-1.s7p)
- Quartus II 15.0中仿真Altera三速以太网I
- Quartus II 15.0中仿真Altera三速以太网I
-
imx6qSBP的jli
nk初始化脚本 - MoNyog8.5+破解补丁
- 安卓QQ6.71协议源码易语言,qq协议源码
- 全国4级地址库,京东数据
- B/S 网上订餐系统
- 3人表决器 QuartusII
- jQuery ajax实现简单登录验证
- 农场开发项目
- MT4编程 EA模板
- vtk QT做的三维地质可视化系统2of2
- 在高斯白噪声信道下的QPSK编码误码率
- 用VC 编写的仿QQ聊天室程序源代码
- DOS播放器 QuickViewPro破解版
- Qt局域网聊天软件
- Qt Creator opengl实现四元数鼠标控制轨迹
- QT局域网聊天系统(基于QT5.修改过)
- qt-电子点菜系统
-
simuli
nk 课程设计 qpsk - 分治法快速排序算法QuickSort C
- QQCOOKIES状态维护、防掉线
- 硬件课程设计—流水灯(quartus软件
- C 餐厅叫号系统(QT平)
- 曼彻斯特编解码_同步QuartusII工程
- QRMaker.ocx控件
- QT 实现文件下载
评论
共有 条评论