├── Clion_Proj ├── .idea │ ├── .gitignore │ ├── SerialChart.iml │ ├── deployment.xml │ ├── libraries │ │ ├── ROS.xml │ │ └── workspace.xml │ ├── misc.xml │ ├── modules.xml │ ├── ros.xml │ └── serialmonitor_settings.xml ├── CMakeLists.txt ├── SerialChart.pro ├── SerialChart.pro.user ├── SerialChart.pro.user.3.2-pre1 ├── chart.cpp ├── chart.h ├── cmake-build-release-mingw-qt │ ├── CMakeCache.txt │ ├── CMakeFiles │ │ ├── 3.17.5 │ │ │ ├── CMakeCCompiler.cmake │ │ │ ├── CMakeCXXCompiler.cmake │ │ │ ├── CMakeDetermineCompilerABI_C.bin │ │ │ ├── CMakeDetermineCompilerABI_CXX.bin │ │ │ ├── CMakeRCCompiler.cmake │ │ │ ├── CMakeSystem.cmake │ │ │ ├── CompilerIdC │ │ │ │ ├── CMakeCCompilerId.c │ │ │ │ └── a.exe │ │ │ └── CompilerIdCXX │ │ │ │ ├── CMakeCXXCompilerId.cpp │ │ │ │ └── a.exe │ │ ├── CMakeDirectoryInformation.cmake │ │ ├── CMakeOutput.log │ │ ├── CMakeRuleHashes.txt │ │ ├── Makefile.cmake │ │ ├── Makefile2 │ │ ├── SerialChart.dir │ │ │ ├── CXX.includecache │ │ │ ├── DependInfo.cmake │ │ │ ├── SerialChart_autogen │ │ │ │ └── mocs_compilation.cpp.obj │ │ │ ├── build.make │ │ │ ├── chart.cpp.obj │ │ │ ├── cmake_clean.cmake │ │ │ ├── configuration.cpp.obj │ │ │ ├── decoderbase.cpp.obj │ │ │ ├── decoderbin.cpp.obj │ │ │ ├── decodercsv.cpp.obj │ │ │ ├── decoderhdlc.cpp.obj │ │ │ ├── decoderplugin.cpp.obj │ │ │ ├── depend.internal │ │ │ ├── depend.make │ │ │ ├── displaybase.cpp.obj │ │ │ ├── flags.make │ │ │ ├── hiddevice.cpp.obj │ │ │ ├── includes_CXX.rsp │ │ │ ├── link.txt │ │ │ ├── linklibs.rsp │ │ │ ├── main.cpp.obj │ │ │ ├── mainwindow.cpp.obj │ │ │ ├── objects.a │ │ │ ├── objects1.rsp │ │ │ ├── plugin.cpp.obj │ │ │ ├── portbase.cpp.obj │ │ │ ├── porthid.cpp.obj │ │ │ ├── portrs232.cpp.obj │ │ │ ├── progress.make │ │ │ ├── qrc_resources.cpp.obj │ │ │ └── serialchartjs.cpp.obj │ │ ├── SerialChart_autogen.dir │ │ │ ├── AutogenInfo.json │ │ │ ├── AutogenUsed.txt │ │ │ ├── DependInfo.cmake │ │ │ ├── ParseCache.txt │ │ │ ├── build.make │ │ │ ├── cmake_clean.cmake │ │ │ ├── depend.internal │ │ │ ├── depend.make │ │ │ └── progress.make │ │ ├── SerialPlot.dir │ │ │ ├── CXX.includecache │ │ │ ├── DependInfo.cmake │ │ │ ├── SerialPlot_autogen │ │ │ │ └── mocs_compilation.cpp.obj │ │ │ ├── build.make │ │ │ ├── chart.cpp.obj │ │ │ ├── cmake_clean.cmake │ │ │ ├── configuration.cpp.obj │ │ │ ├── decoderbase.cpp.obj │ │ │ ├── decoderbin.cpp.obj │ │ │ ├── decodercsv.cpp.obj │ │ │ ├── decoderhdlc.cpp.obj │ │ │ ├── decoderplugin.cpp.obj │ │ │ ├── depend.internal │ │ │ ├── depend.make │ │ │ ├── displaybase.cpp.obj │ │ │ ├── flags.make │ │ │ ├── hiddevice.cpp.obj │ │ │ ├── includes_CXX.rsp │ │ │ ├── link.txt │ │ │ ├── linklibs.rsp │ │ │ ├── main.cpp.obj │ │ │ ├── mainwindow.cpp.obj │ │ │ ├── objects.a │ │ │ ├── objects1.rsp │ │ │ ├── plugin.cpp.obj │ │ │ ├── portbase.cpp.obj │ │ │ ├── porthid.cpp.obj │ │ │ ├── portrs232.cpp.obj │ │ │ ├── progress.make │ │ │ ├── qrc_resources.cpp.obj │ │ │ └── serialchartjs.cpp.obj │ │ ├── SerialPlot_autogen.dir │ │ │ ├── AutogenInfo.json │ │ │ ├── AutogenUsed.txt │ │ │ ├── DependInfo.cmake │ │ │ ├── ParseCache.txt │ │ │ ├── build.make │ │ │ ├── cmake_clean.cmake │ │ │ ├── depend.internal │ │ │ ├── depend.make │ │ │ └── progress.make │ │ ├── TargetDirectories.txt │ │ ├── clion-environment.txt │ │ ├── clion-log.txt │ │ ├── cmake.check_cache │ │ ├── feature_tests.bin │ │ ├── feature_tests.cxx │ │ └── progress.marks │ ├── Makefile │ ├── Qt5Core.dll │ ├── Qt5Gui.dll │ ├── Qt5Multimedia.dll │ ├── Qt5MultimediaWidgets.dll │ ├── Qt5Network.dll │ ├── Qt5OpenGL.dll │ ├── Qt5Positioning.dll │ ├── Qt5PrintSupport.dll │ ├── Qt5Qml.dll │ ├── Qt5Quick.dll │ ├── Qt5QuickParticles.dll │ ├── Qt5QuickTest.dll │ ├── Qt5QuickWidgets.dll │ ├── Qt5Script.dll │ ├── Qt5ScriptTools.dll │ ├── Qt5Sensors.dll │ ├── Qt5SerialPort.dll │ ├── Qt5Sql.dll │ ├── Qt5Svg.dll │ ├── Qt5Test.dll │ ├── Qt5WebChannel.dll │ ├── Qt5WebKit.dll │ ├── Qt5WebKitWidgets.dll │ ├── Qt5WebSockets.dll │ ├── Qt5Widgets.dll │ ├── SerialChart.cbp │ ├── SerialChart.exe │ ├── SerialChart_autogen │ │ ├── EWIEGA46WW │ │ │ ├── moc_chart.cpp │ │ │ ├── moc_configuration.cpp │ │ │ ├── moc_decoderbase.cpp │ │ │ ├── moc_decoderbin.cpp │ │ │ ├── moc_decodercsv.cpp │ │ │ ├── moc_decoderhdlc.cpp │ │ │ ├── moc_decoderplugin.cpp │ │ │ ├── moc_displaybase.cpp │ │ │ ├── moc_mainwindow.cpp │ │ │ ├── moc_plugin.cpp │ │ │ ├── moc_portbase.cpp │ │ │ ├── moc_porthid.cpp │ │ │ ├── moc_portrs232.cpp │ │ │ └── moc_serialchartjs.cpp │ │ ├── include │ │ │ └── ui_mainwindow.h │ │ └── mocs_compilation.cpp │ ├── SerialPlot.cbp │ ├── SerialPlot_autogen │ │ ├── EWIEGA46WW │ │ │ ├── moc_chart.cpp │ │ │ ├── moc_configuration.cpp │ │ │ ├── moc_decoderbase.cpp │ │ │ ├── moc_decoderbin.cpp │ │ │ ├── moc_decodercsv.cpp │ │ │ ├── moc_decoderhdlc.cpp │ │ │ ├── moc_decoderplugin.cpp │ │ │ ├── moc_displaybase.cpp │ │ │ ├── moc_mainwindow.cpp │ │ │ ├── moc_plugin.cpp │ │ │ ├── moc_portbase.cpp │ │ │ ├── moc_porthid.cpp │ │ │ ├── moc_portrs232.cpp │ │ │ └── moc_serialchartjs.cpp │ │ ├── include │ │ │ └── ui_mainwindow.h │ │ └── mocs_compilation.cpp │ ├── Testing │ │ └── Temporary │ │ │ └── LastTest.log │ ├── cmake_install.cmake │ ├── icudt54.dll │ ├── icuin54.dll │ ├── icuuc54.dll │ ├── libwinpthread-1.dll │ ├── logo.qrc.depends │ ├── plugins │ │ └── platforms │ │ │ └── qwindows.dll │ ├── qrc_resources.cpp │ └── resources.qrc.depends ├── common.h ├── configuration.cpp ├── configuration.h ├── decoderbase.cpp ├── decoderbase.h ├── decoderbin.cpp ├── decoderbin.h ├── decodercsv.cpp ├── decodercsv.h ├── decoderhdlc.cpp ├── decoderhdlc.h ├── decoderplugin.cpp ├── decoderplugin.h ├── displaybase.cpp ├── displaybase.h ├── hiddevice.cpp ├── hiddevice.h ├── images │ ├── new.png │ ├── open.png │ ├── run.png │ ├── save.png │ └── stop.png ├── logo.ico ├── main.cpp ├── mainwindow.cpp ├── mainwindow.h ├── mainwindow.ui ├── notes.txt ├── plugin.cpp ├── plugin.h ├── portbase.cpp ├── portbase.h ├── porthid.cpp ├── porthid.h ├── portrs232.cpp ├── portrs232.h ├── resources.qrc ├── serialchartjs.cpp └── serialchartjs.h ├── README.md ├── Release └── SerialChart.zip └── ui.jpg /Clion_Proj/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | # Datasource local storage ignored files 5 | /../../../../../../:\Users\Pengzhihui\Desktop\SerialChart\.idea/dataSources/ 6 | /dataSources.local.xml 7 | # Editor-based HTTP Client requests 8 | /httpRequests/ 9 | -------------------------------------------------------------------------------- /Clion_Proj/.idea/SerialChart.iml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Clion_Proj/.idea/deployment.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /Clion_Proj/.idea/libraries/ROS.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /Clion_Proj/.idea/libraries/workspace.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /Clion_Proj/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /Clion_Proj/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Clion_Proj/.idea/ros.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 12 | -------------------------------------------------------------------------------- /Clion_Proj/.idea/serialmonitor_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /Clion_Proj/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.17) 2 | project(SerialChart) 3 | 4 | set(CMAKE_CXX_STANDARD 14) 5 | set(CMAKE_AUTOMOC ON) 6 | set(CMAKE_AUTORCC ON) 7 | set(CMAKE_AUTOUIC ON) 8 | 9 | set(QT_VERSION 5) 10 | set(REQUIRED_LIBS Core Gui Widgets SerialPort WebKit WebKitWidgets) 11 | set(REQUIRED_LIBS_QUALIFIED Qt5::Core Qt5::Gui Qt5::Widgets Qt5::SerialPort Qt5::WebKit Qt5::WebKitWidgets Setupapi) 12 | 13 | set(CMAKE_PREFIX_PATH D:\\Libraries\\Qt\\_Legacy\\5.5.1\\5.5\\mingw492_32\\lib\\cmake) 14 | 15 | include_directories(${PROJECT_SOURCE_DIR}) 16 | 17 | find_package(Qt${QT_VERSION} COMPONENTS ${REQUIRED_LIBS} REQUIRED) 18 | 19 | file(GLOB SRC_FILES ${PROJECT_SOURCE_DIR}/*.cpp 20 | ) 21 | 22 | qt5_add_resources(RSC_FILES 23 | ${PROJECT_SOURCE_DIR}/resources.qrc 24 | ) 25 | 26 | add_executable(${PROJECT_NAME} ${SRC_FILES} ${RSC_FILES}) 27 | 28 | target_link_libraries(${PROJECT_NAME} ${REQUIRED_LIBS_QUALIFIED}) 29 | 30 | if (WIN32) 31 | set(DEBUG_SUFFIX) 32 | if (CMAKE_BUILD_TYPE MATCHES "Debug") 33 | set(DEBUG_SUFFIX "d") 34 | endif () 35 | set(QT_INSTALL_PATH "${CMAKE_PREFIX_PATH}") 36 | if (NOT EXISTS "${QT_INSTALL_PATH}/bin") 37 | set(QT_INSTALL_PATH "${QT_INSTALL_PATH}/..") 38 | if (NOT EXISTS "${QT_INSTALL_PATH}/bin") 39 | set(QT_INSTALL_PATH "${QT_INSTALL_PATH}/..") 40 | endif () 41 | endif () 42 | if (EXISTS "${QT_INSTALL_PATH}/plugins/platforms/qwindows${DEBUG_SUFFIX}.dll") 43 | add_custom_command(TARGET ${PROJECT_NAME} POST_BUILD 44 | COMMAND ${CMAKE_COMMAND} -E make_directory 45 | "$/plugins/platforms/") 46 | add_custom_command(TARGET ${PROJECT_NAME} POST_BUILD 47 | COMMAND ${CMAKE_COMMAND} -E copy 48 | "${QT_INSTALL_PATH}/plugins/platforms/qwindows${DEBUG_SUFFIX}.dll" 49 | "$/plugins/platforms/") 50 | endif () 51 | foreach (QT_LIB ${REQUIRED_LIBS}) 52 | add_custom_command(TARGET ${PROJECT_NAME} POST_BUILD 53 | COMMAND ${CMAKE_COMMAND} -E copy 54 | "${QT_INSTALL_PATH}/bin/Qt${QT_VERSION}${QT_LIB}${DEBUG_SUFFIX}.dll" 55 | "$") 56 | endforeach (QT_LIB) 57 | endif () 58 | -------------------------------------------------------------------------------- /Clion_Proj/SerialChart.pro: -------------------------------------------------------------------------------- 1 | # ------------------------------------------------- 2 | # Project created by QtCreator 2010-01-13T14:10:41 3 | # ------------------------------------------------- 4 | 5 | RC_ICONS = logo.ico 6 | 7 | QT += core gui declarative widgets serialport 8 | QT += webkit 9 | QT += webkit webkitwidgets 10 | 11 | INCLUDEPATH = C:/Qt5/5.1.1/mingw48_32/include/QtGui 12 | 13 | CONFIG += qt 14 | CONFIG -= static 15 | 16 | TARGET = SerialChart 17 | TEMPLATE = app 18 | LIBS += -lsetupapi 19 | SOURCES += main.cpp \ 20 | mainwindow.cpp \ 21 | portbase.cpp \ 22 | configuration.cpp \ 23 | chart.cpp \ 24 | hiddevice.cpp \ 25 | portrs232.cpp \ 26 | porthid.cpp \ 27 | decoderbase.cpp \ 28 | decodercsv.cpp \ 29 | displaybase.cpp \ 30 | decoderhdlc.cpp \ 31 | decoderbin.cpp \ 32 | plugin.cpp \ 33 | decoderplugin.cpp 34 | HEADERS += mainwindow.h \ 35 | common.h \ 36 | portbase.h \ 37 | configuration.h \ 38 | chart.h \ 39 | hiddevice.h \ 40 | portrs232.h \ 41 | porthid.h \ 42 | decoderbase.h \ 43 | decodercsv.h \ 44 | displaybase.h \ 45 | decoderhdlc.h \ 46 | decoderbin.h \ 47 | plugin.h \ 48 | decoderplugin.h 49 | FORMS += mainwindow.ui 50 | RESOURCES += resources.qrc 51 | OTHER_FILES += notes.txt 52 | 53 | 54 | -------------------------------------------------------------------------------- /Clion_Proj/chart.cpp: -------------------------------------------------------------------------------- 1 | #include "chart.h" 2 | 3 | Chart::Chart(QWidget *parent) : 4 | QWidget(parent),config(0) 5 | { 6 | } 7 | 8 | void Chart::init(Configuration* config){ 9 | this->config = config; 10 | this->setFixedSize(config->get("_setup_","width").toInt(),config->get("_setup_","height").toInt()); 11 | this->repaint(); 12 | 13 | px = QPixmap(width(),height()); 14 | px.fill(QColor(Qt::transparent)); 15 | 16 | prevPoints.clear(); 17 | cursor_pos = 0; 18 | 19 | } 20 | 21 | void Chart::newPacket(DecoderBase* decoder){ 22 | QList packetValues = decoder->getPacketValues(); 23 | QPainter p(&px); 24 | //clear one vertical line 25 | p.setPen(Qt::transparent); 26 | p.setCompositionMode(QPainter::CompositionMode_Clear); 27 | p.drawLine(cursor_pos,0,cursor_pos,height()-1); //clear vertical line 28 | p.setCompositionMode(QPainter::CompositionMode_SourceOver); 29 | for(int i=0; i < MIN(packetValues.length(),config->fields.length()); i++){ 30 | QString sectionName = config->fields[i]; 31 | 32 | double vv = packetValues[i].toDouble(); 33 | double min = config->get(sectionName,"min").toDouble(); 34 | double max = config->get(sectionName,"max").toDouble(); 35 | double height = this->height()-1; //pixel height of the canvas reduce by 1 since in case height is 1 max and min coincide ... 36 | 37 | 38 | //by default a value of "min" will map to 0 on chart and a value of "max" to (this->height()-1) 39 | double pitch = config->get(sectionName,"pitch", QString::number( (max-min) / height) ).toDouble(); //pitch in units per pixel 40 | // max / -min = h_origin / (height - h_origin) => h_origin = height * max / (max-min( 41 | double h_origin = config->get(sectionName,"h_origin", QString::number( height * max/(max-min)) ).toDouble(); 42 | double y = h_origin - vv / pitch; 43 | 44 | 45 | int dash = config->get(sectionName,"dash").toInt(); 46 | if(dash>0 && 1 == (cursor_pos / dash) % 2){ 47 | p.setPen(Qt::transparent); //dash spacing 48 | }else{ 49 | p.setPen(QColor(config->get(sectionName,"color"))); 50 | } 51 | 52 | QPoint newPoint(cursor_pos,round(y)); 53 | if(prevPoints.length()-1>=i){ 54 | QPoint prevPoint = prevPoints[i]; 55 | if(prevPoint.x()>newPoint.x()) prevPoint.setX(-1); 56 | p.drawLine(prevPoint,newPoint); 57 | prevPoints.replace(i,newPoint); 58 | }else{ 59 | p.drawPoint(newPoint); 60 | prevPoints.append(newPoint); 61 | } 62 | 63 | } 64 | cursor_pos = (cursor_pos + 1) % width(); 65 | this->repaint(); 66 | } 67 | 68 | 69 | 70 | void Chart::paintEvent(QPaintEvent* ev){ 71 | QWidget::paintEvent(ev); 72 | QPainter p(this); 73 | //p.setRenderHint(QPainter::Antialiasing,true); 74 | 75 | if(config){ 76 | //background 77 | p.setPen(Qt::NoPen); 78 | p.setBrush(QBrush(QColor(config->get("_setup_","background_color")))); 79 | p.drawRect(rect()); 80 | p.setBrush(Qt::NoBrush); 81 | 82 | //grid: horizontal lines 83 | int step = config->get("_setup_","grid_h_step").toInt(); 84 | int orig = config->get("_setup_","grid_h_origin").toInt(); 85 | p.setPen(QColor(config->get("_setup_","grid_h_color"))); 86 | if(step>0){ 87 | for(int i=orig;i>=0;i-=step) p.drawLine(0,i,width()-1,i); 88 | for(int i=orig;iget("_setup_","grid_v_step").toInt(); 92 | orig = config->get("_setup_","grid_v_origin").toInt(); 93 | p.setPen(QColor(config->get("_setup_","grid_v_color"))); 94 | if(step>0){ 95 | for(int i=orig;i>=0;i-=step) p.drawLine(i,0,i,height()-1); 96 | for(int i=orig;iget("_setup_","grid_v_origin_color"))); 100 | p.drawLine(orig,0,orig,height()-1); 101 | orig = config->get("_setup_","grid_h_origin").toInt(); 102 | p.setPen(QColor(config->get("_setup_","grid_h_origin_color"))); 103 | p.drawLine(0,orig,width()-1,orig); 104 | } 105 | 106 | p.drawPixmap(0,0,px); 107 | 108 | } 109 | -------------------------------------------------------------------------------- /Clion_Proj/chart.h: -------------------------------------------------------------------------------- 1 | #ifndef CHART_H 2 | #define CHART_H 3 | 4 | #include 5 | #include "common.h" 6 | #include "configuration.h" 7 | #include "decoderbase.h" 8 | 9 | class Chart : public QWidget 10 | { 11 | Q_OBJECT 12 | public: 13 | explicit Chart(QWidget *parent = 0); 14 | void init(Configuration* config); 15 | private: 16 | Configuration* config; 17 | QPixmap px; 18 | int cursor_pos; 19 | QList prevPoints; 20 | signals: 21 | 22 | public slots: 23 | void newPacket(DecoderBase* decoder); 24 | 25 | protected: 26 | void paintEvent(QPaintEvent* ev); 27 | 28 | }; 29 | 30 | #endif // CHART_H 31 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/3.17.5/CMakeCCompiler.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_C_COMPILER "D:/Libraries/Qt/_Legacy/5.5.1/Tools/mingw492_32/bin/gcc.exe") 2 | set(CMAKE_C_COMPILER_ARG1 "") 3 | set(CMAKE_C_COMPILER_ID "GNU") 4 | set(CMAKE_C_COMPILER_VERSION "4.9.2") 5 | set(CMAKE_C_COMPILER_VERSION_INTERNAL "") 6 | set(CMAKE_C_COMPILER_WRAPPER "") 7 | set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "90") 8 | set(CMAKE_C_COMPILE_FEATURES "c_std_90;c_function_prototypes;c_std_99;c_restrict;c_variadic_macros;c_std_11;c_static_assert") 9 | set(CMAKE_C90_COMPILE_FEATURES "c_std_90;c_function_prototypes") 10 | set(CMAKE_C99_COMPILE_FEATURES "c_std_99;c_restrict;c_variadic_macros") 11 | set(CMAKE_C11_COMPILE_FEATURES "c_std_11;c_static_assert") 12 | 13 | set(CMAKE_C_PLATFORM_ID "MinGW") 14 | set(CMAKE_C_SIMULATE_ID "") 15 | set(CMAKE_C_COMPILER_FRONTEND_VARIANT "") 16 | set(CMAKE_C_SIMULATE_VERSION "") 17 | 18 | 19 | 20 | set(CMAKE_AR "D:/Libraries/Qt/_Legacy/5.5.1/Tools/mingw492_32/bin/ar.exe") 21 | set(CMAKE_C_COMPILER_AR "D:/Libraries/Qt/_Legacy/5.5.1/Tools/mingw492_32/bin/gcc-ar.exe") 22 | set(CMAKE_RANLIB "D:/Libraries/Qt/_Legacy/5.5.1/Tools/mingw492_32/bin/ranlib.exe") 23 | set(CMAKE_C_COMPILER_RANLIB "D:/Libraries/Qt/_Legacy/5.5.1/Tools/mingw492_32/bin/gcc-ranlib.exe") 24 | set(CMAKE_LINKER "D:/Libraries/Qt/_Legacy/5.5.1/Tools/mingw492_32/bin/ld.exe") 25 | set(CMAKE_MT "") 26 | set(CMAKE_COMPILER_IS_GNUCC 1) 27 | set(CMAKE_C_COMPILER_LOADED 1) 28 | set(CMAKE_C_COMPILER_WORKS TRUE) 29 | set(CMAKE_C_ABI_COMPILED TRUE) 30 | set(CMAKE_COMPILER_IS_MINGW 1) 31 | set(CMAKE_COMPILER_IS_CYGWIN ) 32 | if(CMAKE_COMPILER_IS_CYGWIN) 33 | set(CYGWIN 1) 34 | set(UNIX 1) 35 | endif() 36 | 37 | set(CMAKE_C_COMPILER_ENV_VAR "CC") 38 | 39 | if(CMAKE_COMPILER_IS_MINGW) 40 | set(MINGW 1) 41 | endif() 42 | set(CMAKE_C_COMPILER_ID_RUN 1) 43 | set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m) 44 | set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) 45 | set(CMAKE_C_LINKER_PREFERENCE 10) 46 | 47 | # Save compiler ABI information. 48 | set(CMAKE_C_SIZEOF_DATA_PTR "4") 49 | set(CMAKE_C_COMPILER_ABI "") 50 | set(CMAKE_C_LIBRARY_ARCHITECTURE "") 51 | 52 | if(CMAKE_C_SIZEOF_DATA_PTR) 53 | set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}") 54 | endif() 55 | 56 | if(CMAKE_C_COMPILER_ABI) 57 | set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}") 58 | endif() 59 | 60 | if(CMAKE_C_LIBRARY_ARCHITECTURE) 61 | set(CMAKE_LIBRARY_ARCHITECTURE "") 62 | endif() 63 | 64 | set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "") 65 | if(CMAKE_C_CL_SHOWINCLUDES_PREFIX) 66 | set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}") 67 | endif() 68 | 69 | 70 | 71 | 72 | 73 | set(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES "D:/Libraries/Qt/_Legacy/5.5.1/Tools/mingw492_32/lib/gcc/i686-w64-mingw32/4.9.2/include;D:/Libraries/Qt/_Legacy/5.5.1/Tools/mingw492_32/lib/gcc/i686-w64-mingw32/4.9.2/include-fixed;D:/Libraries/Qt/_Legacy/5.5.1/Tools/mingw492_32/i686-w64-mingw32/include") 74 | set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "mingw32;gcc;moldname;mingwex;pthread;advapi32;shell32;user32;kernel32;iconv;mingw32;gcc;moldname;mingwex") 75 | set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "D:/Libraries/Qt/_Legacy/5.5.1/Tools/mingw492_32/lib/gcc/i686-w64-mingw32/4.9.2;D:/Libraries/Qt/_Legacy/5.5.1/Tools/mingw492_32/lib/gcc;D:/Libraries/Qt/_Legacy/5.5.1/Tools/mingw492_32/i686-w64-mingw32/lib;D:/Libraries/Qt/_Legacy/5.5.1/Tools/mingw492_32/lib") 76 | set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") 77 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/3.17.5/CMakeDetermineCompilerABI_C.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/3.17.5/CMakeDetermineCompilerABI_C.bin -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/3.17.5/CMakeDetermineCompilerABI_CXX.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/3.17.5/CMakeDetermineCompilerABI_CXX.bin -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/3.17.5/CMakeRCCompiler.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_RC_COMPILER "D:/Libraries/Qt/_Legacy/5.5.1/Tools/mingw492_32/bin/windres.exe") 2 | set(CMAKE_RC_COMPILER_ARG1 "") 3 | set(CMAKE_RC_COMPILER_LOADED 1) 4 | set(CMAKE_RC_SOURCE_FILE_EXTENSIONS rc;RC) 5 | set(CMAKE_RC_OUTPUT_EXTENSION .obj) 6 | set(CMAKE_RC_COMPILER_ENV_VAR "RC") 7 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/3.17.5/CMakeSystem.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_HOST_SYSTEM "Windows-10.0.19042") 2 | set(CMAKE_HOST_SYSTEM_NAME "Windows") 3 | set(CMAKE_HOST_SYSTEM_VERSION "10.0.19042") 4 | set(CMAKE_HOST_SYSTEM_PROCESSOR "AMD64") 5 | 6 | 7 | 8 | set(CMAKE_SYSTEM "Windows-10.0.19042") 9 | set(CMAKE_SYSTEM_NAME "Windows") 10 | set(CMAKE_SYSTEM_VERSION "10.0.19042") 11 | set(CMAKE_SYSTEM_PROCESSOR "AMD64") 12 | 13 | set(CMAKE_CROSSCOMPILING "FALSE") 14 | 15 | set(CMAKE_SYSTEM_LOADED 1) 16 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/3.17.5/CompilerIdC/a.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/3.17.5/CompilerIdC/a.exe -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/3.17.5/CompilerIdCXX/a.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/3.17.5/CompilerIdCXX/a.exe -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/CMakeDirectoryInformation.cmake: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "MinGW Makefiles" Generator, CMake Version 3.17 3 | 4 | # Relative path conversion top directories. 5 | set(CMAKE_RELATIVE_PATH_TOP_SOURCE "C:/Users/Pengzhihui/Desktop/SerialChart") 6 | set(CMAKE_RELATIVE_PATH_TOP_BINARY "C:/Users/Pengzhihui/Desktop/SerialChart/cmake-build-release-mingw-qt") 7 | 8 | # Force unix paths in dependencies. 9 | set(CMAKE_FORCE_UNIX_PATHS 1) 10 | 11 | 12 | # The C and CXX include file regular expressions for this directory. 13 | set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$") 14 | set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$") 15 | set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN}) 16 | set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN}) 17 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/CMakeRuleHashes.txt: -------------------------------------------------------------------------------- 1 | # Hashes of file build rules. 2 | 118a37232543a272b1e71ff69a8fdc5a CMakeFiles/SerialChart_autogen 3 | 73914aa01b3b95f1867413ce98894837 qrc_resources.cpp 4 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/DependInfo.cmake: -------------------------------------------------------------------------------- 1 | # The set of languages for which implicit dependencies are needed: 2 | set(CMAKE_DEPENDS_LANGUAGES 3 | "CXX" 4 | ) 5 | # The set of files for implicit dependencies of each language: 6 | set(CMAKE_DEPENDS_CHECK_CXX 7 | "C:/Users/Pengzhihui/Desktop/SerialChart/cmake-build-release-mingw-qt/SerialChart_autogen/mocs_compilation.cpp" "C:/Users/Pengzhihui/Desktop/SerialChart/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/SerialChart_autogen/mocs_compilation.cpp.obj" 8 | "C:/Users/Pengzhihui/Desktop/SerialChart/chart.cpp" "C:/Users/Pengzhihui/Desktop/SerialChart/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/chart.cpp.obj" 9 | "C:/Users/Pengzhihui/Desktop/SerialChart/configuration.cpp" "C:/Users/Pengzhihui/Desktop/SerialChart/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/configuration.cpp.obj" 10 | "C:/Users/Pengzhihui/Desktop/SerialChart/decoderbase.cpp" "C:/Users/Pengzhihui/Desktop/SerialChart/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/decoderbase.cpp.obj" 11 | "C:/Users/Pengzhihui/Desktop/SerialChart/decoderbin.cpp" "C:/Users/Pengzhihui/Desktop/SerialChart/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/decoderbin.cpp.obj" 12 | "C:/Users/Pengzhihui/Desktop/SerialChart/decodercsv.cpp" "C:/Users/Pengzhihui/Desktop/SerialChart/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/decodercsv.cpp.obj" 13 | "C:/Users/Pengzhihui/Desktop/SerialChart/decoderhdlc.cpp" "C:/Users/Pengzhihui/Desktop/SerialChart/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/decoderhdlc.cpp.obj" 14 | "C:/Users/Pengzhihui/Desktop/SerialChart/decoderplugin.cpp" "C:/Users/Pengzhihui/Desktop/SerialChart/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/decoderplugin.cpp.obj" 15 | "C:/Users/Pengzhihui/Desktop/SerialChart/displaybase.cpp" "C:/Users/Pengzhihui/Desktop/SerialChart/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/displaybase.cpp.obj" 16 | "C:/Users/Pengzhihui/Desktop/SerialChart/hiddevice.cpp" "C:/Users/Pengzhihui/Desktop/SerialChart/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/hiddevice.cpp.obj" 17 | "C:/Users/Pengzhihui/Desktop/SerialChart/main.cpp" "C:/Users/Pengzhihui/Desktop/SerialChart/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/main.cpp.obj" 18 | "C:/Users/Pengzhihui/Desktop/SerialChart/mainwindow.cpp" "C:/Users/Pengzhihui/Desktop/SerialChart/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/mainwindow.cpp.obj" 19 | "C:/Users/Pengzhihui/Desktop/SerialChart/plugin.cpp" "C:/Users/Pengzhihui/Desktop/SerialChart/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/plugin.cpp.obj" 20 | "C:/Users/Pengzhihui/Desktop/SerialChart/portbase.cpp" "C:/Users/Pengzhihui/Desktop/SerialChart/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/portbase.cpp.obj" 21 | "C:/Users/Pengzhihui/Desktop/SerialChart/porthid.cpp" "C:/Users/Pengzhihui/Desktop/SerialChart/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/porthid.cpp.obj" 22 | "C:/Users/Pengzhihui/Desktop/SerialChart/portrs232.cpp" "C:/Users/Pengzhihui/Desktop/SerialChart/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/portrs232.cpp.obj" 23 | "C:/Users/Pengzhihui/Desktop/SerialChart/cmake-build-release-mingw-qt/qrc_resources.cpp" "C:/Users/Pengzhihui/Desktop/SerialChart/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/qrc_resources.cpp.obj" 24 | "C:/Users/Pengzhihui/Desktop/SerialChart/serialchartjs.cpp" "C:/Users/Pengzhihui/Desktop/SerialChart/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/serialchartjs.cpp.obj" 25 | ) 26 | set(CMAKE_CXX_COMPILER_ID "GNU") 27 | 28 | # Preprocessor definitions for this target. 29 | set(CMAKE_TARGET_DEFINITIONS_CXX 30 | "QT_CORE_LIB" 31 | "QT_GUI_LIB" 32 | "QT_NETWORK_LIB" 33 | "QT_NO_DEBUG" 34 | "QT_SERIALPORT_LIB" 35 | "QT_WEBKITWIDGETS_LIB" 36 | "QT_WEBKIT_LIB" 37 | "QT_WIDGETS_LIB" 38 | ) 39 | 40 | # The include file search paths: 41 | set(CMAKE_CXX_TARGET_INCLUDE_PATH 42 | "SerialChart_autogen/include" 43 | "../" 44 | "D:/Libraries/Qt/_Legacy/5.5.1/5.5/mingw492_32/include" 45 | "D:/Libraries/Qt/_Legacy/5.5.1/5.5/mingw492_32/include/QtCore" 46 | "D:/Libraries/Qt/_Legacy/5.5.1/5.5/mingw492_32/./mkspecs/win32-g++" 47 | "D:/Libraries/Qt/_Legacy/5.5.1/5.5/mingw492_32/include/QtGui" 48 | "D:/Libraries/Qt/_Legacy/5.5.1/5.5/mingw492_32/include/QtWidgets" 49 | "D:/Libraries/Qt/_Legacy/5.5.1/5.5/mingw492_32/include/QtSerialPort" 50 | "D:/Libraries/Qt/_Legacy/5.5.1/5.5/mingw492_32/include/QtWebKit" 51 | "D:/Libraries/Qt/_Legacy/5.5.1/5.5/mingw492_32/include/QtNetwork" 52 | "D:/Libraries/Qt/_Legacy/5.5.1/5.5/mingw492_32/include/QtWebKitWidgets" 53 | ) 54 | 55 | # Targets to which this target links. 56 | set(CMAKE_TARGET_LINKED_INFO_FILES 57 | ) 58 | 59 | # Fortran module output directory. 60 | set(CMAKE_Fortran_TARGET_MODULE_DIR "") 61 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/SerialChart_autogen/mocs_compilation.cpp.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/SerialChart_autogen/mocs_compilation.cpp.obj -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/chart.cpp.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/chart.cpp.obj -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/cmake_clean.cmake: -------------------------------------------------------------------------------- 1 | file(REMOVE_RECURSE 2 | "CMakeFiles/SerialChart_autogen.dir/AutogenUsed.txt" 3 | "CMakeFiles/SerialChart_autogen.dir/ParseCache.txt" 4 | "SerialChart_autogen" 5 | "CMakeFiles/SerialChart.dir/SerialChart_autogen/mocs_compilation.cpp.obj" 6 | "CMakeFiles/SerialChart.dir/chart.cpp.obj" 7 | "CMakeFiles/SerialChart.dir/configuration.cpp.obj" 8 | "CMakeFiles/SerialChart.dir/decoderbase.cpp.obj" 9 | "CMakeFiles/SerialChart.dir/decoderbin.cpp.obj" 10 | "CMakeFiles/SerialChart.dir/decodercsv.cpp.obj" 11 | "CMakeFiles/SerialChart.dir/decoderhdlc.cpp.obj" 12 | "CMakeFiles/SerialChart.dir/decoderplugin.cpp.obj" 13 | "CMakeFiles/SerialChart.dir/displaybase.cpp.obj" 14 | "CMakeFiles/SerialChart.dir/hiddevice.cpp.obj" 15 | "CMakeFiles/SerialChart.dir/main.cpp.obj" 16 | "CMakeFiles/SerialChart.dir/mainwindow.cpp.obj" 17 | "CMakeFiles/SerialChart.dir/plugin.cpp.obj" 18 | "CMakeFiles/SerialChart.dir/portbase.cpp.obj" 19 | "CMakeFiles/SerialChart.dir/porthid.cpp.obj" 20 | "CMakeFiles/SerialChart.dir/portrs232.cpp.obj" 21 | "CMakeFiles/SerialChart.dir/qrc_resources.cpp.obj" 22 | "CMakeFiles/SerialChart.dir/serialchartjs.cpp.obj" 23 | "SerialChart.exe" 24 | "SerialChart.exe.manifest" 25 | "SerialChart.pdb" 26 | "libSerialChart.dll.a" 27 | "qrc_resources.cpp" 28 | ) 29 | 30 | # Per-language clean rules from dependency scanning. 31 | foreach(lang CXX) 32 | include(CMakeFiles/SerialChart.dir/cmake_clean_${lang}.cmake OPTIONAL) 33 | endforeach() 34 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/configuration.cpp.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/configuration.cpp.obj -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/decoderbase.cpp.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/decoderbase.cpp.obj -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/decoderbin.cpp.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/decoderbin.cpp.obj -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/decodercsv.cpp.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/decodercsv.cpp.obj -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/decoderhdlc.cpp.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/decoderhdlc.cpp.obj -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/decoderplugin.cpp.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/decoderplugin.cpp.obj -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/displaybase.cpp.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/displaybase.cpp.obj -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/flags.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "MinGW Makefiles" Generator, CMake Version 3.17 3 | 4 | # compile CXX with D:/Libraries/Qt/_Legacy/5.5.1/Tools/mingw492_32/bin/g++.exe 5 | CXX_FLAGS = -O3 -DNDEBUG -std=gnu++14 6 | 7 | CXX_DEFINES = -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SERIALPORT_LIB -DQT_WEBKITWIDGETS_LIB -DQT_WEBKIT_LIB -DQT_WIDGETS_LIB 8 | 9 | CXX_INCLUDES = @CMakeFiles/SerialChart.dir/includes_CXX.rsp 10 | 11 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/hiddevice.cpp.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/hiddevice.cpp.obj -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/includes_CXX.rsp: -------------------------------------------------------------------------------- 1 | -IC:/Users/Pengzhihui/Desktop/SerialChart/cmake-build-release-mingw-qt/SerialChart_autogen/include -IC:/Users/Pengzhihui/Desktop/SerialChart -isystem D:/Libraries/Qt/_Legacy/5.5.1/5.5/mingw492_32/include -isystem D:/Libraries/Qt/_Legacy/5.5.1/5.5/mingw492_32/include/QtCore -isystem D:/Libraries/Qt/_Legacy/5.5.1/5.5/mingw492_32/./mkspecs/win32-g++ -isystem D:/Libraries/Qt/_Legacy/5.5.1/5.5/mingw492_32/include/QtGui -isystem D:/Libraries/Qt/_Legacy/5.5.1/5.5/mingw492_32/include/QtWidgets -isystem D:/Libraries/Qt/_Legacy/5.5.1/5.5/mingw492_32/include/QtSerialPort -isystem D:/Libraries/Qt/_Legacy/5.5.1/5.5/mingw492_32/include/QtWebKit -isystem D:/Libraries/Qt/_Legacy/5.5.1/5.5/mingw492_32/include/QtNetwork -isystem D:/Libraries/Qt/_Legacy/5.5.1/5.5/mingw492_32/include/QtWebKitWidgets 2 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/link.txt: -------------------------------------------------------------------------------- 1 | "D:\Program Files\JetBrains\CLion\CLion 2020.3.3\bin\cmake\win\bin\cmake.exe" -E rm -f CMakeFiles\SerialChart.dir/objects.a 2 | D:\Libraries\Qt\_Legacy\5.5.1\Tools\mingw492_32\bin\ar.exe cr CMakeFiles\SerialChart.dir/objects.a @CMakeFiles\SerialChart.dir\objects1.rsp 3 | D:\Libraries\Qt\_Legacy\5.5.1\Tools\mingw492_32\bin\g++.exe -O3 -DNDEBUG -Wl,--whole-archive CMakeFiles\SerialChart.dir/objects.a -Wl,--no-whole-archive -o SerialChart.exe -Wl,--out-implib,libSerialChart.dll.a -Wl,--major-image-version,0,--minor-image-version,0 @CMakeFiles\SerialChart.dir\linklibs.rsp 4 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/linklibs.rsp: -------------------------------------------------------------------------------- 1 | D:/Libraries/Qt/_Legacy/5.5.1/5.5/mingw492_32/lib/libQt5SerialPort.a D:/Libraries/Qt/_Legacy/5.5.1/5.5/mingw492_32/lib/libQt5WebKitWidgets.a -lSetupapi D:/Libraries/Qt/_Legacy/5.5.1/5.5/mingw492_32/lib/libQt5Widgets.a D:/Libraries/Qt/_Legacy/5.5.1/5.5/mingw492_32/lib/libQt5WebKit.a D:/Libraries/Qt/_Legacy/5.5.1/5.5/mingw492_32/lib/libQt5Gui.a D:/Libraries/Qt/_Legacy/5.5.1/5.5/mingw492_32/lib/libQt5Network.a D:/Libraries/Qt/_Legacy/5.5.1/5.5/mingw492_32/lib/libQt5Core.a -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 2 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/main.cpp.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/main.cpp.obj -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/mainwindow.cpp.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/mainwindow.cpp.obj -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/objects.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/objects.a -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/objects1.rsp: -------------------------------------------------------------------------------- 1 | CMakeFiles/SerialChart.dir/SerialChart_autogen/mocs_compilation.cpp.obj CMakeFiles/SerialChart.dir/chart.cpp.obj CMakeFiles/SerialChart.dir/configuration.cpp.obj CMakeFiles/SerialChart.dir/decoderbase.cpp.obj CMakeFiles/SerialChart.dir/decoderbin.cpp.obj CMakeFiles/SerialChart.dir/decodercsv.cpp.obj CMakeFiles/SerialChart.dir/decoderhdlc.cpp.obj CMakeFiles/SerialChart.dir/decoderplugin.cpp.obj CMakeFiles/SerialChart.dir/displaybase.cpp.obj CMakeFiles/SerialChart.dir/hiddevice.cpp.obj CMakeFiles/SerialChart.dir/main.cpp.obj CMakeFiles/SerialChart.dir/mainwindow.cpp.obj CMakeFiles/SerialChart.dir/plugin.cpp.obj CMakeFiles/SerialChart.dir/portbase.cpp.obj CMakeFiles/SerialChart.dir/porthid.cpp.obj CMakeFiles/SerialChart.dir/portrs232.cpp.obj CMakeFiles/SerialChart.dir/serialchartjs.cpp.obj CMakeFiles/SerialChart.dir/qrc_resources.cpp.obj 2 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/plugin.cpp.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/plugin.cpp.obj -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/portbase.cpp.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/portbase.cpp.obj -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/porthid.cpp.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/porthid.cpp.obj -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/portrs232.cpp.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/portrs232.cpp.obj -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/progress.make: -------------------------------------------------------------------------------- 1 | CMAKE_PROGRESS_1 = 1 2 | CMAKE_PROGRESS_2 = 2 3 | CMAKE_PROGRESS_3 = 3 4 | CMAKE_PROGRESS_4 = 4 5 | CMAKE_PROGRESS_5 = 5 6 | CMAKE_PROGRESS_6 = 6 7 | CMAKE_PROGRESS_7 = 7 8 | CMAKE_PROGRESS_8 = 8 9 | CMAKE_PROGRESS_9 = 9 10 | CMAKE_PROGRESS_10 = 10 11 | CMAKE_PROGRESS_11 = 11 12 | CMAKE_PROGRESS_12 = 12 13 | CMAKE_PROGRESS_13 = 13 14 | CMAKE_PROGRESS_14 = 14 15 | CMAKE_PROGRESS_15 = 15 16 | CMAKE_PROGRESS_16 = 16 17 | CMAKE_PROGRESS_17 = 17 18 | CMAKE_PROGRESS_18 = 18 19 | CMAKE_PROGRESS_19 = 19 20 | CMAKE_PROGRESS_20 = 20 21 | 22 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/qrc_resources.cpp.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/qrc_resources.cpp.obj -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/serialchartjs.cpp.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir/serialchartjs.cpp.obj -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialChart_autogen.dir/AutogenUsed.txt: -------------------------------------------------------------------------------- 1 | moc:294e74ccd2fa3eab961d1651ef4d9e811585ba8901af66dbdf527fd7eed54c1b 2 | uic:56cbf090846d8cdf3aeacbe7b07851f7fa0e93659896ec56d6d101f22e976caf 3 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialChart_autogen.dir/DependInfo.cmake: -------------------------------------------------------------------------------- 1 | # The set of languages for which implicit dependencies are needed: 2 | set(CMAKE_DEPENDS_LANGUAGES 3 | ) 4 | # The set of files for implicit dependencies of each language: 5 | 6 | # Targets to which this target links. 7 | set(CMAKE_TARGET_LINKED_INFO_FILES 8 | ) 9 | 10 | # Fortran module output directory. 11 | set(CMAKE_Fortran_TARGET_MODULE_DIR "") 12 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialChart_autogen.dir/ParseCache.txt: -------------------------------------------------------------------------------- 1 | # Generated by CMake. Changes will be overwritten. 2 | C:/Users/Pengzhihui/Desktop/SerialChart/decoderhdlc.cpp 3 | C:/Users/Pengzhihui/Desktop/SerialChart/decoderbin.cpp 4 | C:/Users/Pengzhihui/Desktop/SerialChart/chart.h 5 | mmc:Q_OBJECT 6 | C:/Users/Pengzhihui/Desktop/SerialChart/plugin.cpp 7 | C:/Users/Pengzhihui/Desktop/SerialChart/displaybase.cpp 8 | C:/Users/Pengzhihui/Desktop/SerialChart/decoderplugin.cpp 9 | C:/Users/Pengzhihui/Desktop/SerialChart/configuration.h 10 | mmc:Q_OBJECT 11 | C:/Users/Pengzhihui/Desktop/SerialChart/decoderbin.h 12 | mmc:Q_OBJECT 13 | C:/Users/Pengzhihui/Desktop/SerialChart/decoderhdlc.h 14 | mmc:Q_OBJECT 15 | C:/Users/Pengzhihui/Desktop/SerialChart/cmake-build-release-mingw-qt/qrc_resources.cpp 16 | C:/Users/Pengzhihui/Desktop/SerialChart/decoderbase.h 17 | mmc:Q_OBJECT 18 | C:/Users/Pengzhihui/Desktop/SerialChart/decodercsv.h 19 | mmc:Q_OBJECT 20 | C:/Users/Pengzhihui/Desktop/SerialChart/plugin.h 21 | mmc:Q_OBJECT 22 | C:/Users/Pengzhihui/Desktop/SerialChart/decoderplugin.h 23 | mmc:Q_OBJECT 24 | C:/Users/Pengzhihui/Desktop/SerialChart/displaybase.h 25 | mmc:Q_OBJECT 26 | C:/Users/Pengzhihui/Desktop/SerialChart/hiddevice.h 27 | C:/Users/Pengzhihui/Desktop/SerialChart/mainwindow.h 28 | mmc:Q_OBJECT 29 | C:/Users/Pengzhihui/Desktop/SerialChart/portbase.h 30 | mmc:Q_OBJECT 31 | C:/Users/Pengzhihui/Desktop/SerialChart/porthid.h 32 | mmc:Q_OBJECT 33 | C:/Users/Pengzhihui/Desktop/SerialChart/portrs232.h 34 | mmc:Q_OBJECT 35 | C:/Users/Pengzhihui/Desktop/SerialChart/serialchartjs.h 36 | mmc:Q_OBJECT 37 | C:/Users/Pengzhihui/Desktop/SerialChart/chart.cpp 38 | C:/Users/Pengzhihui/Desktop/SerialChart/configuration.cpp 39 | C:/Users/Pengzhihui/Desktop/SerialChart/decoderbase.cpp 40 | C:/Users/Pengzhihui/Desktop/SerialChart/decodercsv.cpp 41 | C:/Users/Pengzhihui/Desktop/SerialChart/hiddevice.cpp 42 | C:/Users/Pengzhihui/Desktop/SerialChart/main.cpp 43 | uic:ui_mainwindow.h 44 | C:/Users/Pengzhihui/Desktop/SerialChart/mainwindow.cpp 45 | uic:ui_mainwindow.h 46 | C:/Users/Pengzhihui/Desktop/SerialChart/portbase.cpp 47 | C:/Users/Pengzhihui/Desktop/SerialChart/porthid.cpp 48 | C:/Users/Pengzhihui/Desktop/SerialChart/portrs232.cpp 49 | C:/Users/Pengzhihui/Desktop/SerialChart/serialchartjs.cpp 50 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialChart_autogen.dir/build.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "MinGW Makefiles" Generator, CMake Version 3.17 3 | 4 | # Delete rule output on recipe failure. 5 | .DELETE_ON_ERROR: 6 | 7 | 8 | #============================================================================= 9 | # Special targets provided by cmake. 10 | 11 | # Disable implicit rules so canonical targets will work. 12 | .SUFFIXES: 13 | 14 | 15 | # Disable VCS-based implicit rules. 16 | % : %,v 17 | 18 | 19 | # Disable VCS-based implicit rules. 20 | % : RCS/% 21 | 22 | 23 | # Disable VCS-based implicit rules. 24 | % : RCS/%,v 25 | 26 | 27 | # Disable VCS-based implicit rules. 28 | % : SCCS/s.% 29 | 30 | 31 | # Disable VCS-based implicit rules. 32 | % : s.% 33 | 34 | 35 | .SUFFIXES: .hpux_make_needs_suffix_list 36 | 37 | 38 | # Command-line flag to silence nested $(MAKE). 39 | $(VERBOSE)MAKESILENT = -s 40 | 41 | # Suppress display of executed commands. 42 | $(VERBOSE).SILENT: 43 | 44 | 45 | # A target that is always out of date. 46 | cmake_force: 47 | 48 | .PHONY : cmake_force 49 | 50 | #============================================================================= 51 | # Set environment variables for the build. 52 | 53 | SHELL = cmd.exe 54 | 55 | # The CMake executable. 56 | CMAKE_COMMAND = "D:\Program Files\JetBrains\CLion\CLion 2020.3.3\bin\cmake\win\bin\cmake.exe" 57 | 58 | # The command to remove a file. 59 | RM = "D:\Program Files\JetBrains\CLion\CLion 2020.3.3\bin\cmake\win\bin\cmake.exe" -E rm -f 60 | 61 | # Escaping for special characters. 62 | EQUALS = = 63 | 64 | # The top-level source directory on which CMake was run. 65 | CMAKE_SOURCE_DIR = C:\Users\Pengzhihui\Desktop\SerialChart 66 | 67 | # The top-level build directory on which CMake was run. 68 | CMAKE_BINARY_DIR = C:\Users\Pengzhihui\Desktop\SerialChart\cmake-build-release-mingw-qt 69 | 70 | # Utility rule file for SerialChart_autogen. 71 | 72 | # Include the progress variables for this target. 73 | include CMakeFiles/SerialChart_autogen.dir/progress.make 74 | 75 | CMakeFiles/SerialChart_autogen: qrc_resources.cpp 76 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --blue --bold --progress-dir=C:\Users\Pengzhihui\Desktop\SerialChart\cmake-build-release-mingw-qt\CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Automatic MOC and UIC for target SerialChart" 77 | "D:\Program Files\JetBrains\CLion\CLion 2020.3.3\bin\cmake\win\bin\cmake.exe" -E cmake_autogen C:/Users/Pengzhihui/Desktop/SerialChart/cmake-build-release-mingw-qt/CMakeFiles/SerialChart_autogen.dir/AutogenInfo.json Release 78 | 79 | qrc_resources.cpp: ../images/new.png 80 | qrc_resources.cpp: ../images/open.png 81 | qrc_resources.cpp: ../images/save.png 82 | qrc_resources.cpp: ../images/run.png 83 | qrc_resources.cpp: ../images/stop.png 84 | qrc_resources.cpp: ../resources.qrc 85 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --blue --bold --progress-dir=C:\Users\Pengzhihui\Desktop\SerialChart\cmake-build-release-mingw-qt\CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Generating qrc_resources.cpp" 86 | D:\Libraries\Qt\_Legacy\5.5.1\5.5\mingw492_32\bin\rcc.exe --name resources --output C:/Users/Pengzhihui/Desktop/SerialChart/cmake-build-release-mingw-qt/qrc_resources.cpp C:/Users/Pengzhihui/Desktop/SerialChart/resources.qrc 87 | 88 | SerialChart_autogen: CMakeFiles/SerialChart_autogen 89 | SerialChart_autogen: qrc_resources.cpp 90 | SerialChart_autogen: CMakeFiles/SerialChart_autogen.dir/build.make 91 | 92 | .PHONY : SerialChart_autogen 93 | 94 | # Rule to build all files generated by this target. 95 | CMakeFiles/SerialChart_autogen.dir/build: SerialChart_autogen 96 | 97 | .PHONY : CMakeFiles/SerialChart_autogen.dir/build 98 | 99 | CMakeFiles/SerialChart_autogen.dir/clean: 100 | $(CMAKE_COMMAND) -P CMakeFiles\SerialChart_autogen.dir\cmake_clean.cmake 101 | .PHONY : CMakeFiles/SerialChart_autogen.dir/clean 102 | 103 | CMakeFiles/SerialChart_autogen.dir/depend: 104 | $(CMAKE_COMMAND) -E cmake_depends "MinGW Makefiles" C:\Users\Pengzhihui\Desktop\SerialChart C:\Users\Pengzhihui\Desktop\SerialChart C:\Users\Pengzhihui\Desktop\SerialChart\cmake-build-release-mingw-qt C:\Users\Pengzhihui\Desktop\SerialChart\cmake-build-release-mingw-qt C:\Users\Pengzhihui\Desktop\SerialChart\cmake-build-release-mingw-qt\CMakeFiles\SerialChart_autogen.dir\DependInfo.cmake --color=$(COLOR) 105 | .PHONY : CMakeFiles/SerialChart_autogen.dir/depend 106 | 107 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialChart_autogen.dir/cmake_clean.cmake: -------------------------------------------------------------------------------- 1 | file(REMOVE_RECURSE 2 | "CMakeFiles/SerialChart_autogen" 3 | "SerialChart_autogen/mocs_compilation.cpp" 4 | "qrc_resources.cpp" 5 | ) 6 | 7 | # Per-language clean rules from dependency scanning. 8 | foreach(lang ) 9 | include(CMakeFiles/SerialChart_autogen.dir/cmake_clean_${lang}.cmake OPTIONAL) 10 | endforeach() 11 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialChart_autogen.dir/depend.internal: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "MinGW Makefiles" Generator, CMake Version 3.17 3 | 4 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialChart_autogen.dir/depend.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "MinGW Makefiles" Generator, CMake Version 3.17 3 | 4 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialChart_autogen.dir/progress.make: -------------------------------------------------------------------------------- 1 | CMAKE_PROGRESS_1 = 21 2 | CMAKE_PROGRESS_2 = 22 3 | 4 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/DependInfo.cmake: -------------------------------------------------------------------------------- 1 | # The set of languages for which implicit dependencies are needed: 2 | set(CMAKE_DEPENDS_LANGUAGES 3 | "CXX" 4 | ) 5 | # The set of files for implicit dependencies of each language: 6 | set(CMAKE_DEPENDS_CHECK_CXX 7 | "C:/Users/Pengzhihui/Desktop/SerialChart/cmake-build-release-mingw-qt/SerialPlot_autogen/mocs_compilation.cpp" "C:/Users/Pengzhihui/Desktop/SerialChart/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/SerialPlot_autogen/mocs_compilation.cpp.obj" 8 | "C:/Users/Pengzhihui/Desktop/SerialChart/chart.cpp" "C:/Users/Pengzhihui/Desktop/SerialChart/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/chart.cpp.obj" 9 | "C:/Users/Pengzhihui/Desktop/SerialChart/configuration.cpp" "C:/Users/Pengzhihui/Desktop/SerialChart/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/configuration.cpp.obj" 10 | "C:/Users/Pengzhihui/Desktop/SerialChart/decoderbase.cpp" "C:/Users/Pengzhihui/Desktop/SerialChart/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/decoderbase.cpp.obj" 11 | "C:/Users/Pengzhihui/Desktop/SerialChart/decoderbin.cpp" "C:/Users/Pengzhihui/Desktop/SerialChart/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/decoderbin.cpp.obj" 12 | "C:/Users/Pengzhihui/Desktop/SerialChart/decodercsv.cpp" "C:/Users/Pengzhihui/Desktop/SerialChart/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/decodercsv.cpp.obj" 13 | "C:/Users/Pengzhihui/Desktop/SerialChart/decoderhdlc.cpp" "C:/Users/Pengzhihui/Desktop/SerialChart/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/decoderhdlc.cpp.obj" 14 | "C:/Users/Pengzhihui/Desktop/SerialChart/decoderplugin.cpp" "C:/Users/Pengzhihui/Desktop/SerialChart/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/decoderplugin.cpp.obj" 15 | "C:/Users/Pengzhihui/Desktop/SerialChart/displaybase.cpp" "C:/Users/Pengzhihui/Desktop/SerialChart/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/displaybase.cpp.obj" 16 | "C:/Users/Pengzhihui/Desktop/SerialChart/hiddevice.cpp" "C:/Users/Pengzhihui/Desktop/SerialChart/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/hiddevice.cpp.obj" 17 | "C:/Users/Pengzhihui/Desktop/SerialChart/main.cpp" "C:/Users/Pengzhihui/Desktop/SerialChart/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/main.cpp.obj" 18 | "C:/Users/Pengzhihui/Desktop/SerialChart/mainwindow.cpp" "C:/Users/Pengzhihui/Desktop/SerialChart/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/mainwindow.cpp.obj" 19 | "C:/Users/Pengzhihui/Desktop/SerialChart/plugin.cpp" "C:/Users/Pengzhihui/Desktop/SerialChart/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/plugin.cpp.obj" 20 | "C:/Users/Pengzhihui/Desktop/SerialChart/portbase.cpp" "C:/Users/Pengzhihui/Desktop/SerialChart/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/portbase.cpp.obj" 21 | "C:/Users/Pengzhihui/Desktop/SerialChart/porthid.cpp" "C:/Users/Pengzhihui/Desktop/SerialChart/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/porthid.cpp.obj" 22 | "C:/Users/Pengzhihui/Desktop/SerialChart/portrs232.cpp" "C:/Users/Pengzhihui/Desktop/SerialChart/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/portrs232.cpp.obj" 23 | "C:/Users/Pengzhihui/Desktop/SerialChart/cmake-build-release-mingw-qt/qrc_resources.cpp" "C:/Users/Pengzhihui/Desktop/SerialChart/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/qrc_resources.cpp.obj" 24 | "C:/Users/Pengzhihui/Desktop/SerialChart/serialchartjs.cpp" "C:/Users/Pengzhihui/Desktop/SerialChart/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/serialchartjs.cpp.obj" 25 | ) 26 | set(CMAKE_CXX_COMPILER_ID "GNU") 27 | 28 | # Preprocessor definitions for this target. 29 | set(CMAKE_TARGET_DEFINITIONS_CXX 30 | "QT_CORE_LIB" 31 | "QT_GUI_LIB" 32 | "QT_NETWORK_LIB" 33 | "QT_NO_DEBUG" 34 | "QT_SERIALPORT_LIB" 35 | "QT_WEBKITWIDGETS_LIB" 36 | "QT_WEBKIT_LIB" 37 | "QT_WIDGETS_LIB" 38 | ) 39 | 40 | # The include file search paths: 41 | set(CMAKE_CXX_TARGET_INCLUDE_PATH 42 | "SerialPlot_autogen/include" 43 | "../" 44 | "D:/Libraries/Qt/_Legacy/5.5.1/5.5/mingw492_32/include" 45 | "D:/Libraries/Qt/_Legacy/5.5.1/5.5/mingw492_32/include/QtCore" 46 | "D:/Libraries/Qt/_Legacy/5.5.1/5.5/mingw492_32/./mkspecs/win32-g++" 47 | "D:/Libraries/Qt/_Legacy/5.5.1/5.5/mingw492_32/include/QtGui" 48 | "D:/Libraries/Qt/_Legacy/5.5.1/5.5/mingw492_32/include/QtWidgets" 49 | "D:/Libraries/Qt/_Legacy/5.5.1/5.5/mingw492_32/include/QtSerialPort" 50 | "D:/Libraries/Qt/_Legacy/5.5.1/5.5/mingw492_32/include/QtWebKit" 51 | "D:/Libraries/Qt/_Legacy/5.5.1/5.5/mingw492_32/include/QtNetwork" 52 | "D:/Libraries/Qt/_Legacy/5.5.1/5.5/mingw492_32/include/QtWebKitWidgets" 53 | ) 54 | 55 | # Targets to which this target links. 56 | set(CMAKE_TARGET_LINKED_INFO_FILES 57 | ) 58 | 59 | # Fortran module output directory. 60 | set(CMAKE_Fortran_TARGET_MODULE_DIR "") 61 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/SerialPlot_autogen/mocs_compilation.cpp.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/SerialPlot_autogen/mocs_compilation.cpp.obj -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/chart.cpp.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/chart.cpp.obj -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/cmake_clean.cmake: -------------------------------------------------------------------------------- 1 | file(REMOVE_RECURSE 2 | "CMakeFiles/SerialPlot_autogen.dir/AutogenUsed.txt" 3 | "CMakeFiles/SerialPlot_autogen.dir/ParseCache.txt" 4 | "SerialPlot_autogen" 5 | "CMakeFiles/SerialPlot.dir/SerialPlot_autogen/mocs_compilation.cpp.obj" 6 | "CMakeFiles/SerialPlot.dir/chart.cpp.obj" 7 | "CMakeFiles/SerialPlot.dir/configuration.cpp.obj" 8 | "CMakeFiles/SerialPlot.dir/decoderbase.cpp.obj" 9 | "CMakeFiles/SerialPlot.dir/decoderbin.cpp.obj" 10 | "CMakeFiles/SerialPlot.dir/decodercsv.cpp.obj" 11 | "CMakeFiles/SerialPlot.dir/decoderhdlc.cpp.obj" 12 | "CMakeFiles/SerialPlot.dir/decoderplugin.cpp.obj" 13 | "CMakeFiles/SerialPlot.dir/displaybase.cpp.obj" 14 | "CMakeFiles/SerialPlot.dir/hiddevice.cpp.obj" 15 | "CMakeFiles/SerialPlot.dir/main.cpp.obj" 16 | "CMakeFiles/SerialPlot.dir/mainwindow.cpp.obj" 17 | "CMakeFiles/SerialPlot.dir/plugin.cpp.obj" 18 | "CMakeFiles/SerialPlot.dir/portbase.cpp.obj" 19 | "CMakeFiles/SerialPlot.dir/porthid.cpp.obj" 20 | "CMakeFiles/SerialPlot.dir/portrs232.cpp.obj" 21 | "CMakeFiles/SerialPlot.dir/qrc_resources.cpp.obj" 22 | "CMakeFiles/SerialPlot.dir/serialchartjs.cpp.obj" 23 | "SerialPlot.exe" 24 | "SerialPlot.exe.manifest" 25 | "SerialPlot.pdb" 26 | "libSerialPlot.dll.a" 27 | "qrc_resources.cpp" 28 | ) 29 | 30 | # Per-language clean rules from dependency scanning. 31 | foreach(lang CXX) 32 | include(CMakeFiles/SerialPlot.dir/cmake_clean_${lang}.cmake OPTIONAL) 33 | endforeach() 34 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/configuration.cpp.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/configuration.cpp.obj -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/decoderbase.cpp.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/decoderbase.cpp.obj -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/decoderbin.cpp.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/decoderbin.cpp.obj -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/decodercsv.cpp.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/decodercsv.cpp.obj -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/decoderhdlc.cpp.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/decoderhdlc.cpp.obj -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/decoderplugin.cpp.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/decoderplugin.cpp.obj -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/displaybase.cpp.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/displaybase.cpp.obj -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/flags.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "MinGW Makefiles" Generator, CMake Version 3.17 3 | 4 | # compile CXX with D:/Libraries/Qt/_Legacy/5.5.1/Tools/mingw492_32/bin/g++.exe 5 | CXX_FLAGS = -O3 -DNDEBUG -std=gnu++14 6 | 7 | CXX_DEFINES = -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SERIALPORT_LIB -DQT_WEBKITWIDGETS_LIB -DQT_WEBKIT_LIB -DQT_WIDGETS_LIB 8 | 9 | CXX_INCLUDES = @CMakeFiles/SerialPlot.dir/includes_CXX.rsp 10 | 11 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/hiddevice.cpp.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/hiddevice.cpp.obj -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/includes_CXX.rsp: -------------------------------------------------------------------------------- 1 | -IC:/Users/Pengzhihui/Desktop/SerialChart/cmake-build-release-mingw-qt/SerialPlot_autogen/include -IC:/Users/Pengzhihui/Desktop/SerialChart -isystem D:/Libraries/Qt/_Legacy/5.5.1/5.5/mingw492_32/include -isystem D:/Libraries/Qt/_Legacy/5.5.1/5.5/mingw492_32/include/QtCore -isystem D:/Libraries/Qt/_Legacy/5.5.1/5.5/mingw492_32/./mkspecs/win32-g++ -isystem D:/Libraries/Qt/_Legacy/5.5.1/5.5/mingw492_32/include/QtGui -isystem D:/Libraries/Qt/_Legacy/5.5.1/5.5/mingw492_32/include/QtWidgets -isystem D:/Libraries/Qt/_Legacy/5.5.1/5.5/mingw492_32/include/QtSerialPort -isystem D:/Libraries/Qt/_Legacy/5.5.1/5.5/mingw492_32/include/QtWebKit -isystem D:/Libraries/Qt/_Legacy/5.5.1/5.5/mingw492_32/include/QtNetwork -isystem D:/Libraries/Qt/_Legacy/5.5.1/5.5/mingw492_32/include/QtWebKitWidgets 2 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/link.txt: -------------------------------------------------------------------------------- 1 | "D:\Program Files\JetBrains\CLion\CLion 2020.3.3\bin\cmake\win\bin\cmake.exe" -E rm -f CMakeFiles\SerialPlot.dir/objects.a 2 | D:\Libraries\Qt\_Legacy\5.5.1\Tools\mingw492_32\bin\ar.exe cr CMakeFiles\SerialPlot.dir/objects.a @CMakeFiles\SerialPlot.dir\objects1.rsp 3 | D:\Libraries\Qt\_Legacy\5.5.1\Tools\mingw492_32\bin\g++.exe -O3 -DNDEBUG -Wl,--whole-archive CMakeFiles\SerialPlot.dir/objects.a -Wl,--no-whole-archive -o SerialPlot.exe -Wl,--out-implib,libSerialPlot.dll.a -Wl,--major-image-version,0,--minor-image-version,0 @CMakeFiles\SerialPlot.dir\linklibs.rsp 4 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/linklibs.rsp: -------------------------------------------------------------------------------- 1 | D:/Libraries/Qt/_Legacy/5.5.1/5.5/mingw492_32/lib/libQt5SerialPort.a D:/Libraries/Qt/_Legacy/5.5.1/5.5/mingw492_32/lib/libQt5WebKitWidgets.a -lSetupapi D:/Libraries/Qt/_Legacy/5.5.1/5.5/mingw492_32/lib/libQt5Widgets.a D:/Libraries/Qt/_Legacy/5.5.1/5.5/mingw492_32/lib/libQt5WebKit.a D:/Libraries/Qt/_Legacy/5.5.1/5.5/mingw492_32/lib/libQt5Gui.a D:/Libraries/Qt/_Legacy/5.5.1/5.5/mingw492_32/lib/libQt5Network.a D:/Libraries/Qt/_Legacy/5.5.1/5.5/mingw492_32/lib/libQt5Core.a -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 2 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/main.cpp.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/main.cpp.obj -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/mainwindow.cpp.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/mainwindow.cpp.obj -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/objects.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/objects.a -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/objects1.rsp: -------------------------------------------------------------------------------- 1 | CMakeFiles/SerialPlot.dir/SerialPlot_autogen/mocs_compilation.cpp.obj CMakeFiles/SerialPlot.dir/chart.cpp.obj CMakeFiles/SerialPlot.dir/configuration.cpp.obj CMakeFiles/SerialPlot.dir/decoderbase.cpp.obj CMakeFiles/SerialPlot.dir/decoderbin.cpp.obj CMakeFiles/SerialPlot.dir/decodercsv.cpp.obj CMakeFiles/SerialPlot.dir/decoderhdlc.cpp.obj CMakeFiles/SerialPlot.dir/decoderplugin.cpp.obj CMakeFiles/SerialPlot.dir/displaybase.cpp.obj CMakeFiles/SerialPlot.dir/hiddevice.cpp.obj CMakeFiles/SerialPlot.dir/main.cpp.obj CMakeFiles/SerialPlot.dir/mainwindow.cpp.obj CMakeFiles/SerialPlot.dir/plugin.cpp.obj CMakeFiles/SerialPlot.dir/portbase.cpp.obj CMakeFiles/SerialPlot.dir/porthid.cpp.obj CMakeFiles/SerialPlot.dir/portrs232.cpp.obj CMakeFiles/SerialPlot.dir/serialchartjs.cpp.obj CMakeFiles/SerialPlot.dir/qrc_resources.cpp.obj 2 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/plugin.cpp.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/plugin.cpp.obj -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/portbase.cpp.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/portbase.cpp.obj -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/porthid.cpp.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/porthid.cpp.obj -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/portrs232.cpp.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/portrs232.cpp.obj -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/progress.make: -------------------------------------------------------------------------------- 1 | CMAKE_PROGRESS_1 = 1 2 | CMAKE_PROGRESS_2 = 2 3 | CMAKE_PROGRESS_3 = 3 4 | CMAKE_PROGRESS_4 = 4 5 | CMAKE_PROGRESS_5 = 5 6 | CMAKE_PROGRESS_6 = 6 7 | CMAKE_PROGRESS_7 = 7 8 | CMAKE_PROGRESS_8 = 8 9 | CMAKE_PROGRESS_9 = 9 10 | CMAKE_PROGRESS_10 = 10 11 | CMAKE_PROGRESS_11 = 11 12 | CMAKE_PROGRESS_12 = 12 13 | CMAKE_PROGRESS_13 = 13 14 | CMAKE_PROGRESS_14 = 14 15 | CMAKE_PROGRESS_15 = 15 16 | CMAKE_PROGRESS_16 = 16 17 | CMAKE_PROGRESS_17 = 17 18 | CMAKE_PROGRESS_18 = 18 19 | CMAKE_PROGRESS_19 = 19 20 | CMAKE_PROGRESS_20 = 20 21 | 22 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/qrc_resources.cpp.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/qrc_resources.cpp.obj -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/serialchartjs.cpp.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot.dir/serialchartjs.cpp.obj -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot_autogen.dir/AutogenUsed.txt: -------------------------------------------------------------------------------- 1 | moc:294e74ccd2fa3eab961d1651ef4d9e811585ba8901af66dbdf527fd7eed54c1b 2 | uic:56cbf090846d8cdf3aeacbe7b07851f7fa0e93659896ec56d6d101f22e976caf 3 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot_autogen.dir/DependInfo.cmake: -------------------------------------------------------------------------------- 1 | # The set of languages for which implicit dependencies are needed: 2 | set(CMAKE_DEPENDS_LANGUAGES 3 | ) 4 | # The set of files for implicit dependencies of each language: 5 | 6 | # Targets to which this target links. 7 | set(CMAKE_TARGET_LINKED_INFO_FILES 8 | ) 9 | 10 | # Fortran module output directory. 11 | set(CMAKE_Fortran_TARGET_MODULE_DIR "") 12 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot_autogen.dir/ParseCache.txt: -------------------------------------------------------------------------------- 1 | # Generated by CMake. Changes will be overwritten. 2 | C:/Users/Pengzhihui/Desktop/SerialChart/decoderhdlc.cpp 3 | C:/Users/Pengzhihui/Desktop/SerialChart/decoderbin.cpp 4 | C:/Users/Pengzhihui/Desktop/SerialChart/chart.h 5 | mmc:Q_OBJECT 6 | C:/Users/Pengzhihui/Desktop/SerialChart/plugin.cpp 7 | C:/Users/Pengzhihui/Desktop/SerialChart/displaybase.cpp 8 | C:/Users/Pengzhihui/Desktop/SerialChart/decoderplugin.cpp 9 | C:/Users/Pengzhihui/Desktop/SerialChart/configuration.h 10 | mmc:Q_OBJECT 11 | C:/Users/Pengzhihui/Desktop/SerialChart/decoderbin.h 12 | mmc:Q_OBJECT 13 | C:/Users/Pengzhihui/Desktop/SerialChart/decoderhdlc.h 14 | mmc:Q_OBJECT 15 | C:/Users/Pengzhihui/Desktop/SerialChart/cmake-build-release-mingw-qt/qrc_resources.cpp 16 | C:/Users/Pengzhihui/Desktop/SerialChart/decoderbase.h 17 | mmc:Q_OBJECT 18 | C:/Users/Pengzhihui/Desktop/SerialChart/decodercsv.h 19 | mmc:Q_OBJECT 20 | C:/Users/Pengzhihui/Desktop/SerialChart/plugin.h 21 | mmc:Q_OBJECT 22 | C:/Users/Pengzhihui/Desktop/SerialChart/decoderplugin.h 23 | mmc:Q_OBJECT 24 | C:/Users/Pengzhihui/Desktop/SerialChart/displaybase.h 25 | mmc:Q_OBJECT 26 | C:/Users/Pengzhihui/Desktop/SerialChart/hiddevice.h 27 | C:/Users/Pengzhihui/Desktop/SerialChart/mainwindow.h 28 | mmc:Q_OBJECT 29 | C:/Users/Pengzhihui/Desktop/SerialChart/portbase.h 30 | mmc:Q_OBJECT 31 | C:/Users/Pengzhihui/Desktop/SerialChart/porthid.h 32 | mmc:Q_OBJECT 33 | C:/Users/Pengzhihui/Desktop/SerialChart/portrs232.h 34 | mmc:Q_OBJECT 35 | C:/Users/Pengzhihui/Desktop/SerialChart/serialchartjs.h 36 | mmc:Q_OBJECT 37 | C:/Users/Pengzhihui/Desktop/SerialChart/chart.cpp 38 | C:/Users/Pengzhihui/Desktop/SerialChart/configuration.cpp 39 | C:/Users/Pengzhihui/Desktop/SerialChart/decoderbase.cpp 40 | C:/Users/Pengzhihui/Desktop/SerialChart/decodercsv.cpp 41 | C:/Users/Pengzhihui/Desktop/SerialChart/hiddevice.cpp 42 | C:/Users/Pengzhihui/Desktop/SerialChart/main.cpp 43 | uic:ui_mainwindow.h 44 | C:/Users/Pengzhihui/Desktop/SerialChart/mainwindow.cpp 45 | uic:ui_mainwindow.h 46 | C:/Users/Pengzhihui/Desktop/SerialChart/portbase.cpp 47 | C:/Users/Pengzhihui/Desktop/SerialChart/porthid.cpp 48 | C:/Users/Pengzhihui/Desktop/SerialChart/portrs232.cpp 49 | C:/Users/Pengzhihui/Desktop/SerialChart/serialchartjs.cpp 50 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot_autogen.dir/build.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "MinGW Makefiles" Generator, CMake Version 3.17 3 | 4 | # Delete rule output on recipe failure. 5 | .DELETE_ON_ERROR: 6 | 7 | 8 | #============================================================================= 9 | # Special targets provided by cmake. 10 | 11 | # Disable implicit rules so canonical targets will work. 12 | .SUFFIXES: 13 | 14 | 15 | # Disable VCS-based implicit rules. 16 | % : %,v 17 | 18 | 19 | # Disable VCS-based implicit rules. 20 | % : RCS/% 21 | 22 | 23 | # Disable VCS-based implicit rules. 24 | % : RCS/%,v 25 | 26 | 27 | # Disable VCS-based implicit rules. 28 | % : SCCS/s.% 29 | 30 | 31 | # Disable VCS-based implicit rules. 32 | % : s.% 33 | 34 | 35 | .SUFFIXES: .hpux_make_needs_suffix_list 36 | 37 | 38 | # Command-line flag to silence nested $(MAKE). 39 | $(VERBOSE)MAKESILENT = -s 40 | 41 | # Suppress display of executed commands. 42 | $(VERBOSE).SILENT: 43 | 44 | 45 | # A target that is always out of date. 46 | cmake_force: 47 | 48 | .PHONY : cmake_force 49 | 50 | #============================================================================= 51 | # Set environment variables for the build. 52 | 53 | SHELL = cmd.exe 54 | 55 | # The CMake executable. 56 | CMAKE_COMMAND = "D:\Program Files\JetBrains\CLion\CLion 2020.3.3\bin\cmake\win\bin\cmake.exe" 57 | 58 | # The command to remove a file. 59 | RM = "D:\Program Files\JetBrains\CLion\CLion 2020.3.3\bin\cmake\win\bin\cmake.exe" -E rm -f 60 | 61 | # Escaping for special characters. 62 | EQUALS = = 63 | 64 | # The top-level source directory on which CMake was run. 65 | CMAKE_SOURCE_DIR = C:\Users\Pengzhihui\Desktop\SerialChart 66 | 67 | # The top-level build directory on which CMake was run. 68 | CMAKE_BINARY_DIR = C:\Users\Pengzhihui\Desktop\SerialChart\cmake-build-release-mingw-qt 69 | 70 | # Utility rule file for SerialPlot_autogen. 71 | 72 | # Include the progress variables for this target. 73 | include CMakeFiles/SerialPlot_autogen.dir/progress.make 74 | 75 | CMakeFiles/SerialPlot_autogen: qrc_resources.cpp 76 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --blue --bold --progress-dir=C:\Users\Pengzhihui\Desktop\SerialChart\cmake-build-release-mingw-qt\CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Automatic MOC and UIC for target SerialPlot" 77 | "D:\Program Files\JetBrains\CLion\CLion 2020.3.3\bin\cmake\win\bin\cmake.exe" -E cmake_autogen C:/Users/Pengzhihui/Desktop/SerialChart/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot_autogen.dir/AutogenInfo.json Release 78 | 79 | qrc_resources.cpp: ../images/new.png 80 | qrc_resources.cpp: ../images/open.png 81 | qrc_resources.cpp: ../images/save.png 82 | qrc_resources.cpp: ../images/run.png 83 | qrc_resources.cpp: ../images/stop.png 84 | qrc_resources.cpp: ../resources.qrc 85 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --blue --bold --progress-dir=C:\Users\Pengzhihui\Desktop\SerialChart\cmake-build-release-mingw-qt\CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Generating qrc_resources.cpp" 86 | D:\Libraries\Qt\_Legacy\5.5.1\5.5\mingw492_32\bin\rcc.exe --name resources --output C:/Users/Pengzhihui/Desktop/SerialChart/cmake-build-release-mingw-qt/qrc_resources.cpp C:/Users/Pengzhihui/Desktop/SerialChart/resources.qrc 87 | 88 | SerialPlot_autogen: CMakeFiles/SerialPlot_autogen 89 | SerialPlot_autogen: qrc_resources.cpp 90 | SerialPlot_autogen: CMakeFiles/SerialPlot_autogen.dir/build.make 91 | 92 | .PHONY : SerialPlot_autogen 93 | 94 | # Rule to build all files generated by this target. 95 | CMakeFiles/SerialPlot_autogen.dir/build: SerialPlot_autogen 96 | 97 | .PHONY : CMakeFiles/SerialPlot_autogen.dir/build 98 | 99 | CMakeFiles/SerialPlot_autogen.dir/clean: 100 | $(CMAKE_COMMAND) -P CMakeFiles\SerialPlot_autogen.dir\cmake_clean.cmake 101 | .PHONY : CMakeFiles/SerialPlot_autogen.dir/clean 102 | 103 | CMakeFiles/SerialPlot_autogen.dir/depend: 104 | $(CMAKE_COMMAND) -E cmake_depends "MinGW Makefiles" C:\Users\Pengzhihui\Desktop\SerialChart C:\Users\Pengzhihui\Desktop\SerialChart C:\Users\Pengzhihui\Desktop\SerialChart\cmake-build-release-mingw-qt C:\Users\Pengzhihui\Desktop\SerialChart\cmake-build-release-mingw-qt C:\Users\Pengzhihui\Desktop\SerialChart\cmake-build-release-mingw-qt\CMakeFiles\SerialPlot_autogen.dir\DependInfo.cmake --color=$(COLOR) 105 | .PHONY : CMakeFiles/SerialPlot_autogen.dir/depend 106 | 107 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot_autogen.dir/cmake_clean.cmake: -------------------------------------------------------------------------------- 1 | file(REMOVE_RECURSE 2 | "CMakeFiles/SerialPlot_autogen" 3 | "SerialPlot_autogen/mocs_compilation.cpp" 4 | "qrc_resources.cpp" 5 | ) 6 | 7 | # Per-language clean rules from dependency scanning. 8 | foreach(lang ) 9 | include(CMakeFiles/SerialPlot_autogen.dir/cmake_clean_${lang}.cmake OPTIONAL) 10 | endforeach() 11 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot_autogen.dir/depend.internal: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "MinGW Makefiles" Generator, CMake Version 3.17 3 | 4 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot_autogen.dir/depend.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "MinGW Makefiles" Generator, CMake Version 3.17 3 | 4 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/SerialPlot_autogen.dir/progress.make: -------------------------------------------------------------------------------- 1 | CMAKE_PROGRESS_1 = 21 2 | CMAKE_PROGRESS_2 = 22 3 | 4 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/TargetDirectories.txt: -------------------------------------------------------------------------------- 1 | C:/Users/Pengzhihui/Desktop/SerialChart/cmake-build-release-mingw-qt/CMakeFiles/SerialChart.dir 2 | C:/Users/Pengzhihui/Desktop/SerialChart/cmake-build-release-mingw-qt/CMakeFiles/edit_cache.dir 3 | C:/Users/Pengzhihui/Desktop/SerialChart/cmake-build-release-mingw-qt/CMakeFiles/rebuild_cache.dir 4 | C:/Users/Pengzhihui/Desktop/SerialChart/cmake-build-release-mingw-qt/CMakeFiles/SerialChart_autogen.dir 5 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/clion-environment.txt: -------------------------------------------------------------------------------- 1 | ToolSet: w64 3.4 (local)@D:\Libraries\Qt\_Legacy\5.5.1\Tools\mingw492_32 2 | Options: 3 | 4 | Options: -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/clion-log.txt: -------------------------------------------------------------------------------- 1 | "D:\Program Files\JetBrains\CLion\CLion 2020.3.3\bin\cmake\win\bin\cmake.exe" -DCMAKE_BUILD_TYPE=Release -G "CodeBlocks - MinGW Makefiles" C:\Users\Pengzhihui\Desktop\SerialChart 2 | -- Configuring done 3 | -- Generating done 4 | -- Build files have been written to: C:/Users/Pengzhihui/Desktop/SerialChart/cmake-build-release-mingw-qt 5 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/cmake.check_cache: -------------------------------------------------------------------------------- 1 | # This file is generated by cmake for dependency checking of the CMakeCache.txt file 2 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/feature_tests.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/feature_tests.bin -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/CMakeFiles/progress.marks: -------------------------------------------------------------------------------- 1 | 22 2 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/Qt5Core.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/Qt5Core.dll -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/Qt5Gui.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/Qt5Gui.dll -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/Qt5Multimedia.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/Qt5Multimedia.dll -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/Qt5MultimediaWidgets.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/Qt5MultimediaWidgets.dll -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/Qt5Network.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/Qt5Network.dll -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/Qt5OpenGL.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/Qt5OpenGL.dll -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/Qt5Positioning.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/Qt5Positioning.dll -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/Qt5PrintSupport.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/Qt5PrintSupport.dll -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/Qt5Qml.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/Qt5Qml.dll -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/Qt5Quick.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/Qt5Quick.dll -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/Qt5QuickParticles.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/Qt5QuickParticles.dll -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/Qt5QuickTest.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/Qt5QuickTest.dll -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/Qt5QuickWidgets.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/Qt5QuickWidgets.dll -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/Qt5Script.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/Qt5Script.dll -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/Qt5ScriptTools.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/Qt5ScriptTools.dll -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/Qt5Sensors.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/Qt5Sensors.dll -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/Qt5SerialPort.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/Qt5SerialPort.dll -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/Qt5Sql.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/Qt5Sql.dll -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/Qt5Svg.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/Qt5Svg.dll -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/Qt5Test.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/Qt5Test.dll -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/Qt5WebChannel.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/Qt5WebChannel.dll -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/Qt5WebKit.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/Qt5WebKit.dll -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/Qt5WebKitWidgets.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/Qt5WebKitWidgets.dll -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/Qt5WebSockets.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/Qt5WebSockets.dll -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/Qt5Widgets.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/Qt5Widgets.dll -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/SerialChart.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/SerialChart.exe -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/SerialChart_autogen/EWIEGA46WW/moc_chart.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'chart.h' 3 | ** 4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.5.1) 5 | ** 6 | ** WARNING! All changes made in this file will be lost! 7 | *****************************************************************************/ 8 | 9 | #include "../../../chart.h" 10 | #include 11 | #include 12 | #if !defined(Q_MOC_OUTPUT_REVISION) 13 | #error "The header file 'chart.h' doesn't include ." 14 | #elif Q_MOC_OUTPUT_REVISION != 67 15 | #error "This file was generated using the moc from 5.5.1. It" 16 | #error "cannot be used with the include files from this version of Qt." 17 | #error "(The moc has changed too much.)" 18 | #endif 19 | 20 | QT_BEGIN_MOC_NAMESPACE 21 | struct qt_meta_stringdata_Chart_t { 22 | QByteArrayData data[5]; 23 | char stringdata0[38]; 24 | }; 25 | #define QT_MOC_LITERAL(idx, ofs, len) \ 26 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ 27 | qptrdiff(offsetof(qt_meta_stringdata_Chart_t, stringdata0) + ofs \ 28 | - idx * sizeof(QByteArrayData)) \ 29 | ) 30 | static const qt_meta_stringdata_Chart_t qt_meta_stringdata_Chart = { 31 | { 32 | QT_MOC_LITERAL(0, 0, 5), // "Chart" 33 | QT_MOC_LITERAL(1, 6, 9), // "newPacket" 34 | QT_MOC_LITERAL(2, 16, 0), // "" 35 | QT_MOC_LITERAL(3, 17, 12), // "DecoderBase*" 36 | QT_MOC_LITERAL(4, 30, 7) // "decoder" 37 | 38 | }, 39 | "Chart\0newPacket\0\0DecoderBase*\0decoder" 40 | }; 41 | #undef QT_MOC_LITERAL 42 | 43 | static const uint qt_meta_data_Chart[] = { 44 | 45 | // content: 46 | 7, // revision 47 | 0, // classname 48 | 0, 0, // classinfo 49 | 1, 14, // methods 50 | 0, 0, // properties 51 | 0, 0, // enums/sets 52 | 0, 0, // constructors 53 | 0, // flags 54 | 0, // signalCount 55 | 56 | // slots: name, argc, parameters, tag, flags 57 | 1, 1, 19, 2, 0x0a /* Public */, 58 | 59 | // slots: parameters 60 | QMetaType::Void, 0x80000000 | 3, 4, 61 | 62 | 0 // eod 63 | }; 64 | 65 | void Chart::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) 66 | { 67 | if (_c == QMetaObject::InvokeMetaMethod) { 68 | Chart *_t = static_cast(_o); 69 | Q_UNUSED(_t) 70 | switch (_id) { 71 | case 0: _t->newPacket((*reinterpret_cast< DecoderBase*(*)>(_a[1]))); break; 72 | default: ; 73 | } 74 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { 75 | switch (_id) { 76 | default: *reinterpret_cast(_a[0]) = -1; break; 77 | case 0: 78 | switch (*reinterpret_cast(_a[1])) { 79 | default: *reinterpret_cast(_a[0]) = -1; break; 80 | case 0: 81 | *reinterpret_cast(_a[0]) = qRegisterMetaType< DecoderBase* >(); break; 82 | } 83 | break; 84 | } 85 | } 86 | } 87 | 88 | const QMetaObject Chart::staticMetaObject = { 89 | { &QWidget::staticMetaObject, qt_meta_stringdata_Chart.data, 90 | qt_meta_data_Chart, qt_static_metacall, Q_NULLPTR, Q_NULLPTR} 91 | }; 92 | 93 | 94 | const QMetaObject *Chart::metaObject() const 95 | { 96 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; 97 | } 98 | 99 | void *Chart::qt_metacast(const char *_clname) 100 | { 101 | if (!_clname) return Q_NULLPTR; 102 | if (!strcmp(_clname, qt_meta_stringdata_Chart.stringdata0)) 103 | return static_cast(const_cast< Chart*>(this)); 104 | return QWidget::qt_metacast(_clname); 105 | } 106 | 107 | int Chart::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 108 | { 109 | _id = QWidget::qt_metacall(_c, _id, _a); 110 | if (_id < 0) 111 | return _id; 112 | if (_c == QMetaObject::InvokeMetaMethod) { 113 | if (_id < 1) 114 | qt_static_metacall(this, _c, _id, _a); 115 | _id -= 1; 116 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { 117 | if (_id < 1) 118 | qt_static_metacall(this, _c, _id, _a); 119 | _id -= 1; 120 | } 121 | return _id; 122 | } 123 | QT_END_MOC_NAMESPACE 124 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/SerialChart_autogen/EWIEGA46WW/moc_configuration.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'configuration.h' 3 | ** 4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.5.1) 5 | ** 6 | ** WARNING! All changes made in this file will be lost! 7 | *****************************************************************************/ 8 | 9 | #include "../../../configuration.h" 10 | #include 11 | #include 12 | #if !defined(Q_MOC_OUTPUT_REVISION) 13 | #error "The header file 'configuration.h' doesn't include ." 14 | #elif Q_MOC_OUTPUT_REVISION != 67 15 | #error "This file was generated using the moc from 5.5.1. It" 16 | #error "cannot be used with the include files from this version of Qt." 17 | #error "(The moc has changed too much.)" 18 | #endif 19 | 20 | QT_BEGIN_MOC_NAMESPACE 21 | struct qt_meta_stringdata_Configuration_t { 22 | QByteArrayData data[1]; 23 | char stringdata0[14]; 24 | }; 25 | #define QT_MOC_LITERAL(idx, ofs, len) \ 26 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ 27 | qptrdiff(offsetof(qt_meta_stringdata_Configuration_t, stringdata0) + ofs \ 28 | - idx * sizeof(QByteArrayData)) \ 29 | ) 30 | static const qt_meta_stringdata_Configuration_t qt_meta_stringdata_Configuration = { 31 | { 32 | QT_MOC_LITERAL(0, 0, 13) // "Configuration" 33 | 34 | }, 35 | "Configuration" 36 | }; 37 | #undef QT_MOC_LITERAL 38 | 39 | static const uint qt_meta_data_Configuration[] = { 40 | 41 | // content: 42 | 7, // revision 43 | 0, // classname 44 | 0, 0, // classinfo 45 | 0, 0, // methods 46 | 0, 0, // properties 47 | 0, 0, // enums/sets 48 | 0, 0, // constructors 49 | 0, // flags 50 | 0, // signalCount 51 | 52 | 0 // eod 53 | }; 54 | 55 | void Configuration::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) 56 | { 57 | Q_UNUSED(_o); 58 | Q_UNUSED(_id); 59 | Q_UNUSED(_c); 60 | Q_UNUSED(_a); 61 | } 62 | 63 | const QMetaObject Configuration::staticMetaObject = { 64 | { &QObject::staticMetaObject, qt_meta_stringdata_Configuration.data, 65 | qt_meta_data_Configuration, qt_static_metacall, Q_NULLPTR, Q_NULLPTR} 66 | }; 67 | 68 | 69 | const QMetaObject *Configuration::metaObject() const 70 | { 71 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; 72 | } 73 | 74 | void *Configuration::qt_metacast(const char *_clname) 75 | { 76 | if (!_clname) return Q_NULLPTR; 77 | if (!strcmp(_clname, qt_meta_stringdata_Configuration.stringdata0)) 78 | return static_cast(const_cast< Configuration*>(this)); 79 | return QObject::qt_metacast(_clname); 80 | } 81 | 82 | int Configuration::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 83 | { 84 | _id = QObject::qt_metacall(_c, _id, _a); 85 | if (_id < 0) 86 | return _id; 87 | return _id; 88 | } 89 | QT_END_MOC_NAMESPACE 90 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/SerialChart_autogen/EWIEGA46WW/moc_decoderbase.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'decoderbase.h' 3 | ** 4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.5.1) 5 | ** 6 | ** WARNING! All changes made in this file will be lost! 7 | *****************************************************************************/ 8 | 9 | #include "../../../decoderbase.h" 10 | #include 11 | #include 12 | #if !defined(Q_MOC_OUTPUT_REVISION) 13 | #error "The header file 'decoderbase.h' doesn't include ." 14 | #elif Q_MOC_OUTPUT_REVISION != 67 15 | #error "This file was generated using the moc from 5.5.1. It" 16 | #error "cannot be used with the include files from this version of Qt." 17 | #error "(The moc has changed too much.)" 18 | #endif 19 | 20 | QT_BEGIN_MOC_NAMESPACE 21 | struct qt_meta_stringdata_DecoderBase_t { 22 | QByteArrayData data[3]; 23 | char stringdata0[21]; 24 | }; 25 | #define QT_MOC_LITERAL(idx, ofs, len) \ 26 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ 27 | qptrdiff(offsetof(qt_meta_stringdata_DecoderBase_t, stringdata0) + ofs \ 28 | - idx * sizeof(QByteArrayData)) \ 29 | ) 30 | static const qt_meta_stringdata_DecoderBase_t qt_meta_stringdata_DecoderBase = { 31 | { 32 | QT_MOC_LITERAL(0, 0, 11), // "DecoderBase" 33 | QT_MOC_LITERAL(1, 12, 7), // "newData" 34 | QT_MOC_LITERAL(2, 20, 0) // "" 35 | 36 | }, 37 | "DecoderBase\0newData\0" 38 | }; 39 | #undef QT_MOC_LITERAL 40 | 41 | static const uint qt_meta_data_DecoderBase[] = { 42 | 43 | // content: 44 | 7, // revision 45 | 0, // classname 46 | 0, 0, // classinfo 47 | 1, 14, // methods 48 | 0, 0, // properties 49 | 0, 0, // enums/sets 50 | 0, 0, // constructors 51 | 0, // flags 52 | 0, // signalCount 53 | 54 | // slots: name, argc, parameters, tag, flags 55 | 1, 1, 19, 2, 0x0a /* Public */, 56 | 57 | // slots: parameters 58 | QMetaType::Void, QMetaType::QByteArray, 2, 59 | 60 | 0 // eod 61 | }; 62 | 63 | void DecoderBase::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) 64 | { 65 | if (_c == QMetaObject::InvokeMetaMethod) { 66 | DecoderBase *_t = static_cast(_o); 67 | Q_UNUSED(_t) 68 | switch (_id) { 69 | case 0: _t->newData((*reinterpret_cast< const QByteArray(*)>(_a[1]))); break; 70 | default: ; 71 | } 72 | } 73 | } 74 | 75 | const QMetaObject DecoderBase::staticMetaObject = { 76 | { &QObject::staticMetaObject, qt_meta_stringdata_DecoderBase.data, 77 | qt_meta_data_DecoderBase, qt_static_metacall, Q_NULLPTR, Q_NULLPTR} 78 | }; 79 | 80 | 81 | const QMetaObject *DecoderBase::metaObject() const 82 | { 83 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; 84 | } 85 | 86 | void *DecoderBase::qt_metacast(const char *_clname) 87 | { 88 | if (!_clname) return Q_NULLPTR; 89 | if (!strcmp(_clname, qt_meta_stringdata_DecoderBase.stringdata0)) 90 | return static_cast(const_cast< DecoderBase*>(this)); 91 | return QObject::qt_metacast(_clname); 92 | } 93 | 94 | int DecoderBase::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 95 | { 96 | _id = QObject::qt_metacall(_c, _id, _a); 97 | if (_id < 0) 98 | return _id; 99 | if (_c == QMetaObject::InvokeMetaMethod) { 100 | if (_id < 1) 101 | qt_static_metacall(this, _c, _id, _a); 102 | _id -= 1; 103 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { 104 | if (_id < 1) 105 | *reinterpret_cast(_a[0]) = -1; 106 | _id -= 1; 107 | } 108 | return _id; 109 | } 110 | QT_END_MOC_NAMESPACE 111 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/SerialChart_autogen/EWIEGA46WW/moc_decoderbin.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'decoderbin.h' 3 | ** 4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.5.1) 5 | ** 6 | ** WARNING! All changes made in this file will be lost! 7 | *****************************************************************************/ 8 | 9 | #include "../../../decoderbin.h" 10 | #include 11 | #include 12 | #if !defined(Q_MOC_OUTPUT_REVISION) 13 | #error "The header file 'decoderbin.h' doesn't include ." 14 | #elif Q_MOC_OUTPUT_REVISION != 67 15 | #error "This file was generated using the moc from 5.5.1. It" 16 | #error "cannot be used with the include files from this version of Qt." 17 | #error "(The moc has changed too much.)" 18 | #endif 19 | 20 | QT_BEGIN_MOC_NAMESPACE 21 | struct qt_meta_stringdata_DecoderBin_t { 22 | QByteArrayData data[5]; 23 | char stringdata0[43]; 24 | }; 25 | #define QT_MOC_LITERAL(idx, ofs, len) \ 26 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ 27 | qptrdiff(offsetof(qt_meta_stringdata_DecoderBin_t, stringdata0) + ofs \ 28 | - idx * sizeof(QByteArrayData)) \ 29 | ) 30 | static const qt_meta_stringdata_DecoderBin_t qt_meta_stringdata_DecoderBin = { 31 | { 32 | QT_MOC_LITERAL(0, 0, 10), // "DecoderBin" 33 | QT_MOC_LITERAL(1, 11, 9), // "newPacket" 34 | QT_MOC_LITERAL(2, 21, 0), // "" 35 | QT_MOC_LITERAL(3, 22, 12), // "DecoderBase*" 36 | QT_MOC_LITERAL(4, 35, 7) // "newData" 37 | 38 | }, 39 | "DecoderBin\0newPacket\0\0DecoderBase*\0" 40 | "newData" 41 | }; 42 | #undef QT_MOC_LITERAL 43 | 44 | static const uint qt_meta_data_DecoderBin[] = { 45 | 46 | // content: 47 | 7, // revision 48 | 0, // classname 49 | 0, 0, // classinfo 50 | 2, 14, // methods 51 | 0, 0, // properties 52 | 0, 0, // enums/sets 53 | 0, 0, // constructors 54 | 0, // flags 55 | 1, // signalCount 56 | 57 | // signals: name, argc, parameters, tag, flags 58 | 1, 1, 24, 2, 0x06 /* Public */, 59 | 60 | // slots: name, argc, parameters, tag, flags 61 | 4, 1, 27, 2, 0x0a /* Public */, 62 | 63 | // signals: parameters 64 | QMetaType::Void, 0x80000000 | 3, 2, 65 | 66 | // slots: parameters 67 | QMetaType::Void, QMetaType::QByteArray, 2, 68 | 69 | 0 // eod 70 | }; 71 | 72 | void DecoderBin::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) 73 | { 74 | if (_c == QMetaObject::InvokeMetaMethod) { 75 | DecoderBin *_t = static_cast(_o); 76 | Q_UNUSED(_t) 77 | switch (_id) { 78 | case 0: _t->newPacket((*reinterpret_cast< DecoderBase*(*)>(_a[1]))); break; 79 | case 1: _t->newData((*reinterpret_cast< const QByteArray(*)>(_a[1]))); break; 80 | default: ; 81 | } 82 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { 83 | switch (_id) { 84 | default: *reinterpret_cast(_a[0]) = -1; break; 85 | case 0: 86 | switch (*reinterpret_cast(_a[1])) { 87 | default: *reinterpret_cast(_a[0]) = -1; break; 88 | case 0: 89 | *reinterpret_cast(_a[0]) = qRegisterMetaType< DecoderBase* >(); break; 90 | } 91 | break; 92 | } 93 | } else if (_c == QMetaObject::IndexOfMethod) { 94 | int *result = reinterpret_cast(_a[0]); 95 | void **func = reinterpret_cast(_a[1]); 96 | { 97 | typedef void (DecoderBin::*_t)(DecoderBase * ); 98 | if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DecoderBin::newPacket)) { 99 | *result = 0; 100 | } 101 | } 102 | } 103 | } 104 | 105 | const QMetaObject DecoderBin::staticMetaObject = { 106 | { &DecoderBase::staticMetaObject, qt_meta_stringdata_DecoderBin.data, 107 | qt_meta_data_DecoderBin, qt_static_metacall, Q_NULLPTR, Q_NULLPTR} 108 | }; 109 | 110 | 111 | const QMetaObject *DecoderBin::metaObject() const 112 | { 113 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; 114 | } 115 | 116 | void *DecoderBin::qt_metacast(const char *_clname) 117 | { 118 | if (!_clname) return Q_NULLPTR; 119 | if (!strcmp(_clname, qt_meta_stringdata_DecoderBin.stringdata0)) 120 | return static_cast(const_cast< DecoderBin*>(this)); 121 | return DecoderBase::qt_metacast(_clname); 122 | } 123 | 124 | int DecoderBin::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 125 | { 126 | _id = DecoderBase::qt_metacall(_c, _id, _a); 127 | if (_id < 0) 128 | return _id; 129 | if (_c == QMetaObject::InvokeMetaMethod) { 130 | if (_id < 2) 131 | qt_static_metacall(this, _c, _id, _a); 132 | _id -= 2; 133 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { 134 | if (_id < 2) 135 | qt_static_metacall(this, _c, _id, _a); 136 | _id -= 2; 137 | } 138 | return _id; 139 | } 140 | 141 | // SIGNAL 0 142 | void DecoderBin::newPacket(DecoderBase * _t1) 143 | { 144 | void *_a[] = { Q_NULLPTR, const_cast(reinterpret_cast(&_t1)) }; 145 | QMetaObject::activate(this, &staticMetaObject, 0, _a); 146 | } 147 | QT_END_MOC_NAMESPACE 148 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/SerialChart_autogen/EWIEGA46WW/moc_decodercsv.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'decodercsv.h' 3 | ** 4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.5.1) 5 | ** 6 | ** WARNING! All changes made in this file will be lost! 7 | *****************************************************************************/ 8 | 9 | #include "../../../decodercsv.h" 10 | #include 11 | #include 12 | #if !defined(Q_MOC_OUTPUT_REVISION) 13 | #error "The header file 'decodercsv.h' doesn't include ." 14 | #elif Q_MOC_OUTPUT_REVISION != 67 15 | #error "This file was generated using the moc from 5.5.1. It" 16 | #error "cannot be used with the include files from this version of Qt." 17 | #error "(The moc has changed too much.)" 18 | #endif 19 | 20 | QT_BEGIN_MOC_NAMESPACE 21 | struct qt_meta_stringdata_DecoderCsv_t { 22 | QByteArrayData data[5]; 23 | char stringdata0[43]; 24 | }; 25 | #define QT_MOC_LITERAL(idx, ofs, len) \ 26 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ 27 | qptrdiff(offsetof(qt_meta_stringdata_DecoderCsv_t, stringdata0) + ofs \ 28 | - idx * sizeof(QByteArrayData)) \ 29 | ) 30 | static const qt_meta_stringdata_DecoderCsv_t qt_meta_stringdata_DecoderCsv = { 31 | { 32 | QT_MOC_LITERAL(0, 0, 10), // "DecoderCsv" 33 | QT_MOC_LITERAL(1, 11, 9), // "newPacket" 34 | QT_MOC_LITERAL(2, 21, 0), // "" 35 | QT_MOC_LITERAL(3, 22, 12), // "DecoderBase*" 36 | QT_MOC_LITERAL(4, 35, 7) // "newData" 37 | 38 | }, 39 | "DecoderCsv\0newPacket\0\0DecoderBase*\0" 40 | "newData" 41 | }; 42 | #undef QT_MOC_LITERAL 43 | 44 | static const uint qt_meta_data_DecoderCsv[] = { 45 | 46 | // content: 47 | 7, // revision 48 | 0, // classname 49 | 0, 0, // classinfo 50 | 2, 14, // methods 51 | 0, 0, // properties 52 | 0, 0, // enums/sets 53 | 0, 0, // constructors 54 | 0, // flags 55 | 1, // signalCount 56 | 57 | // signals: name, argc, parameters, tag, flags 58 | 1, 1, 24, 2, 0x06 /* Public */, 59 | 60 | // slots: name, argc, parameters, tag, flags 61 | 4, 1, 27, 2, 0x0a /* Public */, 62 | 63 | // signals: parameters 64 | QMetaType::Void, 0x80000000 | 3, 2, 65 | 66 | // slots: parameters 67 | QMetaType::Void, QMetaType::QByteArray, 2, 68 | 69 | 0 // eod 70 | }; 71 | 72 | void DecoderCsv::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) 73 | { 74 | if (_c == QMetaObject::InvokeMetaMethod) { 75 | DecoderCsv *_t = static_cast(_o); 76 | Q_UNUSED(_t) 77 | switch (_id) { 78 | case 0: _t->newPacket((*reinterpret_cast< DecoderBase*(*)>(_a[1]))); break; 79 | case 1: _t->newData((*reinterpret_cast< const QByteArray(*)>(_a[1]))); break; 80 | default: ; 81 | } 82 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { 83 | switch (_id) { 84 | default: *reinterpret_cast(_a[0]) = -1; break; 85 | case 0: 86 | switch (*reinterpret_cast(_a[1])) { 87 | default: *reinterpret_cast(_a[0]) = -1; break; 88 | case 0: 89 | *reinterpret_cast(_a[0]) = qRegisterMetaType< DecoderBase* >(); break; 90 | } 91 | break; 92 | } 93 | } else if (_c == QMetaObject::IndexOfMethod) { 94 | int *result = reinterpret_cast(_a[0]); 95 | void **func = reinterpret_cast(_a[1]); 96 | { 97 | typedef void (DecoderCsv::*_t)(DecoderBase * ); 98 | if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DecoderCsv::newPacket)) { 99 | *result = 0; 100 | } 101 | } 102 | } 103 | } 104 | 105 | const QMetaObject DecoderCsv::staticMetaObject = { 106 | { &DecoderBase::staticMetaObject, qt_meta_stringdata_DecoderCsv.data, 107 | qt_meta_data_DecoderCsv, qt_static_metacall, Q_NULLPTR, Q_NULLPTR} 108 | }; 109 | 110 | 111 | const QMetaObject *DecoderCsv::metaObject() const 112 | { 113 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; 114 | } 115 | 116 | void *DecoderCsv::qt_metacast(const char *_clname) 117 | { 118 | if (!_clname) return Q_NULLPTR; 119 | if (!strcmp(_clname, qt_meta_stringdata_DecoderCsv.stringdata0)) 120 | return static_cast(const_cast< DecoderCsv*>(this)); 121 | return DecoderBase::qt_metacast(_clname); 122 | } 123 | 124 | int DecoderCsv::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 125 | { 126 | _id = DecoderBase::qt_metacall(_c, _id, _a); 127 | if (_id < 0) 128 | return _id; 129 | if (_c == QMetaObject::InvokeMetaMethod) { 130 | if (_id < 2) 131 | qt_static_metacall(this, _c, _id, _a); 132 | _id -= 2; 133 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { 134 | if (_id < 2) 135 | qt_static_metacall(this, _c, _id, _a); 136 | _id -= 2; 137 | } 138 | return _id; 139 | } 140 | 141 | // SIGNAL 0 142 | void DecoderCsv::newPacket(DecoderBase * _t1) 143 | { 144 | void *_a[] = { Q_NULLPTR, const_cast(reinterpret_cast(&_t1)) }; 145 | QMetaObject::activate(this, &staticMetaObject, 0, _a); 146 | } 147 | QT_END_MOC_NAMESPACE 148 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/SerialChart_autogen/EWIEGA46WW/moc_decoderhdlc.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'decoderhdlc.h' 3 | ** 4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.5.1) 5 | ** 6 | ** WARNING! All changes made in this file will be lost! 7 | *****************************************************************************/ 8 | 9 | #include "../../../decoderhdlc.h" 10 | #include 11 | #include 12 | #if !defined(Q_MOC_OUTPUT_REVISION) 13 | #error "The header file 'decoderhdlc.h' doesn't include ." 14 | #elif Q_MOC_OUTPUT_REVISION != 67 15 | #error "This file was generated using the moc from 5.5.1. It" 16 | #error "cannot be used with the include files from this version of Qt." 17 | #error "(The moc has changed too much.)" 18 | #endif 19 | 20 | QT_BEGIN_MOC_NAMESPACE 21 | struct qt_meta_stringdata_DecoderHdlc_t { 22 | QByteArrayData data[3]; 23 | char stringdata0[21]; 24 | }; 25 | #define QT_MOC_LITERAL(idx, ofs, len) \ 26 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ 27 | qptrdiff(offsetof(qt_meta_stringdata_DecoderHdlc_t, stringdata0) + ofs \ 28 | - idx * sizeof(QByteArrayData)) \ 29 | ) 30 | static const qt_meta_stringdata_DecoderHdlc_t qt_meta_stringdata_DecoderHdlc = { 31 | { 32 | QT_MOC_LITERAL(0, 0, 11), // "DecoderHdlc" 33 | QT_MOC_LITERAL(1, 12, 7), // "newData" 34 | QT_MOC_LITERAL(2, 20, 0) // "" 35 | 36 | }, 37 | "DecoderHdlc\0newData\0" 38 | }; 39 | #undef QT_MOC_LITERAL 40 | 41 | static const uint qt_meta_data_DecoderHdlc[] = { 42 | 43 | // content: 44 | 7, // revision 45 | 0, // classname 46 | 0, 0, // classinfo 47 | 1, 14, // methods 48 | 0, 0, // properties 49 | 0, 0, // enums/sets 50 | 0, 0, // constructors 51 | 0, // flags 52 | 0, // signalCount 53 | 54 | // slots: name, argc, parameters, tag, flags 55 | 1, 1, 19, 2, 0x0a /* Public */, 56 | 57 | // slots: parameters 58 | QMetaType::Void, QMetaType::QByteArray, 2, 59 | 60 | 0 // eod 61 | }; 62 | 63 | void DecoderHdlc::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) 64 | { 65 | if (_c == QMetaObject::InvokeMetaMethod) { 66 | DecoderHdlc *_t = static_cast(_o); 67 | Q_UNUSED(_t) 68 | switch (_id) { 69 | case 0: _t->newData((*reinterpret_cast< const QByteArray(*)>(_a[1]))); break; 70 | default: ; 71 | } 72 | } 73 | } 74 | 75 | const QMetaObject DecoderHdlc::staticMetaObject = { 76 | { &DecoderBin::staticMetaObject, qt_meta_stringdata_DecoderHdlc.data, 77 | qt_meta_data_DecoderHdlc, qt_static_metacall, Q_NULLPTR, Q_NULLPTR} 78 | }; 79 | 80 | 81 | const QMetaObject *DecoderHdlc::metaObject() const 82 | { 83 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; 84 | } 85 | 86 | void *DecoderHdlc::qt_metacast(const char *_clname) 87 | { 88 | if (!_clname) return Q_NULLPTR; 89 | if (!strcmp(_clname, qt_meta_stringdata_DecoderHdlc.stringdata0)) 90 | return static_cast(const_cast< DecoderHdlc*>(this)); 91 | return DecoderBin::qt_metacast(_clname); 92 | } 93 | 94 | int DecoderHdlc::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 95 | { 96 | _id = DecoderBin::qt_metacall(_c, _id, _a); 97 | if (_id < 0) 98 | return _id; 99 | if (_c == QMetaObject::InvokeMetaMethod) { 100 | if (_id < 1) 101 | qt_static_metacall(this, _c, _id, _a); 102 | _id -= 1; 103 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { 104 | if (_id < 1) 105 | *reinterpret_cast(_a[0]) = -1; 106 | _id -= 1; 107 | } 108 | return _id; 109 | } 110 | QT_END_MOC_NAMESPACE 111 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/SerialChart_autogen/EWIEGA46WW/moc_decoderplugin.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'decoderplugin.h' 3 | ** 4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.5.1) 5 | ** 6 | ** WARNING! All changes made in this file will be lost! 7 | *****************************************************************************/ 8 | 9 | #include "../../../decoderplugin.h" 10 | #include 11 | #include 12 | #if !defined(Q_MOC_OUTPUT_REVISION) 13 | #error "The header file 'decoderplugin.h' doesn't include ." 14 | #elif Q_MOC_OUTPUT_REVISION != 67 15 | #error "This file was generated using the moc from 5.5.1. It" 16 | #error "cannot be used with the include files from this version of Qt." 17 | #error "(The moc has changed too much.)" 18 | #endif 19 | 20 | QT_BEGIN_MOC_NAMESPACE 21 | struct qt_meta_stringdata_DecoderPlugin_t { 22 | QByteArrayData data[5]; 23 | char stringdata0[46]; 24 | }; 25 | #define QT_MOC_LITERAL(idx, ofs, len) \ 26 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ 27 | qptrdiff(offsetof(qt_meta_stringdata_DecoderPlugin_t, stringdata0) + ofs \ 28 | - idx * sizeof(QByteArrayData)) \ 29 | ) 30 | static const qt_meta_stringdata_DecoderPlugin_t qt_meta_stringdata_DecoderPlugin = { 31 | { 32 | QT_MOC_LITERAL(0, 0, 13), // "DecoderPlugin" 33 | QT_MOC_LITERAL(1, 14, 9), // "newPacket" 34 | QT_MOC_LITERAL(2, 24, 0), // "" 35 | QT_MOC_LITERAL(3, 25, 12), // "DecoderBase*" 36 | QT_MOC_LITERAL(4, 38, 7) // "newData" 37 | 38 | }, 39 | "DecoderPlugin\0newPacket\0\0DecoderBase*\0" 40 | "newData" 41 | }; 42 | #undef QT_MOC_LITERAL 43 | 44 | static const uint qt_meta_data_DecoderPlugin[] = { 45 | 46 | // content: 47 | 7, // revision 48 | 0, // classname 49 | 0, 0, // classinfo 50 | 2, 14, // methods 51 | 0, 0, // properties 52 | 0, 0, // enums/sets 53 | 0, 0, // constructors 54 | 0, // flags 55 | 1, // signalCount 56 | 57 | // signals: name, argc, parameters, tag, flags 58 | 1, 1, 24, 2, 0x06 /* Public */, 59 | 60 | // slots: name, argc, parameters, tag, flags 61 | 4, 1, 27, 2, 0x0a /* Public */, 62 | 63 | // signals: parameters 64 | QMetaType::Void, 0x80000000 | 3, 2, 65 | 66 | // slots: parameters 67 | QMetaType::Void, QMetaType::QByteArray, 2, 68 | 69 | 0 // eod 70 | }; 71 | 72 | void DecoderPlugin::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) 73 | { 74 | if (_c == QMetaObject::InvokeMetaMethod) { 75 | DecoderPlugin *_t = static_cast(_o); 76 | Q_UNUSED(_t) 77 | switch (_id) { 78 | case 0: _t->newPacket((*reinterpret_cast< DecoderBase*(*)>(_a[1]))); break; 79 | case 1: _t->newData((*reinterpret_cast< const QByteArray(*)>(_a[1]))); break; 80 | default: ; 81 | } 82 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { 83 | switch (_id) { 84 | default: *reinterpret_cast(_a[0]) = -1; break; 85 | case 0: 86 | switch (*reinterpret_cast(_a[1])) { 87 | default: *reinterpret_cast(_a[0]) = -1; break; 88 | case 0: 89 | *reinterpret_cast(_a[0]) = qRegisterMetaType< DecoderBase* >(); break; 90 | } 91 | break; 92 | } 93 | } else if (_c == QMetaObject::IndexOfMethod) { 94 | int *result = reinterpret_cast(_a[0]); 95 | void **func = reinterpret_cast(_a[1]); 96 | { 97 | typedef void (DecoderPlugin::*_t)(DecoderBase * ); 98 | if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DecoderPlugin::newPacket)) { 99 | *result = 0; 100 | } 101 | } 102 | } 103 | } 104 | 105 | const QMetaObject DecoderPlugin::staticMetaObject = { 106 | { &DecoderBase::staticMetaObject, qt_meta_stringdata_DecoderPlugin.data, 107 | qt_meta_data_DecoderPlugin, qt_static_metacall, Q_NULLPTR, Q_NULLPTR} 108 | }; 109 | 110 | 111 | const QMetaObject *DecoderPlugin::metaObject() const 112 | { 113 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; 114 | } 115 | 116 | void *DecoderPlugin::qt_metacast(const char *_clname) 117 | { 118 | if (!_clname) return Q_NULLPTR; 119 | if (!strcmp(_clname, qt_meta_stringdata_DecoderPlugin.stringdata0)) 120 | return static_cast(const_cast< DecoderPlugin*>(this)); 121 | return DecoderBase::qt_metacast(_clname); 122 | } 123 | 124 | int DecoderPlugin::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 125 | { 126 | _id = DecoderBase::qt_metacall(_c, _id, _a); 127 | if (_id < 0) 128 | return _id; 129 | if (_c == QMetaObject::InvokeMetaMethod) { 130 | if (_id < 2) 131 | qt_static_metacall(this, _c, _id, _a); 132 | _id -= 2; 133 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { 134 | if (_id < 2) 135 | qt_static_metacall(this, _c, _id, _a); 136 | _id -= 2; 137 | } 138 | return _id; 139 | } 140 | 141 | // SIGNAL 0 142 | void DecoderPlugin::newPacket(DecoderBase * _t1) 143 | { 144 | void *_a[] = { Q_NULLPTR, const_cast(reinterpret_cast(&_t1)) }; 145 | QMetaObject::activate(this, &staticMetaObject, 0, _a); 146 | } 147 | QT_END_MOC_NAMESPACE 148 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/SerialChart_autogen/EWIEGA46WW/moc_displaybase.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'displaybase.h' 3 | ** 4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.5.1) 5 | ** 6 | ** WARNING! All changes made in this file will be lost! 7 | *****************************************************************************/ 8 | 9 | #include "../../../displaybase.h" 10 | #include 11 | #include 12 | #if !defined(Q_MOC_OUTPUT_REVISION) 13 | #error "The header file 'displaybase.h' doesn't include ." 14 | #elif Q_MOC_OUTPUT_REVISION != 67 15 | #error "This file was generated using the moc from 5.5.1. It" 16 | #error "cannot be used with the include files from this version of Qt." 17 | #error "(The moc has changed too much.)" 18 | #endif 19 | 20 | QT_BEGIN_MOC_NAMESPACE 21 | struct qt_meta_stringdata_DisplayBase_t { 22 | QByteArrayData data[7]; 23 | char stringdata0[59]; 24 | }; 25 | #define QT_MOC_LITERAL(idx, ofs, len) \ 26 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ 27 | qptrdiff(offsetof(qt_meta_stringdata_DisplayBase_t, stringdata0) + ofs \ 28 | - idx * sizeof(QByteArrayData)) \ 29 | ) 30 | static const qt_meta_stringdata_DisplayBase_t qt_meta_stringdata_DisplayBase = { 31 | { 32 | QT_MOC_LITERAL(0, 0, 11), // "DisplayBase" 33 | QT_MOC_LITERAL(1, 12, 10), // "newDisplay" 34 | QT_MOC_LITERAL(2, 23, 0), // "" 35 | QT_MOC_LITERAL(3, 24, 3), // "str" 36 | QT_MOC_LITERAL(4, 28, 9), // "newPacket" 37 | QT_MOC_LITERAL(5, 38, 12), // "DecoderBase*" 38 | QT_MOC_LITERAL(6, 51, 7) // "decoder" 39 | 40 | }, 41 | "DisplayBase\0newDisplay\0\0str\0newPacket\0" 42 | "DecoderBase*\0decoder" 43 | }; 44 | #undef QT_MOC_LITERAL 45 | 46 | static const uint qt_meta_data_DisplayBase[] = { 47 | 48 | // content: 49 | 7, // revision 50 | 0, // classname 51 | 0, 0, // classinfo 52 | 2, 14, // methods 53 | 0, 0, // properties 54 | 0, 0, // enums/sets 55 | 0, 0, // constructors 56 | 0, // flags 57 | 1, // signalCount 58 | 59 | // signals: name, argc, parameters, tag, flags 60 | 1, 1, 24, 2, 0x06 /* Public */, 61 | 62 | // slots: name, argc, parameters, tag, flags 63 | 4, 1, 27, 2, 0x0a /* Public */, 64 | 65 | // signals: parameters 66 | QMetaType::Void, QMetaType::QString, 3, 67 | 68 | // slots: parameters 69 | QMetaType::Void, 0x80000000 | 5, 6, 70 | 71 | 0 // eod 72 | }; 73 | 74 | void DisplayBase::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) 75 | { 76 | if (_c == QMetaObject::InvokeMetaMethod) { 77 | DisplayBase *_t = static_cast(_o); 78 | Q_UNUSED(_t) 79 | switch (_id) { 80 | case 0: _t->newDisplay((*reinterpret_cast< const QString(*)>(_a[1]))); break; 81 | case 1: _t->newPacket((*reinterpret_cast< DecoderBase*(*)>(_a[1]))); break; 82 | default: ; 83 | } 84 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { 85 | switch (_id) { 86 | default: *reinterpret_cast(_a[0]) = -1; break; 87 | case 1: 88 | switch (*reinterpret_cast(_a[1])) { 89 | default: *reinterpret_cast(_a[0]) = -1; break; 90 | case 0: 91 | *reinterpret_cast(_a[0]) = qRegisterMetaType< DecoderBase* >(); break; 92 | } 93 | break; 94 | } 95 | } else if (_c == QMetaObject::IndexOfMethod) { 96 | int *result = reinterpret_cast(_a[0]); 97 | void **func = reinterpret_cast(_a[1]); 98 | { 99 | typedef void (DisplayBase::*_t)(const QString & ); 100 | if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DisplayBase::newDisplay)) { 101 | *result = 0; 102 | } 103 | } 104 | } 105 | } 106 | 107 | const QMetaObject DisplayBase::staticMetaObject = { 108 | { &QObject::staticMetaObject, qt_meta_stringdata_DisplayBase.data, 109 | qt_meta_data_DisplayBase, qt_static_metacall, Q_NULLPTR, Q_NULLPTR} 110 | }; 111 | 112 | 113 | const QMetaObject *DisplayBase::metaObject() const 114 | { 115 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; 116 | } 117 | 118 | void *DisplayBase::qt_metacast(const char *_clname) 119 | { 120 | if (!_clname) return Q_NULLPTR; 121 | if (!strcmp(_clname, qt_meta_stringdata_DisplayBase.stringdata0)) 122 | return static_cast(const_cast< DisplayBase*>(this)); 123 | return QObject::qt_metacast(_clname); 124 | } 125 | 126 | int DisplayBase::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 127 | { 128 | _id = QObject::qt_metacall(_c, _id, _a); 129 | if (_id < 0) 130 | return _id; 131 | if (_c == QMetaObject::InvokeMetaMethod) { 132 | if (_id < 2) 133 | qt_static_metacall(this, _c, _id, _a); 134 | _id -= 2; 135 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { 136 | if (_id < 2) 137 | qt_static_metacall(this, _c, _id, _a); 138 | _id -= 2; 139 | } 140 | return _id; 141 | } 142 | 143 | // SIGNAL 0 144 | void DisplayBase::newDisplay(const QString & _t1) 145 | { 146 | void *_a[] = { Q_NULLPTR, const_cast(reinterpret_cast(&_t1)) }; 147 | QMetaObject::activate(this, &staticMetaObject, 0, _a); 148 | } 149 | QT_END_MOC_NAMESPACE 150 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/SerialChart_autogen/EWIEGA46WW/moc_portbase.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'portbase.h' 3 | ** 4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.5.1) 5 | ** 6 | ** WARNING! All changes made in this file will be lost! 7 | *****************************************************************************/ 8 | 9 | #include "../../../portbase.h" 10 | #include 11 | #include 12 | #if !defined(Q_MOC_OUTPUT_REVISION) 13 | #error "The header file 'portbase.h' doesn't include ." 14 | #elif Q_MOC_OUTPUT_REVISION != 67 15 | #error "This file was generated using the moc from 5.5.1. It" 16 | #error "cannot be used with the include files from this version of Qt." 17 | #error "(The moc has changed too much.)" 18 | #endif 19 | 20 | QT_BEGIN_MOC_NAMESPACE 21 | struct qt_meta_stringdata_PortBase_t { 22 | QByteArrayData data[5]; 23 | char stringdata0[37]; 24 | }; 25 | #define QT_MOC_LITERAL(idx, ofs, len) \ 26 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ 27 | qptrdiff(offsetof(qt_meta_stringdata_PortBase_t, stringdata0) + ofs \ 28 | - idx * sizeof(QByteArrayData)) \ 29 | ) 30 | static const qt_meta_stringdata_PortBase_t qt_meta_stringdata_PortBase = { 31 | { 32 | QT_MOC_LITERAL(0, 0, 8), // "PortBase" 33 | QT_MOC_LITERAL(1, 9, 5), // "ready" 34 | QT_MOC_LITERAL(2, 15, 0), // "" 35 | QT_MOC_LITERAL(3, 16, 6), // "portID" 36 | QT_MOC_LITERAL(4, 23, 13) // "requestToStop" 37 | 38 | }, 39 | "PortBase\0ready\0\0portID\0requestToStop" 40 | }; 41 | #undef QT_MOC_LITERAL 42 | 43 | static const uint qt_meta_data_PortBase[] = { 44 | 45 | // content: 46 | 7, // revision 47 | 0, // classname 48 | 0, 0, // classinfo 49 | 2, 14, // methods 50 | 0, 0, // properties 51 | 0, 0, // enums/sets 52 | 0, 0, // constructors 53 | 0, // flags 54 | 1, // signalCount 55 | 56 | // signals: name, argc, parameters, tag, flags 57 | 1, 1, 24, 2, 0x06 /* Public */, 58 | 59 | // slots: name, argc, parameters, tag, flags 60 | 4, 0, 27, 2, 0x0a /* Public */, 61 | 62 | // signals: parameters 63 | QMetaType::Void, QMetaType::Int, 3, 64 | 65 | // slots: parameters 66 | QMetaType::Void, 67 | 68 | 0 // eod 69 | }; 70 | 71 | void PortBase::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) 72 | { 73 | if (_c == QMetaObject::InvokeMetaMethod) { 74 | PortBase *_t = static_cast(_o); 75 | Q_UNUSED(_t) 76 | switch (_id) { 77 | case 0: _t->ready((*reinterpret_cast< int(*)>(_a[1]))); break; 78 | case 1: _t->requestToStop(); break; 79 | default: ; 80 | } 81 | } else if (_c == QMetaObject::IndexOfMethod) { 82 | int *result = reinterpret_cast(_a[0]); 83 | void **func = reinterpret_cast(_a[1]); 84 | { 85 | typedef void (PortBase::*_t)(int ); 86 | if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PortBase::ready)) { 87 | *result = 0; 88 | } 89 | } 90 | } 91 | } 92 | 93 | const QMetaObject PortBase::staticMetaObject = { 94 | { &QThread::staticMetaObject, qt_meta_stringdata_PortBase.data, 95 | qt_meta_data_PortBase, qt_static_metacall, Q_NULLPTR, Q_NULLPTR} 96 | }; 97 | 98 | 99 | const QMetaObject *PortBase::metaObject() const 100 | { 101 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; 102 | } 103 | 104 | void *PortBase::qt_metacast(const char *_clname) 105 | { 106 | if (!_clname) return Q_NULLPTR; 107 | if (!strcmp(_clname, qt_meta_stringdata_PortBase.stringdata0)) 108 | return static_cast(const_cast< PortBase*>(this)); 109 | return QThread::qt_metacast(_clname); 110 | } 111 | 112 | int PortBase::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 113 | { 114 | _id = QThread::qt_metacall(_c, _id, _a); 115 | if (_id < 0) 116 | return _id; 117 | if (_c == QMetaObject::InvokeMetaMethod) { 118 | if (_id < 2) 119 | qt_static_metacall(this, _c, _id, _a); 120 | _id -= 2; 121 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { 122 | if (_id < 2) 123 | *reinterpret_cast(_a[0]) = -1; 124 | _id -= 2; 125 | } 126 | return _id; 127 | } 128 | 129 | // SIGNAL 0 130 | void PortBase::ready(int _t1) 131 | { 132 | void *_a[] = { Q_NULLPTR, const_cast(reinterpret_cast(&_t1)) }; 133 | QMetaObject::activate(this, &staticMetaObject, 0, _a); 134 | } 135 | QT_END_MOC_NAMESPACE 136 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/SerialChart_autogen/mocs_compilation.cpp: -------------------------------------------------------------------------------- 1 | // This file is autogenerated. Changes will be overwritten. 2 | #include "EWIEGA46WW/moc_chart.cpp" 3 | #include "EWIEGA46WW/moc_configuration.cpp" 4 | #include "EWIEGA46WW/moc_decoderbase.cpp" 5 | #include "EWIEGA46WW/moc_decoderbin.cpp" 6 | #include "EWIEGA46WW/moc_decodercsv.cpp" 7 | #include "EWIEGA46WW/moc_decoderhdlc.cpp" 8 | #include "EWIEGA46WW/moc_decoderplugin.cpp" 9 | #include "EWIEGA46WW/moc_displaybase.cpp" 10 | #include "EWIEGA46WW/moc_mainwindow.cpp" 11 | #include "EWIEGA46WW/moc_plugin.cpp" 12 | #include "EWIEGA46WW/moc_portbase.cpp" 13 | #include "EWIEGA46WW/moc_porthid.cpp" 14 | #include "EWIEGA46WW/moc_portrs232.cpp" 15 | #include "EWIEGA46WW/moc_serialchartjs.cpp" 16 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/SerialPlot_autogen/EWIEGA46WW/moc_chart.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'chart.h' 3 | ** 4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.5.1) 5 | ** 6 | ** WARNING! All changes made in this file will be lost! 7 | *****************************************************************************/ 8 | 9 | #include "../../../chart.h" 10 | #include 11 | #include 12 | #if !defined(Q_MOC_OUTPUT_REVISION) 13 | #error "The header file 'chart.h' doesn't include ." 14 | #elif Q_MOC_OUTPUT_REVISION != 67 15 | #error "This file was generated using the moc from 5.5.1. It" 16 | #error "cannot be used with the include files from this version of Qt." 17 | #error "(The moc has changed too much.)" 18 | #endif 19 | 20 | QT_BEGIN_MOC_NAMESPACE 21 | struct qt_meta_stringdata_Chart_t { 22 | QByteArrayData data[5]; 23 | char stringdata0[38]; 24 | }; 25 | #define QT_MOC_LITERAL(idx, ofs, len) \ 26 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ 27 | qptrdiff(offsetof(qt_meta_stringdata_Chart_t, stringdata0) + ofs \ 28 | - idx * sizeof(QByteArrayData)) \ 29 | ) 30 | static const qt_meta_stringdata_Chart_t qt_meta_stringdata_Chart = { 31 | { 32 | QT_MOC_LITERAL(0, 0, 5), // "Chart" 33 | QT_MOC_LITERAL(1, 6, 9), // "newPacket" 34 | QT_MOC_LITERAL(2, 16, 0), // "" 35 | QT_MOC_LITERAL(3, 17, 12), // "DecoderBase*" 36 | QT_MOC_LITERAL(4, 30, 7) // "decoder" 37 | 38 | }, 39 | "Chart\0newPacket\0\0DecoderBase*\0decoder" 40 | }; 41 | #undef QT_MOC_LITERAL 42 | 43 | static const uint qt_meta_data_Chart[] = { 44 | 45 | // content: 46 | 7, // revision 47 | 0, // classname 48 | 0, 0, // classinfo 49 | 1, 14, // methods 50 | 0, 0, // properties 51 | 0, 0, // enums/sets 52 | 0, 0, // constructors 53 | 0, // flags 54 | 0, // signalCount 55 | 56 | // slots: name, argc, parameters, tag, flags 57 | 1, 1, 19, 2, 0x0a /* Public */, 58 | 59 | // slots: parameters 60 | QMetaType::Void, 0x80000000 | 3, 4, 61 | 62 | 0 // eod 63 | }; 64 | 65 | void Chart::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) 66 | { 67 | if (_c == QMetaObject::InvokeMetaMethod) { 68 | Chart *_t = static_cast(_o); 69 | Q_UNUSED(_t) 70 | switch (_id) { 71 | case 0: _t->newPacket((*reinterpret_cast< DecoderBase*(*)>(_a[1]))); break; 72 | default: ; 73 | } 74 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { 75 | switch (_id) { 76 | default: *reinterpret_cast(_a[0]) = -1; break; 77 | case 0: 78 | switch (*reinterpret_cast(_a[1])) { 79 | default: *reinterpret_cast(_a[0]) = -1; break; 80 | case 0: 81 | *reinterpret_cast(_a[0]) = qRegisterMetaType< DecoderBase* >(); break; 82 | } 83 | break; 84 | } 85 | } 86 | } 87 | 88 | const QMetaObject Chart::staticMetaObject = { 89 | { &QWidget::staticMetaObject, qt_meta_stringdata_Chart.data, 90 | qt_meta_data_Chart, qt_static_metacall, Q_NULLPTR, Q_NULLPTR} 91 | }; 92 | 93 | 94 | const QMetaObject *Chart::metaObject() const 95 | { 96 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; 97 | } 98 | 99 | void *Chart::qt_metacast(const char *_clname) 100 | { 101 | if (!_clname) return Q_NULLPTR; 102 | if (!strcmp(_clname, qt_meta_stringdata_Chart.stringdata0)) 103 | return static_cast(const_cast< Chart*>(this)); 104 | return QWidget::qt_metacast(_clname); 105 | } 106 | 107 | int Chart::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 108 | { 109 | _id = QWidget::qt_metacall(_c, _id, _a); 110 | if (_id < 0) 111 | return _id; 112 | if (_c == QMetaObject::InvokeMetaMethod) { 113 | if (_id < 1) 114 | qt_static_metacall(this, _c, _id, _a); 115 | _id -= 1; 116 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { 117 | if (_id < 1) 118 | qt_static_metacall(this, _c, _id, _a); 119 | _id -= 1; 120 | } 121 | return _id; 122 | } 123 | QT_END_MOC_NAMESPACE 124 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/SerialPlot_autogen/EWIEGA46WW/moc_configuration.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'configuration.h' 3 | ** 4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.5.1) 5 | ** 6 | ** WARNING! All changes made in this file will be lost! 7 | *****************************************************************************/ 8 | 9 | #include "../../../configuration.h" 10 | #include 11 | #include 12 | #if !defined(Q_MOC_OUTPUT_REVISION) 13 | #error "The header file 'configuration.h' doesn't include ." 14 | #elif Q_MOC_OUTPUT_REVISION != 67 15 | #error "This file was generated using the moc from 5.5.1. It" 16 | #error "cannot be used with the include files from this version of Qt." 17 | #error "(The moc has changed too much.)" 18 | #endif 19 | 20 | QT_BEGIN_MOC_NAMESPACE 21 | struct qt_meta_stringdata_Configuration_t { 22 | QByteArrayData data[1]; 23 | char stringdata0[14]; 24 | }; 25 | #define QT_MOC_LITERAL(idx, ofs, len) \ 26 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ 27 | qptrdiff(offsetof(qt_meta_stringdata_Configuration_t, stringdata0) + ofs \ 28 | - idx * sizeof(QByteArrayData)) \ 29 | ) 30 | static const qt_meta_stringdata_Configuration_t qt_meta_stringdata_Configuration = { 31 | { 32 | QT_MOC_LITERAL(0, 0, 13) // "Configuration" 33 | 34 | }, 35 | "Configuration" 36 | }; 37 | #undef QT_MOC_LITERAL 38 | 39 | static const uint qt_meta_data_Configuration[] = { 40 | 41 | // content: 42 | 7, // revision 43 | 0, // classname 44 | 0, 0, // classinfo 45 | 0, 0, // methods 46 | 0, 0, // properties 47 | 0, 0, // enums/sets 48 | 0, 0, // constructors 49 | 0, // flags 50 | 0, // signalCount 51 | 52 | 0 // eod 53 | }; 54 | 55 | void Configuration::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) 56 | { 57 | Q_UNUSED(_o); 58 | Q_UNUSED(_id); 59 | Q_UNUSED(_c); 60 | Q_UNUSED(_a); 61 | } 62 | 63 | const QMetaObject Configuration::staticMetaObject = { 64 | { &QObject::staticMetaObject, qt_meta_stringdata_Configuration.data, 65 | qt_meta_data_Configuration, qt_static_metacall, Q_NULLPTR, Q_NULLPTR} 66 | }; 67 | 68 | 69 | const QMetaObject *Configuration::metaObject() const 70 | { 71 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; 72 | } 73 | 74 | void *Configuration::qt_metacast(const char *_clname) 75 | { 76 | if (!_clname) return Q_NULLPTR; 77 | if (!strcmp(_clname, qt_meta_stringdata_Configuration.stringdata0)) 78 | return static_cast(const_cast< Configuration*>(this)); 79 | return QObject::qt_metacast(_clname); 80 | } 81 | 82 | int Configuration::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 83 | { 84 | _id = QObject::qt_metacall(_c, _id, _a); 85 | if (_id < 0) 86 | return _id; 87 | return _id; 88 | } 89 | QT_END_MOC_NAMESPACE 90 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/SerialPlot_autogen/EWIEGA46WW/moc_decoderbase.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'decoderbase.h' 3 | ** 4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.5.1) 5 | ** 6 | ** WARNING! All changes made in this file will be lost! 7 | *****************************************************************************/ 8 | 9 | #include "../../../decoderbase.h" 10 | #include 11 | #include 12 | #if !defined(Q_MOC_OUTPUT_REVISION) 13 | #error "The header file 'decoderbase.h' doesn't include ." 14 | #elif Q_MOC_OUTPUT_REVISION != 67 15 | #error "This file was generated using the moc from 5.5.1. It" 16 | #error "cannot be used with the include files from this version of Qt." 17 | #error "(The moc has changed too much.)" 18 | #endif 19 | 20 | QT_BEGIN_MOC_NAMESPACE 21 | struct qt_meta_stringdata_DecoderBase_t { 22 | QByteArrayData data[3]; 23 | char stringdata0[21]; 24 | }; 25 | #define QT_MOC_LITERAL(idx, ofs, len) \ 26 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ 27 | qptrdiff(offsetof(qt_meta_stringdata_DecoderBase_t, stringdata0) + ofs \ 28 | - idx * sizeof(QByteArrayData)) \ 29 | ) 30 | static const qt_meta_stringdata_DecoderBase_t qt_meta_stringdata_DecoderBase = { 31 | { 32 | QT_MOC_LITERAL(0, 0, 11), // "DecoderBase" 33 | QT_MOC_LITERAL(1, 12, 7), // "newData" 34 | QT_MOC_LITERAL(2, 20, 0) // "" 35 | 36 | }, 37 | "DecoderBase\0newData\0" 38 | }; 39 | #undef QT_MOC_LITERAL 40 | 41 | static const uint qt_meta_data_DecoderBase[] = { 42 | 43 | // content: 44 | 7, // revision 45 | 0, // classname 46 | 0, 0, // classinfo 47 | 1, 14, // methods 48 | 0, 0, // properties 49 | 0, 0, // enums/sets 50 | 0, 0, // constructors 51 | 0, // flags 52 | 0, // signalCount 53 | 54 | // slots: name, argc, parameters, tag, flags 55 | 1, 1, 19, 2, 0x0a /* Public */, 56 | 57 | // slots: parameters 58 | QMetaType::Void, QMetaType::QByteArray, 2, 59 | 60 | 0 // eod 61 | }; 62 | 63 | void DecoderBase::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) 64 | { 65 | if (_c == QMetaObject::InvokeMetaMethod) { 66 | DecoderBase *_t = static_cast(_o); 67 | Q_UNUSED(_t) 68 | switch (_id) { 69 | case 0: _t->newData((*reinterpret_cast< const QByteArray(*)>(_a[1]))); break; 70 | default: ; 71 | } 72 | } 73 | } 74 | 75 | const QMetaObject DecoderBase::staticMetaObject = { 76 | { &QObject::staticMetaObject, qt_meta_stringdata_DecoderBase.data, 77 | qt_meta_data_DecoderBase, qt_static_metacall, Q_NULLPTR, Q_NULLPTR} 78 | }; 79 | 80 | 81 | const QMetaObject *DecoderBase::metaObject() const 82 | { 83 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; 84 | } 85 | 86 | void *DecoderBase::qt_metacast(const char *_clname) 87 | { 88 | if (!_clname) return Q_NULLPTR; 89 | if (!strcmp(_clname, qt_meta_stringdata_DecoderBase.stringdata0)) 90 | return static_cast(const_cast< DecoderBase*>(this)); 91 | return QObject::qt_metacast(_clname); 92 | } 93 | 94 | int DecoderBase::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 95 | { 96 | _id = QObject::qt_metacall(_c, _id, _a); 97 | if (_id < 0) 98 | return _id; 99 | if (_c == QMetaObject::InvokeMetaMethod) { 100 | if (_id < 1) 101 | qt_static_metacall(this, _c, _id, _a); 102 | _id -= 1; 103 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { 104 | if (_id < 1) 105 | *reinterpret_cast(_a[0]) = -1; 106 | _id -= 1; 107 | } 108 | return _id; 109 | } 110 | QT_END_MOC_NAMESPACE 111 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/SerialPlot_autogen/EWIEGA46WW/moc_decoderbin.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'decoderbin.h' 3 | ** 4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.5.1) 5 | ** 6 | ** WARNING! All changes made in this file will be lost! 7 | *****************************************************************************/ 8 | 9 | #include "../../../decoderbin.h" 10 | #include 11 | #include 12 | #if !defined(Q_MOC_OUTPUT_REVISION) 13 | #error "The header file 'decoderbin.h' doesn't include ." 14 | #elif Q_MOC_OUTPUT_REVISION != 67 15 | #error "This file was generated using the moc from 5.5.1. It" 16 | #error "cannot be used with the include files from this version of Qt." 17 | #error "(The moc has changed too much.)" 18 | #endif 19 | 20 | QT_BEGIN_MOC_NAMESPACE 21 | struct qt_meta_stringdata_DecoderBin_t { 22 | QByteArrayData data[5]; 23 | char stringdata0[43]; 24 | }; 25 | #define QT_MOC_LITERAL(idx, ofs, len) \ 26 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ 27 | qptrdiff(offsetof(qt_meta_stringdata_DecoderBin_t, stringdata0) + ofs \ 28 | - idx * sizeof(QByteArrayData)) \ 29 | ) 30 | static const qt_meta_stringdata_DecoderBin_t qt_meta_stringdata_DecoderBin = { 31 | { 32 | QT_MOC_LITERAL(0, 0, 10), // "DecoderBin" 33 | QT_MOC_LITERAL(1, 11, 9), // "newPacket" 34 | QT_MOC_LITERAL(2, 21, 0), // "" 35 | QT_MOC_LITERAL(3, 22, 12), // "DecoderBase*" 36 | QT_MOC_LITERAL(4, 35, 7) // "newData" 37 | 38 | }, 39 | "DecoderBin\0newPacket\0\0DecoderBase*\0" 40 | "newData" 41 | }; 42 | #undef QT_MOC_LITERAL 43 | 44 | static const uint qt_meta_data_DecoderBin[] = { 45 | 46 | // content: 47 | 7, // revision 48 | 0, // classname 49 | 0, 0, // classinfo 50 | 2, 14, // methods 51 | 0, 0, // properties 52 | 0, 0, // enums/sets 53 | 0, 0, // constructors 54 | 0, // flags 55 | 1, // signalCount 56 | 57 | // signals: name, argc, parameters, tag, flags 58 | 1, 1, 24, 2, 0x06 /* Public */, 59 | 60 | // slots: name, argc, parameters, tag, flags 61 | 4, 1, 27, 2, 0x0a /* Public */, 62 | 63 | // signals: parameters 64 | QMetaType::Void, 0x80000000 | 3, 2, 65 | 66 | // slots: parameters 67 | QMetaType::Void, QMetaType::QByteArray, 2, 68 | 69 | 0 // eod 70 | }; 71 | 72 | void DecoderBin::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) 73 | { 74 | if (_c == QMetaObject::InvokeMetaMethod) { 75 | DecoderBin *_t = static_cast(_o); 76 | Q_UNUSED(_t) 77 | switch (_id) { 78 | case 0: _t->newPacket((*reinterpret_cast< DecoderBase*(*)>(_a[1]))); break; 79 | case 1: _t->newData((*reinterpret_cast< const QByteArray(*)>(_a[1]))); break; 80 | default: ; 81 | } 82 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { 83 | switch (_id) { 84 | default: *reinterpret_cast(_a[0]) = -1; break; 85 | case 0: 86 | switch (*reinterpret_cast(_a[1])) { 87 | default: *reinterpret_cast(_a[0]) = -1; break; 88 | case 0: 89 | *reinterpret_cast(_a[0]) = qRegisterMetaType< DecoderBase* >(); break; 90 | } 91 | break; 92 | } 93 | } else if (_c == QMetaObject::IndexOfMethod) { 94 | int *result = reinterpret_cast(_a[0]); 95 | void **func = reinterpret_cast(_a[1]); 96 | { 97 | typedef void (DecoderBin::*_t)(DecoderBase * ); 98 | if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DecoderBin::newPacket)) { 99 | *result = 0; 100 | } 101 | } 102 | } 103 | } 104 | 105 | const QMetaObject DecoderBin::staticMetaObject = { 106 | { &DecoderBase::staticMetaObject, qt_meta_stringdata_DecoderBin.data, 107 | qt_meta_data_DecoderBin, qt_static_metacall, Q_NULLPTR, Q_NULLPTR} 108 | }; 109 | 110 | 111 | const QMetaObject *DecoderBin::metaObject() const 112 | { 113 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; 114 | } 115 | 116 | void *DecoderBin::qt_metacast(const char *_clname) 117 | { 118 | if (!_clname) return Q_NULLPTR; 119 | if (!strcmp(_clname, qt_meta_stringdata_DecoderBin.stringdata0)) 120 | return static_cast(const_cast< DecoderBin*>(this)); 121 | return DecoderBase::qt_metacast(_clname); 122 | } 123 | 124 | int DecoderBin::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 125 | { 126 | _id = DecoderBase::qt_metacall(_c, _id, _a); 127 | if (_id < 0) 128 | return _id; 129 | if (_c == QMetaObject::InvokeMetaMethod) { 130 | if (_id < 2) 131 | qt_static_metacall(this, _c, _id, _a); 132 | _id -= 2; 133 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { 134 | if (_id < 2) 135 | qt_static_metacall(this, _c, _id, _a); 136 | _id -= 2; 137 | } 138 | return _id; 139 | } 140 | 141 | // SIGNAL 0 142 | void DecoderBin::newPacket(DecoderBase * _t1) 143 | { 144 | void *_a[] = { Q_NULLPTR, const_cast(reinterpret_cast(&_t1)) }; 145 | QMetaObject::activate(this, &staticMetaObject, 0, _a); 146 | } 147 | QT_END_MOC_NAMESPACE 148 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/SerialPlot_autogen/EWIEGA46WW/moc_decodercsv.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'decodercsv.h' 3 | ** 4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.5.1) 5 | ** 6 | ** WARNING! All changes made in this file will be lost! 7 | *****************************************************************************/ 8 | 9 | #include "../../../decodercsv.h" 10 | #include 11 | #include 12 | #if !defined(Q_MOC_OUTPUT_REVISION) 13 | #error "The header file 'decodercsv.h' doesn't include ." 14 | #elif Q_MOC_OUTPUT_REVISION != 67 15 | #error "This file was generated using the moc from 5.5.1. It" 16 | #error "cannot be used with the include files from this version of Qt." 17 | #error "(The moc has changed too much.)" 18 | #endif 19 | 20 | QT_BEGIN_MOC_NAMESPACE 21 | struct qt_meta_stringdata_DecoderCsv_t { 22 | QByteArrayData data[5]; 23 | char stringdata0[43]; 24 | }; 25 | #define QT_MOC_LITERAL(idx, ofs, len) \ 26 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ 27 | qptrdiff(offsetof(qt_meta_stringdata_DecoderCsv_t, stringdata0) + ofs \ 28 | - idx * sizeof(QByteArrayData)) \ 29 | ) 30 | static const qt_meta_stringdata_DecoderCsv_t qt_meta_stringdata_DecoderCsv = { 31 | { 32 | QT_MOC_LITERAL(0, 0, 10), // "DecoderCsv" 33 | QT_MOC_LITERAL(1, 11, 9), // "newPacket" 34 | QT_MOC_LITERAL(2, 21, 0), // "" 35 | QT_MOC_LITERAL(3, 22, 12), // "DecoderBase*" 36 | QT_MOC_LITERAL(4, 35, 7) // "newData" 37 | 38 | }, 39 | "DecoderCsv\0newPacket\0\0DecoderBase*\0" 40 | "newData" 41 | }; 42 | #undef QT_MOC_LITERAL 43 | 44 | static const uint qt_meta_data_DecoderCsv[] = { 45 | 46 | // content: 47 | 7, // revision 48 | 0, // classname 49 | 0, 0, // classinfo 50 | 2, 14, // methods 51 | 0, 0, // properties 52 | 0, 0, // enums/sets 53 | 0, 0, // constructors 54 | 0, // flags 55 | 1, // signalCount 56 | 57 | // signals: name, argc, parameters, tag, flags 58 | 1, 1, 24, 2, 0x06 /* Public */, 59 | 60 | // slots: name, argc, parameters, tag, flags 61 | 4, 1, 27, 2, 0x0a /* Public */, 62 | 63 | // signals: parameters 64 | QMetaType::Void, 0x80000000 | 3, 2, 65 | 66 | // slots: parameters 67 | QMetaType::Void, QMetaType::QByteArray, 2, 68 | 69 | 0 // eod 70 | }; 71 | 72 | void DecoderCsv::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) 73 | { 74 | if (_c == QMetaObject::InvokeMetaMethod) { 75 | DecoderCsv *_t = static_cast(_o); 76 | Q_UNUSED(_t) 77 | switch (_id) { 78 | case 0: _t->newPacket((*reinterpret_cast< DecoderBase*(*)>(_a[1]))); break; 79 | case 1: _t->newData((*reinterpret_cast< const QByteArray(*)>(_a[1]))); break; 80 | default: ; 81 | } 82 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { 83 | switch (_id) { 84 | default: *reinterpret_cast(_a[0]) = -1; break; 85 | case 0: 86 | switch (*reinterpret_cast(_a[1])) { 87 | default: *reinterpret_cast(_a[0]) = -1; break; 88 | case 0: 89 | *reinterpret_cast(_a[0]) = qRegisterMetaType< DecoderBase* >(); break; 90 | } 91 | break; 92 | } 93 | } else if (_c == QMetaObject::IndexOfMethod) { 94 | int *result = reinterpret_cast(_a[0]); 95 | void **func = reinterpret_cast(_a[1]); 96 | { 97 | typedef void (DecoderCsv::*_t)(DecoderBase * ); 98 | if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DecoderCsv::newPacket)) { 99 | *result = 0; 100 | } 101 | } 102 | } 103 | } 104 | 105 | const QMetaObject DecoderCsv::staticMetaObject = { 106 | { &DecoderBase::staticMetaObject, qt_meta_stringdata_DecoderCsv.data, 107 | qt_meta_data_DecoderCsv, qt_static_metacall, Q_NULLPTR, Q_NULLPTR} 108 | }; 109 | 110 | 111 | const QMetaObject *DecoderCsv::metaObject() const 112 | { 113 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; 114 | } 115 | 116 | void *DecoderCsv::qt_metacast(const char *_clname) 117 | { 118 | if (!_clname) return Q_NULLPTR; 119 | if (!strcmp(_clname, qt_meta_stringdata_DecoderCsv.stringdata0)) 120 | return static_cast(const_cast< DecoderCsv*>(this)); 121 | return DecoderBase::qt_metacast(_clname); 122 | } 123 | 124 | int DecoderCsv::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 125 | { 126 | _id = DecoderBase::qt_metacall(_c, _id, _a); 127 | if (_id < 0) 128 | return _id; 129 | if (_c == QMetaObject::InvokeMetaMethod) { 130 | if (_id < 2) 131 | qt_static_metacall(this, _c, _id, _a); 132 | _id -= 2; 133 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { 134 | if (_id < 2) 135 | qt_static_metacall(this, _c, _id, _a); 136 | _id -= 2; 137 | } 138 | return _id; 139 | } 140 | 141 | // SIGNAL 0 142 | void DecoderCsv::newPacket(DecoderBase * _t1) 143 | { 144 | void *_a[] = { Q_NULLPTR, const_cast(reinterpret_cast(&_t1)) }; 145 | QMetaObject::activate(this, &staticMetaObject, 0, _a); 146 | } 147 | QT_END_MOC_NAMESPACE 148 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/SerialPlot_autogen/EWIEGA46WW/moc_decoderhdlc.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'decoderhdlc.h' 3 | ** 4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.5.1) 5 | ** 6 | ** WARNING! All changes made in this file will be lost! 7 | *****************************************************************************/ 8 | 9 | #include "../../../decoderhdlc.h" 10 | #include 11 | #include 12 | #if !defined(Q_MOC_OUTPUT_REVISION) 13 | #error "The header file 'decoderhdlc.h' doesn't include ." 14 | #elif Q_MOC_OUTPUT_REVISION != 67 15 | #error "This file was generated using the moc from 5.5.1. It" 16 | #error "cannot be used with the include files from this version of Qt." 17 | #error "(The moc has changed too much.)" 18 | #endif 19 | 20 | QT_BEGIN_MOC_NAMESPACE 21 | struct qt_meta_stringdata_DecoderHdlc_t { 22 | QByteArrayData data[3]; 23 | char stringdata0[21]; 24 | }; 25 | #define QT_MOC_LITERAL(idx, ofs, len) \ 26 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ 27 | qptrdiff(offsetof(qt_meta_stringdata_DecoderHdlc_t, stringdata0) + ofs \ 28 | - idx * sizeof(QByteArrayData)) \ 29 | ) 30 | static const qt_meta_stringdata_DecoderHdlc_t qt_meta_stringdata_DecoderHdlc = { 31 | { 32 | QT_MOC_LITERAL(0, 0, 11), // "DecoderHdlc" 33 | QT_MOC_LITERAL(1, 12, 7), // "newData" 34 | QT_MOC_LITERAL(2, 20, 0) // "" 35 | 36 | }, 37 | "DecoderHdlc\0newData\0" 38 | }; 39 | #undef QT_MOC_LITERAL 40 | 41 | static const uint qt_meta_data_DecoderHdlc[] = { 42 | 43 | // content: 44 | 7, // revision 45 | 0, // classname 46 | 0, 0, // classinfo 47 | 1, 14, // methods 48 | 0, 0, // properties 49 | 0, 0, // enums/sets 50 | 0, 0, // constructors 51 | 0, // flags 52 | 0, // signalCount 53 | 54 | // slots: name, argc, parameters, tag, flags 55 | 1, 1, 19, 2, 0x0a /* Public */, 56 | 57 | // slots: parameters 58 | QMetaType::Void, QMetaType::QByteArray, 2, 59 | 60 | 0 // eod 61 | }; 62 | 63 | void DecoderHdlc::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) 64 | { 65 | if (_c == QMetaObject::InvokeMetaMethod) { 66 | DecoderHdlc *_t = static_cast(_o); 67 | Q_UNUSED(_t) 68 | switch (_id) { 69 | case 0: _t->newData((*reinterpret_cast< const QByteArray(*)>(_a[1]))); break; 70 | default: ; 71 | } 72 | } 73 | } 74 | 75 | const QMetaObject DecoderHdlc::staticMetaObject = { 76 | { &DecoderBin::staticMetaObject, qt_meta_stringdata_DecoderHdlc.data, 77 | qt_meta_data_DecoderHdlc, qt_static_metacall, Q_NULLPTR, Q_NULLPTR} 78 | }; 79 | 80 | 81 | const QMetaObject *DecoderHdlc::metaObject() const 82 | { 83 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; 84 | } 85 | 86 | void *DecoderHdlc::qt_metacast(const char *_clname) 87 | { 88 | if (!_clname) return Q_NULLPTR; 89 | if (!strcmp(_clname, qt_meta_stringdata_DecoderHdlc.stringdata0)) 90 | return static_cast(const_cast< DecoderHdlc*>(this)); 91 | return DecoderBin::qt_metacast(_clname); 92 | } 93 | 94 | int DecoderHdlc::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 95 | { 96 | _id = DecoderBin::qt_metacall(_c, _id, _a); 97 | if (_id < 0) 98 | return _id; 99 | if (_c == QMetaObject::InvokeMetaMethod) { 100 | if (_id < 1) 101 | qt_static_metacall(this, _c, _id, _a); 102 | _id -= 1; 103 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { 104 | if (_id < 1) 105 | *reinterpret_cast(_a[0]) = -1; 106 | _id -= 1; 107 | } 108 | return _id; 109 | } 110 | QT_END_MOC_NAMESPACE 111 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/SerialPlot_autogen/EWIEGA46WW/moc_decoderplugin.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'decoderplugin.h' 3 | ** 4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.5.1) 5 | ** 6 | ** WARNING! All changes made in this file will be lost! 7 | *****************************************************************************/ 8 | 9 | #include "../../../decoderplugin.h" 10 | #include 11 | #include 12 | #if !defined(Q_MOC_OUTPUT_REVISION) 13 | #error "The header file 'decoderplugin.h' doesn't include ." 14 | #elif Q_MOC_OUTPUT_REVISION != 67 15 | #error "This file was generated using the moc from 5.5.1. It" 16 | #error "cannot be used with the include files from this version of Qt." 17 | #error "(The moc has changed too much.)" 18 | #endif 19 | 20 | QT_BEGIN_MOC_NAMESPACE 21 | struct qt_meta_stringdata_DecoderPlugin_t { 22 | QByteArrayData data[5]; 23 | char stringdata0[46]; 24 | }; 25 | #define QT_MOC_LITERAL(idx, ofs, len) \ 26 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ 27 | qptrdiff(offsetof(qt_meta_stringdata_DecoderPlugin_t, stringdata0) + ofs \ 28 | - idx * sizeof(QByteArrayData)) \ 29 | ) 30 | static const qt_meta_stringdata_DecoderPlugin_t qt_meta_stringdata_DecoderPlugin = { 31 | { 32 | QT_MOC_LITERAL(0, 0, 13), // "DecoderPlugin" 33 | QT_MOC_LITERAL(1, 14, 9), // "newPacket" 34 | QT_MOC_LITERAL(2, 24, 0), // "" 35 | QT_MOC_LITERAL(3, 25, 12), // "DecoderBase*" 36 | QT_MOC_LITERAL(4, 38, 7) // "newData" 37 | 38 | }, 39 | "DecoderPlugin\0newPacket\0\0DecoderBase*\0" 40 | "newData" 41 | }; 42 | #undef QT_MOC_LITERAL 43 | 44 | static const uint qt_meta_data_DecoderPlugin[] = { 45 | 46 | // content: 47 | 7, // revision 48 | 0, // classname 49 | 0, 0, // classinfo 50 | 2, 14, // methods 51 | 0, 0, // properties 52 | 0, 0, // enums/sets 53 | 0, 0, // constructors 54 | 0, // flags 55 | 1, // signalCount 56 | 57 | // signals: name, argc, parameters, tag, flags 58 | 1, 1, 24, 2, 0x06 /* Public */, 59 | 60 | // slots: name, argc, parameters, tag, flags 61 | 4, 1, 27, 2, 0x0a /* Public */, 62 | 63 | // signals: parameters 64 | QMetaType::Void, 0x80000000 | 3, 2, 65 | 66 | // slots: parameters 67 | QMetaType::Void, QMetaType::QByteArray, 2, 68 | 69 | 0 // eod 70 | }; 71 | 72 | void DecoderPlugin::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) 73 | { 74 | if (_c == QMetaObject::InvokeMetaMethod) { 75 | DecoderPlugin *_t = static_cast(_o); 76 | Q_UNUSED(_t) 77 | switch (_id) { 78 | case 0: _t->newPacket((*reinterpret_cast< DecoderBase*(*)>(_a[1]))); break; 79 | case 1: _t->newData((*reinterpret_cast< const QByteArray(*)>(_a[1]))); break; 80 | default: ; 81 | } 82 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { 83 | switch (_id) { 84 | default: *reinterpret_cast(_a[0]) = -1; break; 85 | case 0: 86 | switch (*reinterpret_cast(_a[1])) { 87 | default: *reinterpret_cast(_a[0]) = -1; break; 88 | case 0: 89 | *reinterpret_cast(_a[0]) = qRegisterMetaType< DecoderBase* >(); break; 90 | } 91 | break; 92 | } 93 | } else if (_c == QMetaObject::IndexOfMethod) { 94 | int *result = reinterpret_cast(_a[0]); 95 | void **func = reinterpret_cast(_a[1]); 96 | { 97 | typedef void (DecoderPlugin::*_t)(DecoderBase * ); 98 | if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DecoderPlugin::newPacket)) { 99 | *result = 0; 100 | } 101 | } 102 | } 103 | } 104 | 105 | const QMetaObject DecoderPlugin::staticMetaObject = { 106 | { &DecoderBase::staticMetaObject, qt_meta_stringdata_DecoderPlugin.data, 107 | qt_meta_data_DecoderPlugin, qt_static_metacall, Q_NULLPTR, Q_NULLPTR} 108 | }; 109 | 110 | 111 | const QMetaObject *DecoderPlugin::metaObject() const 112 | { 113 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; 114 | } 115 | 116 | void *DecoderPlugin::qt_metacast(const char *_clname) 117 | { 118 | if (!_clname) return Q_NULLPTR; 119 | if (!strcmp(_clname, qt_meta_stringdata_DecoderPlugin.stringdata0)) 120 | return static_cast(const_cast< DecoderPlugin*>(this)); 121 | return DecoderBase::qt_metacast(_clname); 122 | } 123 | 124 | int DecoderPlugin::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 125 | { 126 | _id = DecoderBase::qt_metacall(_c, _id, _a); 127 | if (_id < 0) 128 | return _id; 129 | if (_c == QMetaObject::InvokeMetaMethod) { 130 | if (_id < 2) 131 | qt_static_metacall(this, _c, _id, _a); 132 | _id -= 2; 133 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { 134 | if (_id < 2) 135 | qt_static_metacall(this, _c, _id, _a); 136 | _id -= 2; 137 | } 138 | return _id; 139 | } 140 | 141 | // SIGNAL 0 142 | void DecoderPlugin::newPacket(DecoderBase * _t1) 143 | { 144 | void *_a[] = { Q_NULLPTR, const_cast(reinterpret_cast(&_t1)) }; 145 | QMetaObject::activate(this, &staticMetaObject, 0, _a); 146 | } 147 | QT_END_MOC_NAMESPACE 148 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/SerialPlot_autogen/EWIEGA46WW/moc_displaybase.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'displaybase.h' 3 | ** 4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.5.1) 5 | ** 6 | ** WARNING! All changes made in this file will be lost! 7 | *****************************************************************************/ 8 | 9 | #include "../../../displaybase.h" 10 | #include 11 | #include 12 | #if !defined(Q_MOC_OUTPUT_REVISION) 13 | #error "The header file 'displaybase.h' doesn't include ." 14 | #elif Q_MOC_OUTPUT_REVISION != 67 15 | #error "This file was generated using the moc from 5.5.1. It" 16 | #error "cannot be used with the include files from this version of Qt." 17 | #error "(The moc has changed too much.)" 18 | #endif 19 | 20 | QT_BEGIN_MOC_NAMESPACE 21 | struct qt_meta_stringdata_DisplayBase_t { 22 | QByteArrayData data[7]; 23 | char stringdata0[59]; 24 | }; 25 | #define QT_MOC_LITERAL(idx, ofs, len) \ 26 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ 27 | qptrdiff(offsetof(qt_meta_stringdata_DisplayBase_t, stringdata0) + ofs \ 28 | - idx * sizeof(QByteArrayData)) \ 29 | ) 30 | static const qt_meta_stringdata_DisplayBase_t qt_meta_stringdata_DisplayBase = { 31 | { 32 | QT_MOC_LITERAL(0, 0, 11), // "DisplayBase" 33 | QT_MOC_LITERAL(1, 12, 10), // "newDisplay" 34 | QT_MOC_LITERAL(2, 23, 0), // "" 35 | QT_MOC_LITERAL(3, 24, 3), // "str" 36 | QT_MOC_LITERAL(4, 28, 9), // "newPacket" 37 | QT_MOC_LITERAL(5, 38, 12), // "DecoderBase*" 38 | QT_MOC_LITERAL(6, 51, 7) // "decoder" 39 | 40 | }, 41 | "DisplayBase\0newDisplay\0\0str\0newPacket\0" 42 | "DecoderBase*\0decoder" 43 | }; 44 | #undef QT_MOC_LITERAL 45 | 46 | static const uint qt_meta_data_DisplayBase[] = { 47 | 48 | // content: 49 | 7, // revision 50 | 0, // classname 51 | 0, 0, // classinfo 52 | 2, 14, // methods 53 | 0, 0, // properties 54 | 0, 0, // enums/sets 55 | 0, 0, // constructors 56 | 0, // flags 57 | 1, // signalCount 58 | 59 | // signals: name, argc, parameters, tag, flags 60 | 1, 1, 24, 2, 0x06 /* Public */, 61 | 62 | // slots: name, argc, parameters, tag, flags 63 | 4, 1, 27, 2, 0x0a /* Public */, 64 | 65 | // signals: parameters 66 | QMetaType::Void, QMetaType::QString, 3, 67 | 68 | // slots: parameters 69 | QMetaType::Void, 0x80000000 | 5, 6, 70 | 71 | 0 // eod 72 | }; 73 | 74 | void DisplayBase::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) 75 | { 76 | if (_c == QMetaObject::InvokeMetaMethod) { 77 | DisplayBase *_t = static_cast(_o); 78 | Q_UNUSED(_t) 79 | switch (_id) { 80 | case 0: _t->newDisplay((*reinterpret_cast< const QString(*)>(_a[1]))); break; 81 | case 1: _t->newPacket((*reinterpret_cast< DecoderBase*(*)>(_a[1]))); break; 82 | default: ; 83 | } 84 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { 85 | switch (_id) { 86 | default: *reinterpret_cast(_a[0]) = -1; break; 87 | case 1: 88 | switch (*reinterpret_cast(_a[1])) { 89 | default: *reinterpret_cast(_a[0]) = -1; break; 90 | case 0: 91 | *reinterpret_cast(_a[0]) = qRegisterMetaType< DecoderBase* >(); break; 92 | } 93 | break; 94 | } 95 | } else if (_c == QMetaObject::IndexOfMethod) { 96 | int *result = reinterpret_cast(_a[0]); 97 | void **func = reinterpret_cast(_a[1]); 98 | { 99 | typedef void (DisplayBase::*_t)(const QString & ); 100 | if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DisplayBase::newDisplay)) { 101 | *result = 0; 102 | } 103 | } 104 | } 105 | } 106 | 107 | const QMetaObject DisplayBase::staticMetaObject = { 108 | { &QObject::staticMetaObject, qt_meta_stringdata_DisplayBase.data, 109 | qt_meta_data_DisplayBase, qt_static_metacall, Q_NULLPTR, Q_NULLPTR} 110 | }; 111 | 112 | 113 | const QMetaObject *DisplayBase::metaObject() const 114 | { 115 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; 116 | } 117 | 118 | void *DisplayBase::qt_metacast(const char *_clname) 119 | { 120 | if (!_clname) return Q_NULLPTR; 121 | if (!strcmp(_clname, qt_meta_stringdata_DisplayBase.stringdata0)) 122 | return static_cast(const_cast< DisplayBase*>(this)); 123 | return QObject::qt_metacast(_clname); 124 | } 125 | 126 | int DisplayBase::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 127 | { 128 | _id = QObject::qt_metacall(_c, _id, _a); 129 | if (_id < 0) 130 | return _id; 131 | if (_c == QMetaObject::InvokeMetaMethod) { 132 | if (_id < 2) 133 | qt_static_metacall(this, _c, _id, _a); 134 | _id -= 2; 135 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { 136 | if (_id < 2) 137 | qt_static_metacall(this, _c, _id, _a); 138 | _id -= 2; 139 | } 140 | return _id; 141 | } 142 | 143 | // SIGNAL 0 144 | void DisplayBase::newDisplay(const QString & _t1) 145 | { 146 | void *_a[] = { Q_NULLPTR, const_cast(reinterpret_cast(&_t1)) }; 147 | QMetaObject::activate(this, &staticMetaObject, 0, _a); 148 | } 149 | QT_END_MOC_NAMESPACE 150 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/SerialPlot_autogen/EWIEGA46WW/moc_portbase.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'portbase.h' 3 | ** 4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.5.1) 5 | ** 6 | ** WARNING! All changes made in this file will be lost! 7 | *****************************************************************************/ 8 | 9 | #include "../../../portbase.h" 10 | #include 11 | #include 12 | #if !defined(Q_MOC_OUTPUT_REVISION) 13 | #error "The header file 'portbase.h' doesn't include ." 14 | #elif Q_MOC_OUTPUT_REVISION != 67 15 | #error "This file was generated using the moc from 5.5.1. It" 16 | #error "cannot be used with the include files from this version of Qt." 17 | #error "(The moc has changed too much.)" 18 | #endif 19 | 20 | QT_BEGIN_MOC_NAMESPACE 21 | struct qt_meta_stringdata_PortBase_t { 22 | QByteArrayData data[5]; 23 | char stringdata0[37]; 24 | }; 25 | #define QT_MOC_LITERAL(idx, ofs, len) \ 26 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ 27 | qptrdiff(offsetof(qt_meta_stringdata_PortBase_t, stringdata0) + ofs \ 28 | - idx * sizeof(QByteArrayData)) \ 29 | ) 30 | static const qt_meta_stringdata_PortBase_t qt_meta_stringdata_PortBase = { 31 | { 32 | QT_MOC_LITERAL(0, 0, 8), // "PortBase" 33 | QT_MOC_LITERAL(1, 9, 5), // "ready" 34 | QT_MOC_LITERAL(2, 15, 0), // "" 35 | QT_MOC_LITERAL(3, 16, 6), // "portID" 36 | QT_MOC_LITERAL(4, 23, 13) // "requestToStop" 37 | 38 | }, 39 | "PortBase\0ready\0\0portID\0requestToStop" 40 | }; 41 | #undef QT_MOC_LITERAL 42 | 43 | static const uint qt_meta_data_PortBase[] = { 44 | 45 | // content: 46 | 7, // revision 47 | 0, // classname 48 | 0, 0, // classinfo 49 | 2, 14, // methods 50 | 0, 0, // properties 51 | 0, 0, // enums/sets 52 | 0, 0, // constructors 53 | 0, // flags 54 | 1, // signalCount 55 | 56 | // signals: name, argc, parameters, tag, flags 57 | 1, 1, 24, 2, 0x06 /* Public */, 58 | 59 | // slots: name, argc, parameters, tag, flags 60 | 4, 0, 27, 2, 0x0a /* Public */, 61 | 62 | // signals: parameters 63 | QMetaType::Void, QMetaType::Int, 3, 64 | 65 | // slots: parameters 66 | QMetaType::Void, 67 | 68 | 0 // eod 69 | }; 70 | 71 | void PortBase::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) 72 | { 73 | if (_c == QMetaObject::InvokeMetaMethod) { 74 | PortBase *_t = static_cast(_o); 75 | Q_UNUSED(_t) 76 | switch (_id) { 77 | case 0: _t->ready((*reinterpret_cast< int(*)>(_a[1]))); break; 78 | case 1: _t->requestToStop(); break; 79 | default: ; 80 | } 81 | } else if (_c == QMetaObject::IndexOfMethod) { 82 | int *result = reinterpret_cast(_a[0]); 83 | void **func = reinterpret_cast(_a[1]); 84 | { 85 | typedef void (PortBase::*_t)(int ); 86 | if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PortBase::ready)) { 87 | *result = 0; 88 | } 89 | } 90 | } 91 | } 92 | 93 | const QMetaObject PortBase::staticMetaObject = { 94 | { &QThread::staticMetaObject, qt_meta_stringdata_PortBase.data, 95 | qt_meta_data_PortBase, qt_static_metacall, Q_NULLPTR, Q_NULLPTR} 96 | }; 97 | 98 | 99 | const QMetaObject *PortBase::metaObject() const 100 | { 101 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; 102 | } 103 | 104 | void *PortBase::qt_metacast(const char *_clname) 105 | { 106 | if (!_clname) return Q_NULLPTR; 107 | if (!strcmp(_clname, qt_meta_stringdata_PortBase.stringdata0)) 108 | return static_cast(const_cast< PortBase*>(this)); 109 | return QThread::qt_metacast(_clname); 110 | } 111 | 112 | int PortBase::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 113 | { 114 | _id = QThread::qt_metacall(_c, _id, _a); 115 | if (_id < 0) 116 | return _id; 117 | if (_c == QMetaObject::InvokeMetaMethod) { 118 | if (_id < 2) 119 | qt_static_metacall(this, _c, _id, _a); 120 | _id -= 2; 121 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { 122 | if (_id < 2) 123 | *reinterpret_cast(_a[0]) = -1; 124 | _id -= 2; 125 | } 126 | return _id; 127 | } 128 | 129 | // SIGNAL 0 130 | void PortBase::ready(int _t1) 131 | { 132 | void *_a[] = { Q_NULLPTR, const_cast(reinterpret_cast(&_t1)) }; 133 | QMetaObject::activate(this, &staticMetaObject, 0, _a); 134 | } 135 | QT_END_MOC_NAMESPACE 136 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/SerialPlot_autogen/mocs_compilation.cpp: -------------------------------------------------------------------------------- 1 | // This file is autogenerated. Changes will be overwritten. 2 | #include "EWIEGA46WW/moc_chart.cpp" 3 | #include "EWIEGA46WW/moc_configuration.cpp" 4 | #include "EWIEGA46WW/moc_decoderbase.cpp" 5 | #include "EWIEGA46WW/moc_decoderbin.cpp" 6 | #include "EWIEGA46WW/moc_decodercsv.cpp" 7 | #include "EWIEGA46WW/moc_decoderhdlc.cpp" 8 | #include "EWIEGA46WW/moc_decoderplugin.cpp" 9 | #include "EWIEGA46WW/moc_displaybase.cpp" 10 | #include "EWIEGA46WW/moc_mainwindow.cpp" 11 | #include "EWIEGA46WW/moc_plugin.cpp" 12 | #include "EWIEGA46WW/moc_portbase.cpp" 13 | #include "EWIEGA46WW/moc_porthid.cpp" 14 | #include "EWIEGA46WW/moc_portrs232.cpp" 15 | #include "EWIEGA46WW/moc_serialchartjs.cpp" 16 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/Testing/Temporary/LastTest.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/Testing/Temporary/LastTest.log -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: C:/Users/Pengzhihui/Desktop/SerialChart 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/SerialChart") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "Release") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Is this installation the result of a crosscompile? 31 | if(NOT DEFINED CMAKE_CROSSCOMPILING) 32 | set(CMAKE_CROSSCOMPILING "FALSE") 33 | endif() 34 | 35 | if(CMAKE_INSTALL_COMPONENT) 36 | set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt") 37 | else() 38 | set(CMAKE_INSTALL_MANIFEST "install_manifest.txt") 39 | endif() 40 | 41 | string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT 42 | "${CMAKE_INSTALL_MANIFEST_FILES}") 43 | file(WRITE "C:/Users/Pengzhihui/Desktop/SerialChart/cmake-build-release-mingw-qt/${CMAKE_INSTALL_MANIFEST}" 44 | "${CMAKE_INSTALL_MANIFEST_CONTENT}") 45 | -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/icudt54.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/icudt54.dll -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/icuin54.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/icuin54.dll -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/icuuc54.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/icuuc54.dll -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/libwinpthread-1.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/libwinpthread-1.dll -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/logo.qrc.depends: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/logo.qrc.depends -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/plugins/platforms/qwindows.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/cmake-build-release-mingw-qt/plugins/platforms/qwindows.dll -------------------------------------------------------------------------------- /Clion_Proj/cmake-build-release-mingw-qt/resources.qrc.depends: -------------------------------------------------------------------------------- 1 | 2 | 3 | images/new.png 4 | images/open.png 5 | images/save.png 6 | images/run.png 7 | images/stop.png 8 | 9 | 10 | -------------------------------------------------------------------------------- /Clion_Proj/common.h: -------------------------------------------------------------------------------- 1 | #ifndef COMMON_H 2 | #define COMMON_H 3 | 4 | #include 5 | #include 6 | #include 7 | #include 8 | #include 9 | #include 10 | #include 11 | #include 12 | #include 13 | #include 14 | #include 15 | #include 16 | #include 17 | 18 | 19 | #define MIN(A,B) (((A)<(B)) ? (A) : (B) ) 20 | #define MAX(A,B) (((A)>(B)) ? (A) : (B) ) 21 | #define PUT_IN_RANGE(V,VMIN,VMAX) MAX(VMIN,MIN(VMAX,V)) 22 | #define MAP_TO_RANGE(V,VMIN0,VMAX0,VMIN1,VMAX1) ( (VMIN1) + ( (V) - (VMIN0) ) * ( (VMAX1) - (VMIN1) ) / ( (VMAX0) - (VMIN0) ) ) 23 | 24 | #endif // COMMON_H 25 | -------------------------------------------------------------------------------- /Clion_Proj/configuration.cpp: -------------------------------------------------------------------------------- 1 | #include "configuration.h" 2 | 3 | Configuration::Configuration(QObject *parent) : 4 | QObject(parent) 5 | { 6 | 7 | } 8 | 9 | const QString Configuration::get(const QString& sectionName,const QString& propertyName,const QString& defaultValue){ 10 | 11 | if(sections.contains(sectionName) && sections[sectionName].contains(propertyName)){ 12 | return sections[sectionName][propertyName]; 13 | }else{ 14 | if(sectionName!="_setup_" && sectionName!="_default_") 15 | return get("_default_",propertyName,defaultValue); 16 | else 17 | return defaultValue; 18 | } 19 | } 20 | 21 | 22 | void Configuration::parse(const QString& str){ 23 | //load defaults 24 | fields.clear(); 25 | sections.clear(); 26 | 27 | sections["_setup_"]["port"] = "COM1"; 28 | sections["_setup_"]["baudrate"] = "9600"; 29 | sections["_setup_"]["min"] = "-100"; 30 | sections["_setup_"]["max"] = "100"; 31 | 32 | sections["_default_"] ["color"] = "black"; //http://www.w3.org/TR/SVG/types.html#ColorKeywords 33 | sections["_default_"] ["min"] = "-100"; 34 | sections["_default_"] ["max"] = "100"; 35 | 36 | 37 | //parse configuration 38 | QString sectionName = "_setup_"; 39 | QStringList lines = str.split(QRegExp("[\\x0D\\x0A]+")); 40 | QStringList::iterator i; 41 | for(i=lines.begin();i!=lines.end();i++){ 42 | QString line = *i; 43 | //qDebug(("{"+ line +"}").toAscii()); 44 | QRegExp rx("^\\s*\\[\\s*(\\w+)\\s*\\]\\s*$"); 45 | if(rx.exactMatch(line)){ 46 | //qDebug((" section["+rx.capturedTexts()[1]+"]").toAscii()); 47 | sectionName = rx.capturedTexts()[1]; 48 | if(!fields.contains(sectionName) && sectionName!="_setup_" && sectionName!="_default_") fields.append(sectionName);; 49 | continue; 50 | } 51 | rx.setPattern("^\\s*(\\w+)\\s*\\=(.*)$"); 52 | if(rx.exactMatch(line)){ 53 | QString value = rx.capturedTexts()[2]; 54 | value = value.trimmed(); 55 | sections[sectionName][rx.capturedTexts()[1]] = value; 56 | //qDebug((" pair["+rx.capturedTexts()[1]+","+value+"]").toAscii()); 57 | continue; 58 | } 59 | } 60 | 61 | } 62 | 63 | 64 | 65 | -------------------------------------------------------------------------------- /Clion_Proj/configuration.h: -------------------------------------------------------------------------------- 1 | #ifndef CONFIGURATION_H 2 | #define CONFIGURATION_H 3 | 4 | #include "common.h" 5 | #include 6 | #include 7 | 8 | class Configuration : public QObject 9 | { 10 | Q_OBJECT 11 | public: 12 | explicit Configuration(QObject *parent = 0); 13 | void parse(const QString& str); 14 | const QString get(const QString& sectionName,const QString& propertyName,const QString& defaultValue=""); 15 | QStringList fields; 16 | 17 | private: 18 | QHash > sections; 19 | 20 | 21 | 22 | 23 | signals: 24 | 25 | public slots: 26 | 27 | }; 28 | 29 | #endif // CONFIGURATION_H 30 | -------------------------------------------------------------------------------- /Clion_Proj/decoderbase.cpp: -------------------------------------------------------------------------------- 1 | #include "mainwindow.h" 2 | #include "decoderbase.h" 3 | #include "decodercsv.h" 4 | #include "decoderhdlc.h" 5 | #include "decoderplugin.h" 6 | 7 | 8 | DecoderBase::DecoderBase(QObject *parent, Configuration* config) : 9 | QObject(parent) 10 | { 11 | this->config = config; 12 | packetMaxLen = config->get("_setup_","packet_max_len","256").toInt(); 13 | packetStarted = false; 14 | } 15 | 16 | 17 | DecoderBase* createDecoder(QObject *parent, Configuration* config){ 18 | 19 | if(config->get("_setup_","decoder") == "hdlc") 20 | return new DecoderHdlc(parent,config); 21 | if(config->get("_setup_","decoder") == "bin") 22 | return new DecoderBin(parent,config); 23 | if(config->get("_setup_","decoder") == "plugin") 24 | return new DecoderPlugin(parent,config); 25 | 26 | //default 27 | return new DecoderCsv(parent,config); 28 | } 29 | 30 | 31 | -------------------------------------------------------------------------------- /Clion_Proj/decoderbase.h: -------------------------------------------------------------------------------- 1 | #ifndef DECODERBASE_H 2 | #define DECODERBASE_H 3 | 4 | #include 5 | #include "configuration.h" 6 | 7 | class DecoderBase : public QObject 8 | { 9 | Q_OBJECT 10 | public: 11 | explicit DecoderBase(QObject *parent = 0, Configuration* config = 0); 12 | 13 | const QByteArray& getPacketBytes(){return packetBytes;}; 14 | const QList& getPacketParts(){return packetParts;}; 15 | const QList& getPacketValues(){return packetValues;}; 16 | 17 | 18 | 19 | protected: 20 | Configuration* config; 21 | int packetMaxLen; 22 | bool packetStarted; 23 | QByteArray packetBytes; 24 | QList packetParts; 25 | QList packetValues; 26 | 27 | signals: 28 | //virtual void newPacket(const DecoderBase*); 29 | 30 | public slots: 31 | virtual void newData(const QByteArray&) = 0; 32 | 33 | }; 34 | 35 | DecoderBase* createDecoder(QObject *parent, Configuration* config); 36 | 37 | #endif // DECODERBASE_H 38 | -------------------------------------------------------------------------------- /Clion_Proj/decoderbin.cpp: -------------------------------------------------------------------------------- 1 | #include "decoderbin.h" 2 | 3 | DecoderBin::DecoderBin(QObject *parent,Configuration *config) : 4 | DecoderBase(parent,config) 5 | { 6 | 7 | } 8 | 9 | 10 | void DecoderBin::newData(const QByteArray& newBytes){ 11 | //qDebug(newBytes.toHex()); 12 | packetBytes.append(newBytes); 13 | processPacket(); 14 | } 15 | 16 | 17 | void DecoderBin::processPacket(){ 18 | packetStarted = true; 19 | if(!packetBytes.isEmpty()){ 20 | packetParts.clear(); 21 | packetValues.clear(); 22 | QByteArray part; 23 | QVariant value; 24 | int j = 0; 25 | for(int i=0; i < config->fields.length(); i++){ 26 | QString field = config->fields[i]; 27 | QString type = config->get(field,"type","byte"); 28 | bool msbf = (config->get(field,"endian","msbf") == "msbf"); 29 | int len = 1; 30 | value = 0; 31 | part = QByteArray().append('\0'); 32 | if("byte" == type){ 33 | part = packetBytes.mid(j,len); 34 | value = (unsigned char)part[0]; 35 | }else if("sbyte" == type){ 36 | part = packetBytes.mid(j,len); 37 | value = (char)part[0]; 38 | }else if("word" == type){ 39 | len = 2; 40 | part = packetBytes.mid(j,len); 41 | if(msbf){ 42 | value = (unsigned short)((unsigned char)part[0]*256 + (unsigned char)part[1]); 43 | }else{ 44 | value = (unsigned short)((unsigned char)part[0] + (unsigned char)part[1]*256); 45 | } 46 | }else if("sword" == type){ 47 | len = 2; 48 | part = packetBytes.mid(j,len); 49 | if(msbf){ 50 | value = (short)((char)part[0]*256 + (unsigned char)part[1]); 51 | }else{ 52 | value = (short)((unsigned char)part[0] + (char)part[1]*256); 53 | } 54 | }else if("float" == type){ 55 | len = 4; 56 | part = packetBytes.mid(j,len); 57 | value = *(float*)(part.data()); 58 | } 59 | packetValues.append(value); 60 | packetParts.append(part); 61 | j += len; 62 | } 63 | emit newPacket(this); 64 | } 65 | packetBytes.clear(); 66 | 67 | } 68 | -------------------------------------------------------------------------------- /Clion_Proj/decoderbin.h: -------------------------------------------------------------------------------- 1 | #ifndef DECODERBIN_H 2 | #define DECODERBIN_H 3 | 4 | 5 | #include "decoderbase.h" 6 | 7 | class DecoderBin : public DecoderBase 8 | { 9 | Q_OBJECT 10 | public: 11 | explicit DecoderBin(QObject *parent = 0, Configuration* config = 0); 12 | 13 | protected: 14 | void processPacket(); 15 | 16 | signals: 17 | void newPacket(DecoderBase*); 18 | 19 | public slots: 20 | void newData(const QByteArray&); 21 | 22 | }; 23 | 24 | 25 | #endif // DECODERBIN_H 26 | -------------------------------------------------------------------------------- /Clion_Proj/decodercsv.cpp: -------------------------------------------------------------------------------- 1 | #include "decodercsv.h" 2 | 3 | DecoderCsv::DecoderCsv(QObject *parent,Configuration* config) : 4 | DecoderBase(parent,config) 5 | { 6 | 7 | } 8 | 9 | 10 | void DecoderCsv::newData(const QByteArray& newBytes){ 11 | for(int i=0;i::iterator i; 19 | for(i=packetParts.begin();i!=packetParts.end();i++){ 20 | packetValues.append((*i).trimmed().toDouble()); 21 | } 22 | emit newPacket(this); 23 | } 24 | packetBytes.clear(); 25 | }else{ 26 | if(packetStarted){ 27 | packetBytes.append(c); 28 | if(packetBytes.length() > packetMaxLen){ 29 | packetBytes.clear(); //discard packet 30 | packetStarted = false; 31 | } 32 | } 33 | } 34 | } 35 | } 36 | 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /Clion_Proj/decodercsv.h: -------------------------------------------------------------------------------- 1 | #ifndef DECODERCSV_H 2 | #define DECODERCSV_H 3 | 4 | #include "decoderbase.h" 5 | 6 | class DecoderCsv : public DecoderBase 7 | { 8 | Q_OBJECT 9 | public: 10 | explicit DecoderCsv(QObject *parent = 0, Configuration* config = 0); 11 | 12 | 13 | signals: 14 | void newPacket(DecoderBase*); 15 | 16 | public slots: 17 | void newData(const QByteArray&); 18 | 19 | }; 20 | 21 | 22 | 23 | #endif // DECODERCSV_H 24 | -------------------------------------------------------------------------------- /Clion_Proj/decoderhdlc.cpp: -------------------------------------------------------------------------------- 1 | #include "decoderhdlc.h" 2 | 3 | DecoderHdlc::DecoderHdlc(QObject *parent,Configuration *config) : 4 | DecoderBin(parent,config) 5 | { 6 | hdlc_esc = QByteArray::fromHex(config->get("_setup_","hdlc_esc","7d").toLatin1())[0]; 7 | hdlc_sep = QByteArray::fromHex(config->get("_setup_","hdlc_sep","7e").toLatin1())[0]; 8 | hdlc_xor = QByteArray::fromHex(config->get("_setup_","hdlc_xor","20").toLatin1())[0]; 9 | escapeFlag = false; 10 | } 11 | 12 | 13 | void DecoderHdlc::newData(const QByteArray& newBytes){ 14 | //qDebug(newBytes.toHex()); 15 | for(int i=0;i packetMaxLen){ 28 | packetBytes.clear(); //discard packet 29 | packetStarted = false; 30 | } 31 | } 32 | } 33 | } 34 | } 35 | } 36 | 37 | 38 | -------------------------------------------------------------------------------- /Clion_Proj/decoderhdlc.h: -------------------------------------------------------------------------------- 1 | #ifndef DECODERHDLC_H 2 | #define DECODERHDLC_H 3 | 4 | #include "decoderbin.h" 5 | 6 | class DecoderHdlc : public DecoderBin 7 | { 8 | Q_OBJECT 9 | public: 10 | explicit DecoderHdlc(QObject *parent = 0, Configuration* config = 0); 11 | 12 | private: 13 | char hdlc_esc; 14 | char hdlc_sep; 15 | char hdlc_xor; 16 | bool escapeFlag; 17 | 18 | /* 19 | signals: 20 | void newPacket(DecoderBase*); 21 | */ 22 | 23 | public slots: 24 | void newData(const QByteArray&); 25 | }; 26 | 27 | #endif // DECODERHDLC_H 28 | -------------------------------------------------------------------------------- /Clion_Proj/decoderplugin.cpp: -------------------------------------------------------------------------------- 1 | #include "decoderplugin.h" 2 | #include "mainwindow.h" 3 | #include "plugin.h" 4 | 5 | DecoderPlugin::DecoderPlugin(QObject *parent,Configuration* config) : 6 | DecoderBase(parent,config) 7 | { 8 | } 9 | 10 | 11 | 12 | void DecoderPlugin::newData(const QByteArray& newBytes){ 13 | MainWindow* mainwindow = (MainWindow*) (this->parent()); 14 | mainwindow->getPlugin()->newData(newBytes); 15 | 16 | //process line 17 | for(int i=0;igetPlugin()->newLine(packetBytes); 23 | } 24 | packetBytes.clear(); 25 | }else{ 26 | if(packetStarted){ 27 | packetBytes.append(c); 28 | if(packetBytes.length() > packetMaxLen){ 29 | packetBytes.clear(); //discard packet 30 | packetStarted = false; 31 | } 32 | } 33 | } 34 | } 35 | 36 | } 37 | 38 | 39 | void DecoderPlugin::pluginNewPacket(QString values){ 40 | packetParts = values.toLatin1().split(','); 41 | packetValues.clear(); 42 | QList::iterator i; 43 | for(i=packetParts.begin();i!=packetParts.end();i++){ 44 | packetValues.append((*i).trimmed().toDouble()); 45 | } 46 | emit newPacket(this); 47 | } 48 | -------------------------------------------------------------------------------- /Clion_Proj/decoderplugin.h: -------------------------------------------------------------------------------- 1 | #ifndef DECODERPLUGIN_H 2 | #define DECODERPLUGIN_H 3 | 4 | #include "decoderbase.h" 5 | class DecoderPlugin : public DecoderBase 6 | { 7 | Q_OBJECT 8 | public: 9 | explicit DecoderPlugin(QObject *parent = 0, Configuration* config = 0); 10 | 11 | 12 | void pluginNewPacket(QString values); //used by plugin to make decoder emit a new packet 13 | 14 | signals: 15 | void newPacket(DecoderBase*); 16 | 17 | public slots: 18 | void newData(const QByteArray&); 19 | }; 20 | 21 | 22 | 23 | #endif // DECODERPLUGIN_H 24 | -------------------------------------------------------------------------------- /Clion_Proj/displaybase.cpp: -------------------------------------------------------------------------------- 1 | #include "displaybase.h" 2 | 3 | DisplayBase::DisplayBase(QObject *parent,Configuration* config) : 4 | QObject(parent) 5 | { 6 | this->config = config; 7 | 8 | } 9 | 10 | 11 | DisplayBase* createDisplay(QObject *parent,Configuration *config){ 12 | return new DisplayBase(parent,config); 13 | } 14 | 15 | 16 | void DisplayBase::newPacket(DecoderBase* decoder){ 17 | QByteArray displayResult; 18 | QString display = config->get("_setup_","display","raw"); 19 | 20 | if(display == "list"){ 21 | QByteArray display_sep = QByteArray::fromPercentEncoding( 22 | config->get("_setup_","display_sep",",").toLatin1() 23 | ); 24 | int display_skip_transparent = config->get("_setup_","display_skip_transparent","0").toInt(); 25 | QList packetValues = decoder->getPacketValues(); 26 | QList packetParts = decoder->getPacketParts(); 27 | bool first = true; 28 | for(int i=0; i < MIN(config->fields.length(),packetValues.length()); i++){ 29 | QString field = config->fields[i]; 30 | QByteArray format = config->get(field,"format","%f").toLatin1(); 31 | int precision = config->get(field,"precision","6").toInt(); 32 | 33 | if(!display_skip_transparent || config->get(field,"color") != "transparent"){ 34 | if(!first) displayResult += QString(display_sep); 35 | QByteArray v = format; 36 | 37 | 38 | v.replace(QByteArray("%g"),QByteArray::number(packetValues[i].toDouble(),'g',precision)); 39 | v.replace(QByteArray("%f"),QByteArray::number(packetValues[i].toDouble(),'f',precision)); 40 | v.replace(QByteArray("%d"),QByteArray::number(packetValues[i].toInt(),'f',0)); 41 | v.replace(QByteArray("%n"),field.toLatin1()); 42 | v.replace(QByteArray("%s"),packetParts[i]); 43 | v.replace(QByteArray("%x"),packetParts[i].toHex()); 44 | 45 | 46 | displayResult += v; 47 | first = false; 48 | } 49 | } 50 | 51 | 52 | 53 | emit newDisplay(displayResult); 54 | }else if(display == "hex"){ 55 | emit newDisplay(decoder->getPacketBytes().toHex()); 56 | }else{ 57 | emit newDisplay(decoder->getPacketBytes()); 58 | } 59 | 60 | } 61 | -------------------------------------------------------------------------------- /Clion_Proj/displaybase.h: -------------------------------------------------------------------------------- 1 | #ifndef DISPLAYBASE_H 2 | #define DISPLAYBASE_H 3 | 4 | #include 5 | #include "configuration.h" 6 | #include "decoderbase.h" 7 | 8 | class DisplayBase : public QObject 9 | { 10 | Q_OBJECT 11 | public: 12 | explicit DisplayBase(QObject *parent = 0,Configuration *config=0); 13 | private: 14 | Configuration* config; 15 | 16 | signals: 17 | void newDisplay(const QString& str); 18 | 19 | public slots: 20 | void newPacket(DecoderBase* decoder); 21 | 22 | }; 23 | 24 | DisplayBase* createDisplay(QObject *parent,Configuration *config); 25 | 26 | #endif // DISPLAYBASE_H 27 | -------------------------------------------------------------------------------- /Clion_Proj/hiddevice.h: -------------------------------------------------------------------------------- 1 | #ifndef HIDDEVICE_H 2 | #define HIDDEVICE_H 3 | 4 | 5 | #include 6 | #include 7 | #include 8 | 9 | #ifdef UNICODE 10 | typedef LPCWSTR PCTSTR; 11 | #else 12 | typedef LPCSTR PCTSTR; 13 | #endif 14 | 15 | 16 | class HidDevice 17 | { 18 | public: 19 | HidDevice(); 20 | bool connect(const QString& DeviceID); 21 | bool disconnect(); 22 | bool read(unsigned char inEndpointNum,QByteArray& readData); 23 | 24 | private: 25 | bool isConnected; 26 | unsigned int packetSize; 27 | HANDLE WriteHandle ; //Need to get a write "handle" to our device before we can write to it. 28 | HANDLE ReadHandle ; //Need to get a read "handle" to our device before we can read from it. 29 | }; 30 | 31 | #endif // HIDDEVICE_H 32 | -------------------------------------------------------------------------------- /Clion_Proj/images/new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/images/new.png -------------------------------------------------------------------------------- /Clion_Proj/images/open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/images/open.png -------------------------------------------------------------------------------- /Clion_Proj/images/run.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/images/run.png -------------------------------------------------------------------------------- /Clion_Proj/images/save.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/images/save.png -------------------------------------------------------------------------------- /Clion_Proj/images/stop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/images/stop.png -------------------------------------------------------------------------------- /Clion_Proj/logo.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Clion_Proj/logo.ico -------------------------------------------------------------------------------- /Clion_Proj/main.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include "mainwindow.h" 3 | #include "ui_mainwindow.h" 4 | 5 | 6 | int main(int argc, char *argv[]) 7 | { 8 | QApplication a(argc, argv); 9 | //qDebug(QCoreApplication::applicationDirPath().toLatin1()); 10 | //The next 2 line have been added to solve https://github.com/starlino/serialchart/issues/11 11 | QCoreApplication::addLibraryPath(QCoreApplication::applicationDirPath() + "/platforms/"); 12 | QCoreApplication::addLibraryPath(QCoreApplication::applicationDirPath()); 13 | QCoreApplication::setOrganizationName("Starlino"); 14 | QCoreApplication::setApplicationName(APP_NAME); 15 | MainWindow w; 16 | w.show(); 17 | return a.exec(); 18 | } 19 | -------------------------------------------------------------------------------- /Clion_Proj/mainwindow.h: -------------------------------------------------------------------------------- 1 | #ifndef MAINWINDOW_H 2 | #define MAINWINDOW_H 3 | 4 | #define APP_NAME "SerialChart" 5 | #define APP_VERSION "0.3.4" 6 | 7 | 8 | #include 9 | #include "common.h" 10 | #include "portbase.h" 11 | #include "displaybase.h" 12 | 13 | 14 | class Plugin; 15 | class DecoderBase; 16 | 17 | namespace Ui { 18 | class MainWindow; 19 | } 20 | 21 | class MainWindow : public QMainWindow { 22 | Q_OBJECT 23 | public: 24 | MainWindow(QWidget *parent = 0); 25 | ~MainWindow(); 26 | 27 | PortBase* getPort(int portID); 28 | Plugin* getPlugin(){return plugin;}; 29 | DecoderBase* getDecoder(){return decoder;}; 30 | bool isPluginReady(){return pluginReady;}; 31 | 32 | protected: 33 | void changeEvent(QEvent *e); 34 | void closeEvent(QCloseEvent *e); 35 | void showEvent(QShowEvent *e); 36 | 37 | 38 | 39 | private: 40 | Ui::MainWindow *ui; 41 | 42 | QSettings settings; 43 | QString documentFilePath; 44 | void updateDocumentFilePath(const QString& filePath); 45 | 46 | bool saveDocument(const QString& filePath); 47 | bool loadDocument(const QString& filePath); 48 | bool checkDocument(); 49 | bool documentIsDirty; 50 | Configuration* config; 51 | 52 | PortBase* port; 53 | DecoderBase* decoder; 54 | DisplayBase* display; 55 | 56 | bool portValid; 57 | bool sendString(QString str); 58 | 59 | Plugin* plugin; 60 | 61 | bool pluginReady = false; 62 | bool pluginLoading = false; 63 | 64 | private slots: 65 | void on_sendButton_clicked(); 66 | void on_actionConfiguration_toggled(bool ); 67 | 68 | void on_actionChart_toggled(bool ); 69 | void on_actionToolbar_toggled(bool ); 70 | void on_actionWebView_toggled(bool arg1); 71 | 72 | void on_actionStop_triggered(); 73 | void on_actionRun_triggered(); 74 | void on_actionAbout_triggered(); 75 | void on_actionSaveAs_triggered(); 76 | void on_actionSave_triggered(); 77 | void on_actionOpen_triggered(); 78 | void on_actionExit_triggered(); 79 | void on_actionNew_triggered(); 80 | 81 | void on_configurationText_textChanged(); 82 | 83 | void portStopped(); 84 | void message(const QString& text,const QString& type); 85 | 86 | void on_sendText_returnPressed(); 87 | 88 | void mainFrame_javaScriptWindowObjectCleared(); 89 | void mainFrame_loadFinished (bool ok); 90 | }; 91 | 92 | #endif // MAINWINDOW_H 93 | -------------------------------------------------------------------------------- /Clion_Proj/notes.txt: -------------------------------------------------------------------------------- 1 | [_setup_] 2 | 3 | 4 | //maximum length of a packet in bytes , default = 256, longer packets will be dropped 5 | packet_max_len = 50 6 | 7 | 8 | display = raw //print raw packet in asccii format 9 | 10 | display = hex //print raw packet in HEX format 11 | 12 | display = list // display list of values in packet, each value is formated according to it's format param 13 | display_sep = , // list separator percent-encoded, default is comma, see http://en.wikipedia.org/wiki/Percent-encoding 14 | display_skip_transparent = 1 // skip display of values with color = transparent 15 | 16 | 17 | [field] 18 | 19 | format = %n=%f // format value 20 | %n -> field name 21 | %f -> float 22 | %d -> decimal integer 23 | %s -> raw data for this value 24 | %x -> hex of raw data 25 | 26 | precision = 6 // precision of floats in format 27 | 28 | 29 | 30 | decoder = csv //default decoder , comma separated values 31 | 32 | 33 | decode = hdlc // decode values according to HDLC escaping 34 | 35 | hdlc_esc = 7D // escape char 36 | hdlc_sep = 7E // packet separator char 37 | hdlc_xor = 20 // xor char used in escaping escape and separator chars 38 | 39 | 40 | type = byte //byte 41 | sbyte 42 | word 43 | sword 44 | dword 45 | sdword 46 | 47 | endian = msbf //most significant byte first see http://en.wikipedia.org/wiki/Endianness 48 | = lsbf //least significant byte first 49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /Clion_Proj/plugin.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include "plugin.h" 3 | #include "mainwindow.h" 4 | #include "portbase.h" 5 | #include 6 | #include 7 | 8 | 9 | //#define ARRAY_2_JSON(a) QJsonDocument(QJsonArray::fromVariantList(a)).toJson((QJsonDocument::Compact)) 10 | 11 | 12 | Plugin::Plugin(QObject *parent, QWebView *webView) : 13 | QObject(parent) 14 | { 15 | this->mainwindow = (MainWindow *) (this->parent()); 16 | this->webView = webView; 17 | } 18 | 19 | QVariant Plugin::call(const QString function, QString params) 20 | { 21 | QString eval_str = "if('function'==typeof(" + function + ")) " + function + "(" + params + ");"; 22 | //qDebug() << "eval_str: " << eval_str; 23 | return eval(eval_str); 24 | 25 | } 26 | 27 | 28 | void Plugin::newData(const QByteArray &newBytes) 29 | { 30 | call("PLUGIN.onNewData", "'" + newBytes.toHex() + "'"); 31 | } 32 | 33 | void Plugin::newLine(const QByteArray &line) 34 | { 35 | call("PLUGIN.onNewLine", "PLUGIN.hexUnescape('" + line.toHex() + "')"); 36 | } 37 | 38 | 39 | //**************************** 40 | //SLOTS 41 | //**************************** 42 | void Plugin::slotNewPacket(DecoderBase *decoder) 43 | { 44 | //QVariant result = call("PLUGIN.onNewPacket", ARRAY_2_JSON(decoder->getPacketValues())); 45 | 46 | QStringList stringList; 47 | foreach(const QVariant value, decoder->getPacketValues()) stringList.append(value.toString()); 48 | QVariant result = call("PLUGIN.onNewPacket", "[" + stringList.join(',') + "]"); 49 | 50 | 51 | //qDebug() << "Result: " << result; 52 | } 53 | 54 | void Plugin::slotPortReady(int portID) 55 | { 56 | QVariant result = call("PLUGIN.onPortReady", QString::number(portID)); 57 | //qDebug() << "Result: " << result; 58 | } 59 | 60 | 61 | //**************************** 62 | //INVOKABLE FUNCTIONS 63 | //**************************** 64 | 65 | void Plugin::newPacket(QString values) 66 | { 67 | DecoderPlugin *decoder = (DecoderPlugin *) (this->mainwindow->getDecoder()); 68 | decoder->pluginNewPacket(values); 69 | } 70 | 71 | QString Plugin::hexPack(QVariant v, QString type) 72 | { 73 | char buf[4]; 74 | char size = 0; 75 | if ("byte" == type) 76 | { 77 | *((unsigned char *) buf) = v.value(); 78 | size = 1; 79 | } else if ("sbyte" == type) 80 | { 81 | *((signed char *) buf) = v.value(); 82 | size = 1; 83 | } else if ("word" == type) 84 | { 85 | *((unsigned short *) buf) = v.value(); 86 | size = 2; 87 | } else if ("sword" == type) 88 | { 89 | *((unsigned short *) buf) = v.value(); 90 | size = 2; 91 | } else if ("float" == type) 92 | { 93 | *((float *) buf) = v.value(); 94 | size = 4; 95 | } 96 | 97 | QByteArray qb(buf, size); 98 | return qb.toHex(); 99 | } 100 | 101 | QVariant Plugin::hexUnpack(QString hexString, QString type) 102 | { 103 | char buf[4]; 104 | QByteArray qb = QByteArray::fromHex(hexString.toLatin1()); 105 | memcpy(buf, qb.data(), qb.size()); 106 | QVariant v = QVariant::Invalid; 107 | if ("float" == type) 108 | { 109 | v = QVariant::fromValue(*((float *) (buf))); 110 | return v; //return float as is 111 | } else if ("byte" == type) 112 | { 113 | v = QVariant::fromValue(*((unsigned char *) (buf))); 114 | } else if ("sbyte" == type) 115 | { 116 | v = QVariant::fromValue(*((signed char *) (buf))); 117 | } else if ("word" == type) 118 | { 119 | v = QVariant::fromValue(*((unsigned short *) (buf))); 120 | } else if ("sword" == type) 121 | { 122 | v = QVariant::fromValue(*((signed short *) (buf))); 123 | } 124 | v.convert(QVariant::LongLong); //convert all integer types to higher resolution 125 | return v; 126 | } 127 | 128 | QString Plugin::hexEscape(QString string) 129 | { 130 | 131 | 132 | } 133 | 134 | QString Plugin::hexUnescape(QString hexString) 135 | { 136 | QByteArray qb = QByteArray::fromHex(hexString.toLatin1()); 137 | return QString::fromLatin1(qb.data()); 138 | } 139 | 140 | QVariant Plugin::portSend(int portID, QString string) 141 | { 142 | qDebug() << "Send:" << string << "] Format: " << this->dataFormat; 143 | if (PortBase *port = mainwindow->getPort(portID)) 144 | { 145 | if ("string" == this->dataFormat) 146 | port->send(string.toLatin1()); 147 | else if ("hex" == this->dataFormat) 148 | port->send(QByteArray::fromHex(string.toLatin1())); 149 | return true; 150 | } 151 | return false; 152 | } 153 | -------------------------------------------------------------------------------- /Clion_Proj/plugin.h: -------------------------------------------------------------------------------- 1 | #ifndef Plugin_H 2 | #define Plugin_H 3 | 4 | #include 5 | #include 6 | #include "mainwindow.h" 7 | #include "hiddevice.h" 8 | #include 9 | #include "decoderbase.h" 10 | #include "decoderplugin.h" 11 | 12 | class Plugin : public QObject 13 | { 14 | Q_OBJECT 15 | private: 16 | QString dataFormat = "string"; 17 | MainWindow* mainwindow; 18 | QWebView* webView; 19 | 20 | 21 | public: 22 | explicit Plugin(QObject *parent = 0, QWebView* webView = 0); 23 | Q_INVOKABLE QString hexPack(QVariant v,QString type); 24 | Q_INVOKABLE QVariant hexUnpack(QString hexString,QString type); 25 | Q_INVOKABLE QString hexEscape(QString string); 26 | Q_INVOKABLE QString hexUnescape(QString hexString); 27 | Q_INVOKABLE void newPacket(QString values); 28 | 29 | 30 | Q_INVOKABLE bool setDataFormat(QString dataFormat){ 31 | if("string" == dataFormat || "hex" == dataFormat){ 32 | this->dataFormat = dataFormat; 33 | return true; 34 | } 35 | return false; 36 | } 37 | 38 | Q_INVOKABLE QString getDataFormat(){ return this->dataFormat; } 39 | 40 | 41 | Q_INVOKABLE QVariant portSend(int portID,QString string); 42 | 43 | 44 | QVariant call(const QString function, QString params); 45 | 46 | void newData(const QByteArray& newBytes); 47 | void newLine(const QByteArray& line); 48 | 49 | 50 | public slots: 51 | void slotNewPacket(DecoderBase* decoder); 52 | void slotPortReady(int portID); 53 | 54 | signals: 55 | QVariant eval(const QString & scriptSource); 56 | 57 | private slots: 58 | 59 | 60 | 61 | 62 | }; 63 | 64 | #endif 65 | -------------------------------------------------------------------------------- /Clion_Proj/portbase.cpp: -------------------------------------------------------------------------------- 1 | #include "portbase.h" 2 | #include "portrs232.h" 3 | #include "porthid.h" 4 | 5 | PortBase::PortBase(QObject *parent,Configuration* config) : 6 | QThread(parent) 7 | { 8 | this->mainwindow = (MainWindow*) (this->parent()); 9 | this->config = config; 10 | this->forceSend = false; 11 | this->portID = 0; 12 | } 13 | 14 | 15 | PortBase* createPort(QObject *parent,Configuration* config){ 16 | if(0 == config->get("_setup_","port").compare("hid",Qt::CaseInsensitive)) 17 | return new PortHid(parent,config); 18 | //default 19 | return new PortRs232(parent,config); 20 | } 21 | 22 | 23 | PortBase::~PortBase(){ 24 | 25 | } 26 | 27 | 28 | 29 | QByteArray stringLiteralUnescape(const QByteArray & data){ 30 | QByteArray result; 31 | uchar escaped = 0; //escaped char zone \n \r \t, etc 32 | uchar escaped_hex = 0; //escaped hex byte zone \x20 33 | uchar escaped_dec = 0; //escaped dec byte zone \d062 , \d158 34 | unsigned char digitsByte; //byte built from escaped digits (hex, dec, etc) 35 | 36 | 37 | for(int i=0;i 0){ 41 | uchar c_lower = tolower(c); 42 | if('0'<=c && c<='9') {digitsByte = digitsByte*16 + (c-'0'); escaped_hex--;} 43 | else if('a'<=c_lower && c_lower<='f') { 44 | digitsByte = digitsByte*16 + (c-'a'+10); escaped_hex--;} 45 | else { 46 | escaped_hex = 0; i--; //invalid digit, process char again on next loop 47 | } 48 | if(0==escaped_hex){ result.append(digitsByte);}; 49 | }else if(escaped_dec > 0){ 50 | if('0'<=c && c<='9') { 51 | digitsByte = digitsByte*10 + (c-'0'); escaped_dec--;} 52 | else { 53 | escaped_dec = 0; i--; //process char again, process char again on next loop 54 | } 55 | if(0==escaped_dec){ result.append(digitsByte);}; 56 | }else if(escaped){ 57 | if('n'==c) result.append('\n'); 58 | if('r'==c) result.append('\r'); 59 | if('t'==c) result.append('\t'); 60 | if('\\'==c) result.append('\\'); 61 | if('x'==c) {escaped_hex = 2; digitsByte = 0;}; //expect 2 hex chars 62 | if('d'==c) {escaped_dec = 3; digitsByte = 0;}; //expect 3 decimal chars 63 | escaped = 0; 64 | }else{ 65 | if('\\'==c) escaped = 1; 66 | else result.append(c); 67 | 68 | } 69 | } 70 | return result; 71 | } 72 | -------------------------------------------------------------------------------- /Clion_Proj/portbase.h: -------------------------------------------------------------------------------- 1 | #ifndef PORTBASE_H 2 | #define PORTBASE_H 3 | 4 | #include 5 | #include 6 | #include 7 | #include "configuration.h" 8 | #include "decoderbase.h" 9 | 10 | class MainWindow; 11 | 12 | class PortBase : public QThread 13 | { 14 | Q_OBJECT 15 | public: 16 | explicit PortBase(QObject *parent = 0,Configuration* config = 0); 17 | virtual ~PortBase(); 18 | DecoderBase* decoder; 19 | 20 | virtual void run() = 0; 21 | virtual void send(const QByteArray & data) = 0; 22 | 23 | bool forceSend; 24 | 25 | //int getPortID(){ return portID ;} 26 | 27 | protected: 28 | Configuration* config; 29 | QByteArray dataBytes; 30 | QList dataValues; 31 | QByteArray sendBytes; 32 | QMutex sendMutex; 33 | bool readyEmitted; 34 | int portID; 35 | MainWindow* mainwindow; 36 | 37 | signals: 38 | //void stopped() = 0; 39 | //void newData(const QByteArray&); 40 | //void message(const QString& text,const QString& type); 41 | void ready(int portID); 42 | 43 | public slots: 44 | //virtual void start() = 0; 45 | virtual void requestToStop() = 0; 46 | 47 | }; 48 | 49 | PortBase* createPort(QObject *parent,Configuration* config); 50 | 51 | 52 | QByteArray stringLiteralUnescape(const QByteArray & data); 53 | 54 | 55 | #endif // PORTBASE_H 56 | -------------------------------------------------------------------------------- /Clion_Proj/porthid.cpp: -------------------------------------------------------------------------------- 1 | #include "mainwindow.h" 2 | #include "porthid.h" 3 | 4 | PortHid::PortHid(QObject *parent,Configuration* config) 5 | : PortBase(parent,config) 6 | { 7 | isRunning = false; 8 | hidDevice = 0; 9 | } 10 | 11 | 12 | 13 | void PortHid::run(){ 14 | if(isRunning) return; 15 | hidDevice = new HidDevice(); 16 | if(hidDevice->connect("vid_"+config->get("_setup_","vid")+"&"+"pid_"+config->get("_setup_","pid"))){ 17 | isRunning = true; 18 | unsigned char in_report_id = config->get("_setup_","in_report_id","0").toInt(); 19 | int in_endpoint_size = config->get("_setup_","in_endpoint_size","64").toInt(); 20 | 21 | 22 | dataBytes.resize(in_endpoint_size +1); 23 | 24 | readyEmitted = false; 25 | while(isRunning){ 26 | if(!readyEmitted && mainwindow->isPluginReady()) {emit ready(portID); readyEmitted = true;} 27 | //read 28 | hidDevice->read(in_report_id,dataBytes); 29 | emit newData(dataBytes); 30 | qApp->processEvents(); 31 | } 32 | 33 | }else{ 34 | emit message("Could not open USB HID with VID="+config->get("_setup_","vid")+" PID="+config->get("_setup_","pid")+"\nMake sure the device is attached.","critical"); 35 | }; 36 | 37 | isRunning = false; 38 | 39 | delete hidDevice; 40 | emit stopped(); 41 | 42 | } 43 | 44 | void PortHid::send(const QByteArray & data){ 45 | 46 | } 47 | 48 | 49 | void PortHid::requestToStop(){ 50 | isRunning = false; 51 | } 52 | 53 | PortHid::~PortHid(){ 54 | 55 | } 56 | -------------------------------------------------------------------------------- /Clion_Proj/porthid.h: -------------------------------------------------------------------------------- 1 | #ifndef PORTHID_H 2 | #define PORTHID_H 3 | 4 | #include "portbase.h" 5 | #include "hiddevice.h" 6 | 7 | class PortHid : public PortBase 8 | { 9 | Q_OBJECT 10 | public: 11 | explicit PortHid(QObject *parent = 0,Configuration* config = 0); 12 | ~PortHid(); 13 | virtual void run(); 14 | virtual void send(const QByteArray & data); 15 | 16 | 17 | 18 | 19 | 20 | 21 | private: 22 | HidDevice* hidDevice; 23 | bool isRunning; 24 | bool newLine; 25 | void portSetup(); 26 | 27 | signals: 28 | void newData(const QByteArray&); 29 | void stopped(); 30 | void message(const QString& text,const QString& type); 31 | 32 | 33 | 34 | 35 | public slots: 36 | //void start(); 37 | void requestToStop(); 38 | }; 39 | 40 | #endif // PORTHID_H 41 | -------------------------------------------------------------------------------- /Clion_Proj/portrs232.cpp: -------------------------------------------------------------------------------- 1 | #include "mainwindow.h" 2 | #include "portrs232.h" 3 | #include "QDebug" 4 | 5 | PortRs232::PortRs232(QObject *parent, Configuration* config) 6 | : PortBase(parent,config) 7 | { 8 | isRunning = false; 9 | serialPort = 0; 10 | } 11 | 12 | 13 | void PortRs232::requestToStop(){ 14 | isRunning = false; 15 | } 16 | 17 | PortRs232::~PortRs232(){ 18 | 19 | } 20 | 21 | void PortRs232::portSetup(){ 22 | qint32 baudRate = config->get("_setup_","baudrate").toInt(); 23 | serialPort->setBaudRate(baudRate); 24 | serialPort->setFlowControl(QSerialPort::NoFlowControl); 25 | serialPort->setParity(QSerialPort::NoParity); 26 | serialPort->setDataBits(QSerialPort::Data8); 27 | serialPort->setStopBits(QSerialPort::OneStop); 28 | } 29 | 30 | 31 | void PortRs232::run(){ 32 | if(isRunning) return; 33 | serialPort = new QSerialPort(config->get("_setup_","port")); 34 | 35 | if(serialPort->open(QIODevice::ReadWrite)){; 36 | portSetup(); //Note: on Windows settings must be called after serialPort->open, otherwise we get garbage when device is plugged for the fist time 37 | isRunning = true; 38 | readyEmitted = false; 39 | serialPort->flush(); 40 | while((isRunning || sendBytes.length() > 0 )&& serialPort && serialPort->isOpen()){ 41 | if(!readyEmitted && isRunning && mainwindow->isPluginReady()) {emit ready(portID); readyEmitted = true;} 42 | //receive 43 | if(serialPort->bytesAvailable() > 0) emit newData(serialPort->readAll()); 44 | //send, data is queed from the GUI thread so we need to lock this section so both threads do not modify sendBytes at same time 45 | sendMutex.lock(); 46 | if(sendBytes.length()){ 47 | serialPort->write(sendBytes); 48 | qDebug() << "sent data:" << sendBytes.length(); 49 | sendBytes.clear(); 50 | } 51 | sendMutex.unlock(); 52 | qApp->processEvents(); 53 | } 54 | }else{ 55 | emit message("Could not open port "+config->get("_setup_","port")+"\nMake sure the port is available and not used by other applications.","critical"); 56 | } 57 | 58 | isRunning = false; 59 | if(serialPort->isOpen()) serialPort->close(); 60 | delete serialPort; 61 | emit stopped(); 62 | } 63 | 64 | 65 | 66 | void PortRs232::send(const QByteArray & data){ 67 | if(isRunning || forceSend){ 68 | //this runs in the GUI thread, so use mutex to lock access to sendBytes 69 | sendMutex.lock(); 70 | sendBytes.append(data); 71 | sendMutex.unlock(); 72 | } 73 | } 74 | -------------------------------------------------------------------------------- /Clion_Proj/portrs232.h: -------------------------------------------------------------------------------- 1 | #ifndef PORTRS232_H 2 | #define PORTRS232_H 3 | 4 | #include "portbase.h" 5 | #include 6 | #include 7 | 8 | #define MAX_DATA_LINE_LEN 1024 9 | 10 | class PortRs232 : public PortBase 11 | { 12 | Q_OBJECT 13 | public: 14 | explicit PortRs232(QObject *parent = 0,Configuration* config = 0); 15 | ~PortRs232(); 16 | virtual void run(); 17 | virtual void send(const QByteArray & data); 18 | 19 | 20 | private: 21 | QSerialPort* serialPort; 22 | bool isRunning; 23 | 24 | void portSetup(); 25 | void processDataLine(); 26 | 27 | signals: 28 | void newData(const QByteArray&); 29 | void stopped(); 30 | void message(const QString& text,const QString& type); 31 | 32 | public slots: 33 | void requestToStop(); 34 | }; 35 | 36 | #endif // PORTRS232_H 37 | -------------------------------------------------------------------------------- /Clion_Proj/resources.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | images/new.png 4 | images/open.png 5 | images/save.png 6 | images/run.png 7 | images/stop.png 8 | 9 | 10 | -------------------------------------------------------------------------------- /Clion_Proj/serialchartjs.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include "serialchartjs.h" 3 | #include "mainwindow.h" 4 | 5 | 6 | WebViewObject::WebViewObject(QObject *parent,QWebView* webView) : 7 | QObject(parent) 8 | { 9 | mainwindow = (MainWindow*) (this->parent()); 10 | this->webView = webView; 11 | } 12 | 13 | 14 | 15 | QString WebViewObject::hexPack(QVariant v,QString type){ 16 | char buf[4]; 17 | char size = 0; 18 | if("byte" == type){ 19 | *((unsigned char*)buf) = v.value(); 20 | size = 1; 21 | }else if("sbyte" == type){ 22 | *((signed char*)buf) = v.value(); 23 | size = 1; 24 | }else if("word" == type){ 25 | *((unsigned short*)buf) = v.value(); 26 | size = 2; 27 | }else if("sword" == type){ 28 | *((unsigned short*)buf) = v.value(); 29 | size = 2; 30 | }else if("float" == type){ 31 | *((float*)buf) = v.value(); 32 | size = 4; 33 | } 34 | 35 | QByteArray qb(buf,size); 36 | return qb.toHex(); 37 | } 38 | 39 | QVariant WebViewObject::hexUnpack(QString hexString,QString type){ 40 | char buf[4]; 41 | QByteArray qb = QByteArray::fromHex(hexString.toLatin1()); 42 | memcpy(buf,qb.data(),qb.size()); 43 | QVariant v = QVariant::Invalid; 44 | if("byte" == type){ 45 | v = QVariant::fromValue(*((unsigned char*)(buf))); 46 | }else if("sbyte" == type){ 47 | v = QVariant::fromValue(*((signed char*)(buf))); 48 | }else if("word" == type){ 49 | v = QVariant::fromValue(*((unsigned short*)(buf))); 50 | }else if("sword" == type){ 51 | v = QVariant::fromValue(*((signed short*)(buf))); 52 | }else if("float" == type){ 53 | v = QVariant::fromValue(*((float*)(buf))); 54 | return v; //return float as is 55 | } 56 | v.convert(QVariant::LongLong); //convert all integer types to higher resolution 57 | return v; 58 | } 59 | -------------------------------------------------------------------------------- /Clion_Proj/serialchartjs.h: -------------------------------------------------------------------------------- 1 | #ifndef WebViewObject_H 2 | #define WebViewObject_H 3 | 4 | #include 5 | #include 6 | #include "mainwindow.h" 7 | #include "hiddevice.h" 8 | #include 9 | 10 | class WebViewObject : public QObject 11 | { 12 | Q_OBJECT 13 | public: 14 | explicit WebViewObject(QObject *parent = 0, QWebView *webView = 0); 15 | 16 | Q_INVOKABLE QString hexPack(QVariant v, QString type); 17 | 18 | Q_INVOKABLE QVariant hexUnpack(QString hexString, QString type); 19 | 20 | 21 | signals: 22 | 23 | QVariant eval(const QString &scriptSource); 24 | 25 | private slots: 26 | 27 | 28 | private: 29 | void call(QString function, QString parms); 30 | 31 | MainWindow *mainwindow; 32 | QWebView *webView; 33 | 34 | 35 | }; 36 | 37 | #endif // WebViewObject_H 38 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # SerialChart 2 | 一个很好用的串口示波器,基于Qt开发,移植自[starlino/serialchart](https://github.com/starlino/serialchart)。 3 | 4 | Release文件夹里面的压缩包直接解压即可使用,里面也有pdf说明配置文件。 5 | 6 | ![ui](ui.jpg) -------------------------------------------------------------------------------- /Release/SerialChart.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/Release/SerialChart.zip -------------------------------------------------------------------------------- /ui.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peng-zhihui/SerialChart/777462fd01a738f3b6824b40c8ba24addaa9ef25/ui.jpg --------------------------------------------------------------------------------