资源简介
通过几天的学习,自己也写了一个串口通信的上位机,比较简易,希望可以给大家带来帮助

代码片段和文件信息
/****************************************************************************
** meta object code from reading C++ file ‘mainwindow.h‘
**
** Created by: The Qt meta object Compiler version 67 (Qt 5.5.1)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#include “../../SerialPort/mainwindow.h“
#include
#include tatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error “The header file ‘mainwindow.h‘ doesn‘t include ject>.“
#elif Q_MOC_OUTPUT_REVISION != 67
#error “This file was generated using the moc from 5.5.1. It“
#error “cannot be used with the include files from this version of Qt.“
#error “(The moc has changed too much.)“
#endif
QT_BEGIN_MOC_NAMESPACE
struct qt_meta_stringdata_MainWindow_t {
QByteArrayData data[6];
char stringdata0[89];
};
#define QT_MOC_LITERAL(idx ofs len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len \
qptrdiff(offsetof(qt_meta_stringdata_MainWindow_t stringdata0) + ofs \
- idx * sizeof(QByteArrayData)) \
)
static const qt_meta_stringdata_MainWindow_t qt_meta_stringdata_MainWindow = {
{
QT_MOC_LITERAL(0 0 10) // “MainWindow“
QT_MOC_LITERAL(1 11 22) // “on_clearButton_clicked“
QT_MOC_LITERAL(2 34 0) // ““
QT_MOC_LITERAL(3 35 21) // “on_sendButton_clicked“
QT_MOC_LITERAL(4 57 21) // “on_openButton_clicked“
QT_MOC_LITERAL(5 79 9) // “Read_Data“
}
“MainWindow\0on_clearButton_clicked\0\0“
“on_sendButton_clicked\0on_openButton_clicked\0“
“Read_Data“
};
#undef QT_MOC_LITERAL
static const uint qt_meta_data_MainWindow[] = {
// content:
7 // revision
0 // classname
0 0 // classinfo
4 14 // methods
0 0 // properties
0 0 // enums/sets
0 0 // constructors
0 // flags
0 // signalCount
// slots: name argc parameters tag flags
1 0 34 2 0x08 /* Private */
3 0 35 2 0x08 /* Private */
4 0 36 2 0x08 /* Private */
5 0 37 2 0x08 /* Private */
// slots: parameters
QmetaType::Void
QmetaType::Void
QmetaType::Void
QmetaType::Void
0 // eod
};
void MainWindow::qt_static_metacall(Qobject *_o Qmetaobject::Call _c int _id void **_a)
{
if (_c == Qmetaobject::InvokemetaMethod) {
MainWindow *_t = static_cast(_o);
Q_UNUSED(_t)
switch (_id) {
case 0: _t->on_clearButton_clicked(); break;
case 1: _t->on_sendButton_clicked(); break;
case 2: _t->on_openButton_clicked(); break;
case 3: _t->Read_Data(); break;
default: ;
}
}
Q_UNUSED(_a);
}
const Qmetaobject MainWindow::staticmetaobject = {
{ &QMainWindow::staticmetaobject qt_me
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2016-01-29 12:59 SerialPort\
目录 0 2016-01-30 16:34 SerialPort\SerialPort\
文件 405 2016-01-28 13:49 SerialPort\SerialPort\SerialPort.pro
文件 18729 2016-01-30 16:34 SerialPort\SerialPort\SerialPort.pro.user
文件 183 2016-01-27 13:35 SerialPort\SerialPort\main.cpp
文件 3394 2016-01-28 14:54 SerialPort\SerialPort\mainwindow.cpp
文件 591 2016-01-28 14:28 SerialPort\SerialPort\mainwindow.h
文件 6578 2016-01-28 14:19 SerialPort\SerialPort\mainwindow.ui
文件 2282 2016-01-28 13:48 SerialPort\SerialPort\mythread.cpp
文件 477 2016-01-28 13:49 SerialPort\SerialPort\mythread.h
目录 0 2016-01-29 12:59 SerialPort\build-SerialPort-Desktop_Qt_5_5_1_MinGW_32bit-Debug\
文件 22391 2016-01-28 13:56 SerialPort\build-SerialPort-Desktop_Qt_5_5_1_MinGW_32bit-Debug\Makefile
文件 39733 2016-01-28 13:56 SerialPort\build-SerialPort-Desktop_Qt_5_5_1_MinGW_32bit-Debug\Makefile.Debug
文件 39800 2016-01-28 13:56 SerialPort\build-SerialPort-Desktop_Qt_5_5_1_MinGW_32bit-Debug\Makefile.Release
目录 0 2016-01-29 12:59 SerialPort\build-SerialPort-Desktop_Qt_5_5_1_MinGW_32bit-Debug\debug\
文件 1001375 2016-01-28 14:54 SerialPort\build-SerialPort-Desktop_Qt_5_5_1_MinGW_32bit-Debug\debug\SerialPort.exe
文件 336433 2016-01-28 14:33 SerialPort\build-SerialPort-Desktop_Qt_5_5_1_MinGW_32bit-Debug\debug\main.o
文件 454129 2016-01-28 14:54 SerialPort\build-SerialPort-Desktop_Qt_5_5_1_MinGW_32bit-Debug\debug\mainwindow.o
文件 4067 2016-01-28 14:37 SerialPort\build-SerialPort-Desktop_Qt_5_5_1_MinGW_32bit-Debug\debug\moc_mainwindow.cpp
文件 190940 2016-01-28 14:37 SerialPort\build-SerialPort-Desktop_Qt_5_5_1_MinGW_32bit-Debug\debug\moc_mainwindow.o
文件 4557 2016-01-28 13:05 SerialPort\build-SerialPort-Desktop_Qt_5_5_1_MinGW_32bit-Debug\debug\moc_mythread.cpp
文件 183501 2016-01-28 13:05 SerialPort\build-SerialPort-Desktop_Qt_5_5_1_MinGW_32bit-Debug\debug\moc_mythread.o
文件 190002 2016-01-28 13:05 SerialPort\build-SerialPort-Desktop_Qt_5_5_1_MinGW_32bit-Debug\debug\mythread.o
目录 0 2016-01-30 16:35 SerialPort\build-SerialPort-Desktop_Qt_5_5_1_MinGW_32bit-Debug\release\
文件 10466 2016-01-28 14:19 SerialPort\build-SerialPort-Desktop_Qt_5_5_1_MinGW_32bit-Debug\ui_mainwindow.h
相关资源
- Trojan-Qt5-Windows-0.0.4.rar
- QT局域网聊天系统(基于QT5.修改过)
- QT5.5入门与项目实战
- 基于FFmpeg4.0.2的AAC编码器
- mp4_play.zip
- 使用Qt编写的视频监控系统支持Qt4-Q
- Qt 多线程连接数据库——数据库
- 基于Qt5.8+OpenCV3.2的Basler多相机触发开
- 串口调试助手 Qt5版源码
- Qt5的多线程小程序,实现按钮开关线
- Ubuntu16.04中配置Qt5.9.1和OpenCV3.4.0过程
- Qt pdf poppler
- 基于Qt5的串口调试助手
- Qt类关系图
- PyQt5编写的大数据应用-高速公路违章
- QT5.9.0实现的QWidget版富文本编辑器
- Qt5版NeHe OpenGL教程6-10
- QT5下实现基于TCP发送和接接收文件
- PyQt5_gpl-5.11.3.zip
- qtribbon可用
- qt5串口简单实现图片、pdf文件的传输
- qt5.8实现rtsp流播放
- QT5检测USB设备
- Qt5.5 开发 Creo3.0 案例
-
Qt5.8 QMediaPla
yer 音乐播放器 - qt5之学生管理系统
- qt5-qtwebkit-5.6.2-1.el7.x86_64.rpm
- Qt5 for windows plugin dll
- qt5_V4L2_Camera 实现摄像头实时画面显示
- qml模仿实现的qt creator
评论
共有 条评论