资源简介
一个基于QT 的点菜系统,可良好运行于S3C2440 开发板

代码片段和文件信息
#include
#include
#include
#include “calculatordialog.h“
CalculatorDialog::CalculatorDialog(QWidget *parent):QDialog(parent)
{
QLabel *label = new QLabel(tr(““));
lineEdit = new QLineEdit(“0“);
lineEdit->setReadOnly(true);
lineEdit->setAlignment(Qt::AlignRight);
backspace = new QPushButton(tr(“Backspace“));
//backspace->setFixedSize(6427);
backspace->setFixedSize(3628);
connect(this->backspaceSIGNAL(clicked())thisSLOT(buttonbackspace()));
CE = new QPushButton(tr(“connect“));
//CE->setFixedSize(6427);
CE->setFixedSize(3628);
//connect(this->CESIGNAL(clicked())thisSLOT(buttonce()));
C = new QPushButton(tr(“Send“));
//C->setFixedSize(6427);
C->setFixedSize(3628);
//connect(this->CSIGNAL(clicked())thisSLOT(buttonc()));
/*-------------------------------------------------*/
MC = new QPushButton(tr(“Check“));
MC->setFixedSize(3628);
MC->setEnabled(false);
//connect(this->MCSIGNAL(clicked())thisSLOT(buttonmc()));
seven = new QPushButton(tr(“7“));
seven->setFixedSize(3628);
connect(this->sevenSIGNAL(clicked())thisSLOT( buttonseven()));
eight = new QPushButton(tr(“8“));
eight->setFixedSize(3628);
connect(this->eightSIGNAL(clicked())thisSLOT( buttoneight()));
nine = new QPushButton(tr(“9“));
nine->setFixedSize(3628);
connect(this->nineSIGNAL(clicked())thisSLOT( buttonnine()));
div = new QPushButton(tr(“/“));
div->setFixedSize(3628);
div->setEnabled(false);
//connect(this->divSIGNAL(clicked())thisSLOT( buttondiv()));
sq = new QPushButton(tr(“sqrt“));
sq->setFixedSize(3628);
sq->setEnabled(false);
// connect(this->sqSIGNAL(clicked())thisSLOT( buttonsqrt()));
/*------------------------------------------------*/
MR = new QPushButton(tr(“Score“));
MR->setFixedSize(3628);
MR->setEnabled(false);
connect(this->MRSIGNAL(clicked())thisSLOT( buttonmr()));
four = new QPushButton(tr(“4“));
four->setFixedSize(3628);
connect(this->fourSIGNAL(clicked())thisSLOT( buttonfour()));
five = new QPushButton(tr(“5“));
five->setFixedSize(3628);
connect(this->fiveSIGNAL(clicked())thisSLOT( buttonfive()));
six = new QPushButton(tr(“6“));
six->setFixedSize(3628);
connect(this->sixSIGNAL(clicked())thisSLOT( buttonsix()));
mul = new QPushButton(tr(“*“));
mul->setFixedSize(3628);
mul->setEnabled(false);
//connect(this->mulSIGNAL(clicked())thisSLOT( buttonmul()));
rem = new QPushButton(tr(“%“));
rem->setFixedSize(3628);
rem->setEnabled(false);
//connect(this->remSIGNAL(clicked())thisSLOT( buttonrem()));
/*------------------------------------------------*/
MS= new QPushButton(tr(“MS“));
MS->setFixedSize(3628);
MS->setEnabled(false);
//connect(this->MSSIGNAL(c
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 15472 2010-06-12 10:53 clientNEW\calculatordialog.cpp
文件 2232 2010-06-12 10:46 clientNEW\calculatordialog.h
文件 135 2010-06-10 16:41 clientNEW\client1.pro
文件 13779 2010-07-01 18:23 clientNEW\client1.pro.user
文件 304064 2010-07-01 18:16 clientNEW\debug\calculatordialog.o
文件 1484515 2010-07-01 18:16 clientNEW\debug\client1.exe
文件 252053 2010-07-01 18:16 clientNEW\debug\main.o
文件 4538 2010-07-01 18:16 clientNEW\debug\moc_calculatordialog.cpp
文件 134133 2010-07-01 18:16 clientNEW\debug\moc_calculatordialog.o
文件 2761 2010-07-01 18:16 clientNEW\debug\moc_tcpclient.cpp
文件 264521 2010-07-01 18:16 clientNEW\debug\moc_tcpclient.o
文件 306363 2010-07-01 18:16 clientNEW\debug\tcpclient.o
文件 369 2010-06-12 10:00 clientNEW\main.cpp
文件 5963 2010-07-01 18:16 clientNEW\Makefile
文件 6374 2010-07-01 18:16 clientNEW\Makefile.Debug
文件 6476 2010-07-01 18:16 clientNEW\Makefile.Release
文件 4671 2010-06-17 22:30 clientNEW\tcpclient.cpp
文件 852 2010-06-17 19:38 clientNEW\tcpclient.h
目录 0 2010-07-01 18:16 clientNEW\debug
目录 0 2010-06-30 17:25 clientNEW\release
目录 0 2010-06-30 17:25 clientNEW
----------- --------- ---------- ----- ----
2809271 21
- 上一篇:增广最小二乘的递推算法
- 下一篇:如何制作u盘pe
相关资源
- vtk QT做的三维地质可视化系统2of2
- Qt局域网聊天软件
- Qt Creator opengl实现四元数鼠标控制轨迹
- QT局域网聊天系统(基于QT5.修改过)
- qt-电子点菜系统
- C 餐厅叫号系统(QT平)
- QT 实现文件下载
- qt图像处理
- QT,JPEG解码源代码(已完成)
- Qt 播放音频文件
- Qt 读取16进制的data文件
- MQTT+串口(usart)透传
- 易语言QQTEA算法源码
- VC工程转Qt工程文件的工具
- MQTT推送Demo
- 基于Linux、QT的视频监控系统的设计与
- Qt 百度地图 定位
- QT酷炫界面开发指南《QmlBook》
- Ubuntu下操作Excel,qt代码
- Qt图片浏览器 --基于Qt的Graphics View f
- qtnribbon2破解
- Qt软件开发 完整项目代码
- MQTT_3.1protocol_Specific中文版
- 在QT中使用RTP进行视频的采集和传输
- Mini6410 Qt4和Qtopia编程开发指南
- Qt实现Code39条形码
- qt_ffmpeg_mp4_export_and_import.zip
- QT5.5入门与项目实战
- Huffman Compress 霍夫曼编码 压缩 解压缩
- 基于QT的黑白棋游戏设计和实现
评论
共有 条评论