资源简介

QT开发的能够接收串口数据并将其转化为波形同步实时显示的上位机,很不错的一个小例子,非常值得去研究去学习。源代码写的很不错,值得去好好学习。

资源截图

代码片段和文件信息

/****************************************************************************
** meta object code from reading C++ file ‘frmmain.h‘
**
** Created: Sun Mar 29 15:38:46 2015
**      by: The Qt meta object Compiler version 62 (Qt 4.7.0)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include “../../../COMPlot/frmmain.h“
#if !defined(Q_MOC_OUTPUT_REVISION)
#error “The header file ‘frmmain.h‘ doesn‘t include ject>.“
#elif Q_MOC_OUTPUT_REVISION != 62
#error “This file was generated using the moc from 4.7.0. 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
static const uint qt_meta_data_frmMain[] = {

 // content:
       5       // revision
       0       // classname
       0    0 // classinfo
      16   14 // methods
       0    0 // properties
       0    0 // enums/sets
       0    0 // constructors
       0       // flags
       0       // signalCount

 // slots: signature parameters type tag flags
      20    9    8    8 0x08
      41    8    8    8 0x08
      52    8    8    8 0x08
      64    8    8    8 0x08
      85    8    8    8 0x08
     112    8    8    8 0x08
     137    8    8    8 0x08
     162    8    8    8 0x08
     188  183    8    8 0x08
     219  183    8    8 0x08
     253    8    8    8 0x08
     274  183    8    8 0x08
     309  183    8    8 0x08
     345  183    8    8 0x08
     380    8    8    8 0x08
     401    8    8    8 0x08

       0        // eod
};

static const char qt_meta_stringdata_frmMain[] = {
    “frmMain\0\0msgisSend\0Append(QStringbool)\0“
    “ReadData()\0WriteData()\0on_btnOpen_clicked()\0“
    “on_btnClearCount_clicked()\0“
    “on_btnStopShow_clicked()\0“
    “on_btnClearAll_clicked()\0on_btnSave_clicked()\0“
    “arg1\0on_ckHexSend_stateChanged(int)\0“
    “on_ckHexReceive_stateChanged(int)\0“
    “on_btnSend_clicked()\0“
    “on_cboxInterval_activated(QString)\0“
    “on_cboxSleepTime_activated(QString)\0“
    “on_cboxMaxCount_activated(QString)\0“
    “on_btnPlot_clicked()\0addPlot()\0“
};

const Qmetaobject frmMain::staticmetaobject = {
    { &QWidget::staticmetaobject qt_meta_stringdata_frmMain
      qt_meta_data_frmMain 0 }
};

#ifdef Q_NO_DATA_RELOCATION
const Qmetaobject &frmMain::getStaticmetaobject() { return staticmetaobject; }
#endif //Q_NO_DATA_RELOCATION

const Qmetaobject *frmMain::metaobject() const
{
    return Qobject::d_ptr->metaobject ? Qobject::d_ptr->metaobject : &staticmetaobject;
}

void *frmMain::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname qt_meta_stringdata_frmMain))
        return static_cast(const_cast< frmMain*>(this));
    return QWidget::qt_metac

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2015-03-29 15:38  build-COMPlot-Desk-Release\
     目录           0  2015-03-29 15:41  build-COMPlot-Desk-Release\bin\
     文件      788992  2015-03-29 15:38  build-COMPlot-Desk-Release\bin\COMPlot.exe
     文件         558  2015-01-25 10:59  build-COMPlot-Desk-Release\bin\ConfigData.txt
     文件        5786  2015-03-29 15:38  build-COMPlot-Desk-Release\Makefile
     文件        8169  2015-03-29 15:38  build-COMPlot-Desk-Release\Makefile.Debug
     文件        8196  2015-03-29 15:38  build-COMPlot-Desk-Release\Makefile.Release
     目录           0  2015-03-29 15:38  build-COMPlot-Desk-Release\temp\
     目录           0  2015-03-29 15:38  build-COMPlot-Desk-Release\temp\moc\
     文件        4382  2015-03-29 15:38  build-COMPlot-Desk-Release\temp\moc\moc_frmmain.cpp
     文件      157888  2015-03-29 15:38  build-COMPlot-Desk-Release\temp\moc\moc_qcustomplot.cpp
     文件        6089  2015-03-29 15:38  build-COMPlot-Desk-Release\temp\moc\moc_qextserialport.cpp
     目录           0  2015-03-29 15:38  build-COMPlot-Desk-Release\temp\obj\
     文件       69805  2015-03-29 15:38  build-COMPlot-Desk-Release\temp\obj\frmmain.o
     文件        1817  2015-03-29 15:38  build-COMPlot-Desk-Release\temp\obj\main.o
     文件       10262  2015-03-29 15:38  build-COMPlot-Desk-Release\temp\obj\moc_frmmain.o
     文件      172157  2015-03-29 15:38  build-COMPlot-Desk-Release\temp\obj\moc_qcustomplot.o
     文件      854669  2015-03-29 15:38  build-COMPlot-Desk-Release\temp\obj\qcustomplot.o
     文件       35281  2015-03-29 15:38  build-COMPlot-Desk-Release\temp\obj\qextserialport.o
     文件       17076  2015-03-29 15:38  build-COMPlot-Desk-Release\temp\obj\qextserialport_win.o
     目录           0  2015-03-29 15:38  build-COMPlot-Desk-Release\temp\ui\
     文件       17295  2015-03-29 15:38  build-COMPlot-Desk-Release\temp\ui\ui_frmmain.h
     目录           0  2015-03-29 15:40  build-COMPlot-Desk5-Release\
     目录           0  2015-03-29 15:53  build-COMPlot-Desk5-Release\bin\
     文件      773632  2015-03-29 15:43  build-COMPlot-Desk5-Release\bin\COMPlot.exe
     文件         558  2015-01-25 10:59  build-COMPlot-Desk5-Release\bin\ConfigData.txt
     目录           0  2015-03-29 15:40  build-COMPlot-Desk5-Release\debug\
     文件       20483  2015-03-29 15:40  build-COMPlot-Desk5-Release\Makefile
     文件      190071  2015-03-29 15:40  build-COMPlot-Desk5-Release\Makefile.Debug
     文件      190092  2015-03-29 15:40  build-COMPlot-Desk5-Release\Makefile.Release
     目录           0  2015-03-29 15:40  build-COMPlot-Desk5-Release\release\
............此处省略34个文件信息

评论

共有 条评论