资源简介
基于minigui的触摸屏软键盘设计,用于嵌入式系统设计
代码片段和文件信息
#include
#include
#include
#include
#include
#include
#include
#include
#include
#define ITEM_NUM1 14 /* coolbar */
#define ITEM_NUM2 14 /* coolbar */
#define ITEM_NUM3 12 /* coolbar */
#define ITEM_NUM4 12 /* coolbar */
#define ITEM_NUM5 8 /* coolbar */
#define ITEM_IME1 12 /* coolbar */
#define ITEM_IME2 12 /* coolbar */
#define IDC_PROEDIT 1000 /* ime */
#define IDC_ENTER 1001 /* ime */
#define IDC_NovaSKB1 1002 /* ime */
#define IDC_NovaSKB2 1003 /* ime */
#define IDC_NovaSKB3 1004 /* ime */
#define IDC_NovaSKB4 1005 /* ime */
#define IDC_IME1a 1006 /* ime */
#define IDC_IME1b 1007 /* ime */
#define IDC_IME2 1008 /* ime */
#define IDC_STATUS_BAR 1100
#define HEIGHT_SKB 240 /* 软键盘 */
#define WIDTH_SKB 320 /* 软键盘 */
int editID;
static const char* caption1[] =
{
“ ‘ “ “ 1 “ “ 2 “ “ 3 “ “ 4 “ “ 5 ““ 6 “ “ 7 “ “ 8 “ “ 9 “ “ 0 “ “ - “ “ = “ “ <-“
};
static const char* cap1[] =
{
“‘“ “1“ “2“ “3“ “4“ “5““6“ “7“ “8“ “9“ “0“ “-“ “=“ “<-“
};
static const int SCANCODE1[] =
{
SCANCODE_GRAVE SCANCODE_1 SCANCODE_2 SCANCODE_3 SCANCODE_4
SCANCODE_5 SCANCODE_6 SCANCODE_7 SCANCODE_8 SCANCODE_9
SCANCODE_0 SCANCODE_MINUS SCANCODE_EQUAL SCANCODE_BACKSPACE
};
static const char* caption2[] =
{
“ TAB ““ Q “ “ W “ “ E “ “ R “ “ T ““ Y “ “ U “ “ I “ “ O “ “ P “ “ [ “ “ ] “ “\\ “
};
static const char* cap2[] =
{
“\t““q“ “w“ “e“ “r“ “t““y“ “u“ “i“ “o“ “p“ “[“ “]“ “\\“
};
static const int SCANCODE2[] =
{
SCANCODE_TAB SCANCODE_Q SCANCODE_W SCANCODE_E SCANCODE_R
SCANCODE_T SCANCODE_Y SCANCODE_U SCANCODE_I SCANCODE_O
SCANCODE_P SCANCODE_BRACKET_LEFT SCANCODE_BRACKET_RIGHT SCANCODE_BACKSLASH
};
static const char* caption3[] =
{
“ 大写 “ “ A “ “ S “ “ D “ “ F “ “ G ““ H “ “ J “ “ K “ “ L “ “ ; “ “ ‘ “
};
static const char* cap3[] =
{
“Cap“ “a“ “s“ “d“ “f“ “g““h“ “j“ “k“ “l“ “;“ “‘“
};
static const int SCANCODE3[] =
{
SCANCODE_LEFTSHIFT SCANCODE_A SCANCODE_S SCANCODE_D SCANCODE_F
SCANCODE_G SCANCODE_H SCANCODE_J SCANCODE_K SCANCODE_L
SCANCODE_SEMICOLON SCANCODE_APOSTROPHE
};
static const char* caption4[] =
{
“ Shift ““ Z “ “ X “ “ C “ “ V “ “ B ““ N “ “ M “ “ “ “ . “ “ / “ “ ENTER“
};
static const char* cap4[] =
{
“shift““z“ “x“ “c“ “v“ “b““n“ “m“ ““ “.“ “/“ “ Enter “
};
static const int SCANCODE4[] =
{
SCANCODE_LEFTCONTROL SCANCODE_Z SCANCODE_X SCANCODE_C SCANCODE_V
SCANCODE_B SCANCODE_N SCANCODE_M SCANCODE_COMMA SCANCODE_PERIOD
SCANCODE_SLASH SCANCODE_ENTER
};
static const char* caption5[] =
{
“Del “ “ 英 “ “ 中 “ “ Space “
“ | “ “ | “ “ -> “ “ <- “
};
static const int SCAN
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 679 2009-07-09 08:18 keyboard\res\back-hui.jpeg
文件 1016 2009-07-09 08:18 keyboard\res\back.jpeg
文件 664 2009-07-09 08:18 keyboard\res\for-hui.jpeg
文件 1007 2009-07-09 08:18 keyboard\res\foreward.jpeg
文件 1152 2009-07-09 08:18 keyboard\res\home.jpeg
文件 1182 2009-07-09 08:18 keyboard\res\refresh.jpeg
文件 1014 2009-07-09 08:18 keyboard\res\stop.jpeg
文件 4672 2009-07-09 08:18 keyboard\res\toolbar.jpg
文件 21507 2010-05-05 00:51 keyboard\skb.c
文件 29040 2010-05-06 22:17 keyboard\skb.o
目录 0 2010-05-07 21:10 keyboard\res
目录 0 2010-05-07 21:10 keyboard
----------- --------- ---------- ----- ----
61933 12
相关资源
- libpng-1.0.10rc1.tar.tar
- linux Qt4 软键盘
- QT 软键盘_支持中文
- 解决安卓嵌套H5软键盘遮挡问题以及导
- qt4.8软键盘(通过点击输入框呼出)
- Qt 模拟软键盘
- Qt制作数字软件盘
- MiniGUI学习的十几个经典,非常适合初
- mingui编写时钟程序
- 基于labview的软键盘
- minigui clock时钟
- 数字软键盘
- Minigui网络五子棋并移植到嵌入式arm平
- QT4环境下,触摸屏软键盘代码Qt4Soft
- QT虚拟软键盘
- 基于Qt5的虚拟键盘
- 漂亮的Delphi软键盘 屏幕键盘源码..r
- 嵌入式Linux系统miniGUI开发.pdf
- 基于QML的虚拟键盘
- 嵌入式Linux和MiniGUI学习笔记.pdf
- qt-devel-3.3.8-4.fc7.i386.rpm
- emWin 数字软键盘
- QT数字软键盘,包括QLineEdit弹出
- Qt5 简易软键盘 - 支持中文输入
- linux minigui 做的简单的qq登陆小程序
- flex软键盘
- minigui下对位图的简单操作
- MiniGUI3移植到Hi3515全过程
- QT官方软键盘
- 模仿QQ登录界面解决软键盘遮挡按钮问
评论
共有 条评论