• 大小: 78KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-05-28
  • 语言: 其他
  • 标签: keyboard  

资源简介

用qt5写的虚拟键盘,具有数字键盘和全键盘两个尺寸,全键盘是26键,数字键盘是9键。按切换键可以切换键盘。

资源截图

代码片段和文件信息

#include “fullkeyboard.h“
#include “ui_fullkeyboard.h“
#include 


FullKeyboard::FullKeyboard(QWidget *parent) :
    QWidget(parent)
    ui(new Ui::FullKeyboard)
{
    ui->setupUi(this);

    inputLetters();
}


FullKeyboard::~FullKeyboard()
{
    delete ui;
}


// Signals and slots of buttons
void FullKeyboard::inputLetters()
{
    connect(ui->btnQSIGNAL(clicked(bool))thisSLOT(onclicked()));
    connect(ui->btnWSIGNAL(clicked(bool))thisSLOT(onclicked()));
    connect(ui->btnESIGNAL(clicked(bool))thisSLOT(onclicked()));
    connect(ui->btnRSIGNAL(clicked(bool))thisSLOT(onclicked()));
    connect(ui->btnTSIGNAL(clicked(bool))thisSLOT(onclicked()));
    connect(ui->btnYSIGNAL(clicked(bool))thisSLOT(onclicked()));
    connect(ui->btnUSIGNAL(clicked(bool))thisSLOT(onclicked()));
    connect(ui->btnISIGNAL(clicked(bool))thisSLOT(onclicked()));
    connect(ui->btnOSIGNAL(clicked(bool))thisSLOT(onclicked()));
    connect(ui->btnPSIGNAL(clicked(bool))thisSLOT(onclicked()));
    connect(ui->btnASIGNAL(clicked(bool))thisSLOT(onclicked()));
    connect(ui->btnSSIGNAL(clicked(bool))thisSLOT(onclicked()));
    connect(ui->btnDSIGNAL(clicked(bool))thisSLOT(onclicked()));
    connect(ui->btnFSIGNAL(clicked(bool))thisSLOT(onclicked()));
    connect(ui->btnGSIGNAL(clicked(bool))thisSLOT(onclicked()));
    connect(ui->btnHSIGNAL(clicked(bool))thisSLOT(onclicked()));
    connect(ui->btnJSIGNAL(clicked(bool))thisSLOT(onclicked()));
    connect(ui->btnKSIGNAL(clicked(bool))thisSLOT(onclicked()));
    connect(ui->btnLSIGNAL(clicked(bool))thisSLOT(onclicked()));
    connect(ui->btnZSIGNAL(clicked(bool))thisSLOT(onclicked()));
    connect(ui->btnXSIGNAL(clicked(bool))thisSLOT(onclicked()));
    connect(ui->btnCSIGNAL(clicked(bool))thisSLOT(onclicked()));
    connect(ui->btnVSIGNAL(clicked(bool))thisSLOT(onclicked()));
    connect(ui->btnBSIGNAL(clicked(bool))thisSLOT(onclicked()));
    connect(ui->btnNSIGNAL(clicked(bool))thisSLOT(onclicked()));
    connect(ui->btnMSIGNAL(clicked(bool))thisSLOT(onclicked()));
    connect(ui->btnSpaceSIGNAL(clicked(bool))thisSLOT(onclicked()));
    connect(ui->btn0SIGNAL(clicked(bool))thisSLOT(onclicked()));
    connect(ui->btn1SIGNAL(clicked(bool))thisSLOT(onclicked()));
    connect(ui->btn2SIGNAL(clicked(bool))thisSLOT(onclicked()));
    connect(ui->btn3SIGNAL(clicked(bool))thisSLOT(onclicked()));
    connect(ui->btn4SIGNAL(clicked(bool))thisSLOT(onclicked()));
    connect(ui->btn5SIGNAL(clicked(bool))thisSLOT(onclicked()));
    connect(ui->btn6SIGNAL(clicked(bool))thisSLOT(onclicked()));
    connect(ui->btn7SIGNAL(clicked(bool))thisSLOT(onclicked()));
    connect(ui->btn8SIGNAL(clicked(bool))thisSLOT(onclicked()));
    connect(ui->btn9SIGNAL(clicked(bool))thisSLOT(onclicked()));
    connect(ui->btnEqualSIGNAL(clicked(bool))thisSLOT(onclicked()));
    co

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        392  2019-06-26 16:33  touchkeyboard\form.ui

     文件      10657  2019-07-01 10:59  touchkeyboard\fullkeyboard.cpp

     文件       1394  2019-07-01 16:40  touchkeyboard\fullkeyboard.h

     文件      22328  2019-07-01 10:09  touchkeyboard\fullkeyboard.ui

     文件       2106  2019-06-28 11:29  touchkeyboard\image\btnB0.png

     文件       2072  2019-06-28 11:23  touchkeyboard\image\btnB1.png

     文件       2203  2019-06-28 11:23  touchkeyboard\image\btnB2.png

     文件       2126  2019-06-28 11:24  touchkeyboard\image\btnB3.png

     文件       2243  2019-06-28 11:25  touchkeyboard\image\btnB4.png

     文件       2306  2019-06-28 11:25  touchkeyboard\image\btnB5.png

     文件       2361  2019-06-28 11:27  touchkeyboard\image\btnB6.png

     文件       2186  2019-06-28 11:28  touchkeyboard\image\btnB7.png

     文件       2127  2019-06-28 11:28  touchkeyboard\image\btnB8.png

     文件       2183  2019-06-28 11:29  touchkeyboard\image\btnB9.png

     文件       1985  2019-06-28 15:24  touchkeyboard\image\btnBComma.png

     文件       1970  2019-06-28 11:30  touchkeyboard\image\btnBEqual.png

     文件       1950  2019-06-28 15:21  touchkeyboard\image\btnBHyphen.png

     文件       2102  2019-06-28 15:26  touchkeyboard\image\btnBLBracket.png

     文件       1916  2019-06-28 15:22  touchkeyboard\image\btnBLSquBra.png

     文件       1907  2019-06-28 15:25  touchkeyboard\image\btnBPoint.png

     文件       1998  2019-06-28 15:30  touchkeyboard\image\btnBQuote.png

     文件       2104  2019-06-28 15:27  touchkeyboard\image\btnBRBracket.png

     文件       1890  2019-06-28 15:22  touchkeyboard\image\btnBRSquBra.png

     文件       2309  2019-06-27 20:18  touchkeyboard\image\btnDel.png

     文件       2149  2019-06-27 17:22  touchkeyboard\image\btnDelete.png

     文件       6074  2019-06-27 20:28  touchkeyboard\image\btnLogo.png

     文件       2136  2019-06-28 10:36  touchkeyboard\image\btnS0.png

     文件       2021  2019-06-28 10:29  touchkeyboard\image\btnS1.png

     文件       2165  2019-06-28 10:32  touchkeyboard\image\btnS2.png

     文件       2111  2019-06-28 10:32  touchkeyboard\image\btnS3.png

............此处省略37个文件信息

评论

共有 条评论