├── README.md ├── phantom.sln └── phantom ├── BaiduMap.cpp ├── BaiduMap.h ├── FinanceChart.h ├── GeneratedFiles ├── Debug │ ├── moc_BaiduMap.cpp │ ├── moc_SerialPort.cpp │ ├── moc_TcpClient.cpp │ ├── moc_TcpClientVideo.cpp │ ├── moc_Wave.cpp │ ├── moc_bridge.cpp │ ├── moc_core.cpp │ ├── moc_phantom.cpp │ ├── moc_qchartviewer.cpp │ ├── moc_randomwalk.cpp │ ├── moc_realtimemultithread.cpp │ ├── moc_websocketclientwrapper.cpp │ └── moc_websockettransport.cpp ├── qrc_phantom.cpp └── ui_phantom.h ├── Resources └── stylesheet.qss ├── SerialPort.cpp ├── SerialPort.h ├── TcpClient.cpp ├── TcpClient.h ├── TcpClientVideo.cpp ├── TcpClientVideo.h ├── Wave.cpp ├── Wave.h ├── bchartdir.h ├── bridge.cpp ├── bridge.h ├── chart ├── FinanceChart.h ├── bchartdir.h ├── chartdir.h ├── chartdir60.dll ├── chartdir60.lib ├── memblock.h ├── pointer.png ├── qchartviewer.cpp ├── qchartviewer.h ├── save.png ├── zoomin.png └── zoomout.png ├── chartdir.h ├── chartdir60.dll ├── chartdir60.lib ├── core.h ├── main.cpp ├── memblock.h ├── phantom.cpp ├── phantom.h ├── phantom.qrc ├── phantom.ui ├── phantom.vcxproj ├── phantom.vcxproj.filters ├── phantom.vcxproj.user ├── qchartviewer.cpp ├── qchartviewer.h ├── qwebchannel.js └── x64 └── Debug ├── BaiduMap.obj ├── SerialPort.obj ├── TcpClient.obj ├── TcpClientVideo.obj ├── Wave.obj ├── bridge.obj ├── main.obj ├── moc_BaiduMap.obj ├── moc_SerialPort.obj ├── moc_TcpClient.obj ├── moc_TcpClientVideo.obj ├── moc_Wave.obj ├── moc_bridge.obj ├── moc_core.obj ├── moc_phantom.obj ├── moc_qchartviewer.obj ├── moc_websocketclientwrapper.obj ├── moc_websockettransport.obj ├── phantom.log ├── phantom.obj ├── phantom.tlog ├── CL.command.1.tlog ├── CL.read.1.tlog ├── CL.write.1.tlog ├── link.command.1.tlog ├── link.read.1.tlog ├── link.write.1.tlog ├── phantom.lastbuildstate └── phantom.write.1u.tlog ├── qchartviewer.obj ├── qrc_phantom.obj ├── qt.log ├── vc141.pdb ├── websocketclientwrapper.obj └── websockettransport.obj /README.md: -------------------------------------------------------------------------------- 1 | **界面如图所示,该版本使用的是VS编译** 2 | ![在这里插入图片描述](https://img-blog.csdnimg.cn/20190903161003735.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzIwMzE0MTMz,size_16,color_FFFFFF,t_70) 3 | 4 | ![在这里插入图片描述](https://img-blog.csdnimg.cn/2019090316103653.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzIwMzE0MTMz,size_16,color_FFFFFF,t_70) 5 | ![在这里插入图片描述](https://img-blog.csdnimg.cn/2019090316105021.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzIwMzE0MTMz,size_16,color_FFFFFF,t_70) -------------------------------------------------------------------------------- /phantom.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.27703.2000 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "phantom", "phantom\phantom.vcxproj", "{B12702AD-ABFB-343A-A199-8E24837244A3}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x64 = Debug|x64 11 | Release|x64 = Release|x64 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {B12702AD-ABFB-343A-A199-8E24837244A3}.Debug|x64.ActiveCfg = Debug|x64 15 | {B12702AD-ABFB-343A-A199-8E24837244A3}.Debug|x64.Build.0 = Debug|x64 16 | {B12702AD-ABFB-343A-A199-8E24837244A3}.Release|x64.ActiveCfg = Release|x64 17 | {B12702AD-ABFB-343A-A199-8E24837244A3}.Release|x64.Build.0 = Release|x64 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | GlobalSection(ExtensibilityGlobals) = postSolution 23 | SolutionGuid = {717114F1-018B-4D22-A97B-FD644F5C2742} 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /phantom/BaiduMap.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyghost/phantom/55f31512a9381e2e4b8a7a7274225acd24674240/phantom/BaiduMap.cpp -------------------------------------------------------------------------------- /phantom/BaiduMap.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "ui_phantom.h" 4 | #include 5 | #include 6 | 7 | class BaiduMap : public QWidget 8 | { 9 | Q_OBJECT 10 | 11 | public: 12 | BaiduMap(Ui::PhantomClass *m_ui); 13 | ~BaiduMap(); 14 | 15 | 16 | 17 | private: 18 | void allConnectInit(); 19 | void webChannelInit(); 20 | 21 | signals: 22 | void mapToBridgeEmit(QString mesg); 23 | 24 | private: 25 | Ui::PhantomClass * ui; 26 | QWebEngineView baiduMap; 27 | QObject * m_bridge; 28 | 29 | 30 | private slots: 31 | void getFromHtmlLocation(QString lon, QString lat); 32 | void getFromHtmlMouseMove(QString lon, QString lat); 33 | void on_baiduMapStreetButton_clicked(); 34 | void on_baiduMapSetelliteButton_clicked(); 35 | void on_baiduMapClearButton_clicked(); 36 | 37 | }; 38 | 39 | -------------------------------------------------------------------------------- /phantom/GeneratedFiles/Debug/moc_BaiduMap.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'BaiduMap.h' 3 | ** 4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.11.0) 5 | ** 6 | ** WARNING! All changes made in this file will be lost! 7 | *****************************************************************************/ 8 | 9 | #include "../../BaiduMap.h" 10 | #include 11 | #include 12 | #if !defined(Q_MOC_OUTPUT_REVISION) 13 | #error "The header file 'BaiduMap.h' doesn't include ." 14 | #elif Q_MOC_OUTPUT_REVISION != 67 15 | #error "This file was generated using the moc from 5.11.0. 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 | QT_WARNING_PUSH 22 | QT_WARNING_DISABLE_DEPRECATED 23 | struct qt_meta_stringdata_BaiduMap_t { 24 | QByteArrayData data[11]; 25 | char stringdata0[178]; 26 | }; 27 | #define QT_MOC_LITERAL(idx, ofs, len) \ 28 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ 29 | qptrdiff(offsetof(qt_meta_stringdata_BaiduMap_t, stringdata0) + ofs \ 30 | - idx * sizeof(QByteArrayData)) \ 31 | ) 32 | static const qt_meta_stringdata_BaiduMap_t qt_meta_stringdata_BaiduMap = { 33 | { 34 | QT_MOC_LITERAL(0, 0, 8), // "BaiduMap" 35 | QT_MOC_LITERAL(1, 9, 15), // "mapToBridgeEmit" 36 | QT_MOC_LITERAL(2, 25, 0), // "" 37 | QT_MOC_LITERAL(3, 26, 4), // "mesg" 38 | QT_MOC_LITERAL(4, 31, 19), // "getFromHtmlLocation" 39 | QT_MOC_LITERAL(5, 51, 3), // "lon" 40 | QT_MOC_LITERAL(6, 55, 3), // "lat" 41 | QT_MOC_LITERAL(7, 59, 20), // "getFromHtmlMouseMove" 42 | QT_MOC_LITERAL(8, 80, 31), // "on_baiduMapStreetButton_clicked" 43 | QT_MOC_LITERAL(9, 112, 34), // "on_baiduMapSetelliteButton_cl..." 44 | QT_MOC_LITERAL(10, 147, 30) // "on_baiduMapClearButton_clicked" 45 | 46 | }, 47 | "BaiduMap\0mapToBridgeEmit\0\0mesg\0" 48 | "getFromHtmlLocation\0lon\0lat\0" 49 | "getFromHtmlMouseMove\0" 50 | "on_baiduMapStreetButton_clicked\0" 51 | "on_baiduMapSetelliteButton_clicked\0" 52 | "on_baiduMapClearButton_clicked" 53 | }; 54 | #undef QT_MOC_LITERAL 55 | 56 | static const uint qt_meta_data_BaiduMap[] = { 57 | 58 | // content: 59 | 7, // revision 60 | 0, // classname 61 | 0, 0, // classinfo 62 | 6, 14, // methods 63 | 0, 0, // properties 64 | 0, 0, // enums/sets 65 | 0, 0, // constructors 66 | 0, // flags 67 | 1, // signalCount 68 | 69 | // signals: name, argc, parameters, tag, flags 70 | 1, 1, 44, 2, 0x06 /* Public */, 71 | 72 | // slots: name, argc, parameters, tag, flags 73 | 4, 2, 47, 2, 0x08 /* Private */, 74 | 7, 2, 52, 2, 0x08 /* Private */, 75 | 8, 0, 57, 2, 0x08 /* Private */, 76 | 9, 0, 58, 2, 0x08 /* Private */, 77 | 10, 0, 59, 2, 0x08 /* Private */, 78 | 79 | // signals: parameters 80 | QMetaType::Void, QMetaType::QString, 3, 81 | 82 | // slots: parameters 83 | QMetaType::Void, QMetaType::QString, QMetaType::QString, 5, 6, 84 | QMetaType::Void, QMetaType::QString, QMetaType::QString, 5, 6, 85 | QMetaType::Void, 86 | QMetaType::Void, 87 | QMetaType::Void, 88 | 89 | 0 // eod 90 | }; 91 | 92 | void BaiduMap::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) 93 | { 94 | if (_c == QMetaObject::InvokeMetaMethod) { 95 | BaiduMap *_t = static_cast(_o); 96 | Q_UNUSED(_t) 97 | switch (_id) { 98 | case 0: _t->mapToBridgeEmit((*reinterpret_cast< QString(*)>(_a[1]))); break; 99 | case 1: _t->getFromHtmlLocation((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break; 100 | case 2: _t->getFromHtmlMouseMove((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break; 101 | case 3: _t->on_baiduMapStreetButton_clicked(); break; 102 | case 4: _t->on_baiduMapSetelliteButton_clicked(); break; 103 | case 5: _t->on_baiduMapClearButton_clicked(); break; 104 | default: ; 105 | } 106 | } else if (_c == QMetaObject::IndexOfMethod) { 107 | int *result = reinterpret_cast(_a[0]); 108 | { 109 | using _t = void (BaiduMap::*)(QString ); 110 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BaiduMap::mapToBridgeEmit)) { 111 | *result = 0; 112 | return; 113 | } 114 | } 115 | } 116 | } 117 | 118 | QT_INIT_METAOBJECT const QMetaObject BaiduMap::staticMetaObject = { 119 | { &QWidget::staticMetaObject, qt_meta_stringdata_BaiduMap.data, 120 | qt_meta_data_BaiduMap, qt_static_metacall, nullptr, nullptr} 121 | }; 122 | 123 | 124 | const QMetaObject *BaiduMap::metaObject() const 125 | { 126 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; 127 | } 128 | 129 | void *BaiduMap::qt_metacast(const char *_clname) 130 | { 131 | if (!_clname) return nullptr; 132 | if (!strcmp(_clname, qt_meta_stringdata_BaiduMap.stringdata0)) 133 | return static_cast(this); 134 | return QWidget::qt_metacast(_clname); 135 | } 136 | 137 | int BaiduMap::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 138 | { 139 | _id = QWidget::qt_metacall(_c, _id, _a); 140 | if (_id < 0) 141 | return _id; 142 | if (_c == QMetaObject::InvokeMetaMethod) { 143 | if (_id < 6) 144 | qt_static_metacall(this, _c, _id, _a); 145 | _id -= 6; 146 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { 147 | if (_id < 6) 148 | *reinterpret_cast(_a[0]) = -1; 149 | _id -= 6; 150 | } 151 | return _id; 152 | } 153 | 154 | // SIGNAL 0 155 | void BaiduMap::mapToBridgeEmit(QString _t1) 156 | { 157 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; 158 | QMetaObject::activate(this, &staticMetaObject, 0, _a); 159 | } 160 | QT_WARNING_POP 161 | QT_END_MOC_NAMESPACE 162 | -------------------------------------------------------------------------------- /phantom/GeneratedFiles/Debug/moc_SerialPort.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'SerialPort.h' 3 | ** 4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.11.0) 5 | ** 6 | ** WARNING! All changes made in this file will be lost! 7 | *****************************************************************************/ 8 | 9 | #include "../../SerialPort.h" 10 | #include 11 | #include 12 | #if !defined(Q_MOC_OUTPUT_REVISION) 13 | #error "The header file 'SerialPort.h' doesn't include ." 14 | #elif Q_MOC_OUTPUT_REVISION != 67 15 | #error "This file was generated using the moc from 5.11.0. 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 | QT_WARNING_PUSH 22 | QT_WARNING_DISABLE_DEPRECATED 23 | struct qt_meta_stringdata_SerialPort_t { 24 | QByteArrayData data[11]; 25 | char stringdata0[203]; 26 | }; 27 | #define QT_MOC_LITERAL(idx, ofs, len) \ 28 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ 29 | qptrdiff(offsetof(qt_meta_stringdata_SerialPort_t, stringdata0) + ofs \ 30 | - idx * sizeof(QByteArrayData)) \ 31 | ) 32 | static const qt_meta_stringdata_SerialPort_t qt_meta_stringdata_SerialPort = { 33 | { 34 | QT_MOC_LITERAL(0, 0, 10), // "SerialPort" 35 | QT_MOC_LITERAL(1, 11, 11), // "serialCheck" 36 | QT_MOC_LITERAL(2, 23, 0), // "" 37 | QT_MOC_LITERAL(3, 24, 9), // "read_Data" 38 | QT_MOC_LITERAL(4, 34, 27), // "on_serialOpenButton_clicked" 39 | QT_MOC_LITERAL(5, 62, 35), // "on_serialClearReceiveButton_c..." 40 | QT_MOC_LITERAL(6, 98, 27), // "on_serialSendButton_clicked" 41 | QT_MOC_LITERAL(7, 126, 32), // "on_serialClearSendButton_clicked" 42 | QT_MOC_LITERAL(8, 159, 18), // "onLineStateChanged" 43 | QT_MOC_LITERAL(9, 178, 5), // "state" 44 | QT_MOC_LITERAL(10, 184, 18) // "onTimeStateChanged" 45 | 46 | }, 47 | "SerialPort\0serialCheck\0\0read_Data\0" 48 | "on_serialOpenButton_clicked\0" 49 | "on_serialClearReceiveButton_clicked\0" 50 | "on_serialSendButton_clicked\0" 51 | "on_serialClearSendButton_clicked\0" 52 | "onLineStateChanged\0state\0onTimeStateChanged" 53 | }; 54 | #undef QT_MOC_LITERAL 55 | 56 | static const uint qt_meta_data_SerialPort[] = { 57 | 58 | // content: 59 | 7, // revision 60 | 0, // classname 61 | 0, 0, // classinfo 62 | 8, 14, // methods 63 | 0, 0, // properties 64 | 0, 0, // enums/sets 65 | 0, 0, // constructors 66 | 0, // flags 67 | 0, // signalCount 68 | 69 | // slots: name, argc, parameters, tag, flags 70 | 1, 0, 54, 2, 0x08 /* Private */, 71 | 3, 0, 55, 2, 0x08 /* Private */, 72 | 4, 0, 56, 2, 0x08 /* Private */, 73 | 5, 0, 57, 2, 0x08 /* Private */, 74 | 6, 0, 58, 2, 0x08 /* Private */, 75 | 7, 0, 59, 2, 0x08 /* Private */, 76 | 8, 1, 60, 2, 0x08 /* Private */, 77 | 10, 1, 63, 2, 0x08 /* Private */, 78 | 79 | // slots: parameters 80 | QMetaType::Void, 81 | QMetaType::Void, 82 | QMetaType::Void, 83 | QMetaType::Void, 84 | QMetaType::Void, 85 | QMetaType::Void, 86 | QMetaType::Void, QMetaType::Int, 9, 87 | QMetaType::Void, QMetaType::Int, 9, 88 | 89 | 0 // eod 90 | }; 91 | 92 | void SerialPort::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) 93 | { 94 | if (_c == QMetaObject::InvokeMetaMethod) { 95 | SerialPort *_t = static_cast(_o); 96 | Q_UNUSED(_t) 97 | switch (_id) { 98 | case 0: _t->serialCheck(); break; 99 | case 1: _t->read_Data(); break; 100 | case 2: _t->on_serialOpenButton_clicked(); break; 101 | case 3: _t->on_serialClearReceiveButton_clicked(); break; 102 | case 4: _t->on_serialSendButton_clicked(); break; 103 | case 5: _t->on_serialClearSendButton_clicked(); break; 104 | case 6: _t->onLineStateChanged((*reinterpret_cast< int(*)>(_a[1]))); break; 105 | case 7: _t->onTimeStateChanged((*reinterpret_cast< int(*)>(_a[1]))); break; 106 | default: ; 107 | } 108 | } 109 | } 110 | 111 | QT_INIT_METAOBJECT const QMetaObject SerialPort::staticMetaObject = { 112 | { &QObject::staticMetaObject, qt_meta_stringdata_SerialPort.data, 113 | qt_meta_data_SerialPort, qt_static_metacall, nullptr, nullptr} 114 | }; 115 | 116 | 117 | const QMetaObject *SerialPort::metaObject() const 118 | { 119 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; 120 | } 121 | 122 | void *SerialPort::qt_metacast(const char *_clname) 123 | { 124 | if (!_clname) return nullptr; 125 | if (!strcmp(_clname, qt_meta_stringdata_SerialPort.stringdata0)) 126 | return static_cast(this); 127 | return QObject::qt_metacast(_clname); 128 | } 129 | 130 | int SerialPort::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 131 | { 132 | _id = QObject::qt_metacall(_c, _id, _a); 133 | if (_id < 0) 134 | return _id; 135 | if (_c == QMetaObject::InvokeMetaMethod) { 136 | if (_id < 8) 137 | qt_static_metacall(this, _c, _id, _a); 138 | _id -= 8; 139 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { 140 | if (_id < 8) 141 | *reinterpret_cast(_a[0]) = -1; 142 | _id -= 8; 143 | } 144 | return _id; 145 | } 146 | QT_WARNING_POP 147 | QT_END_MOC_NAMESPACE 148 | -------------------------------------------------------------------------------- /phantom/GeneratedFiles/Debug/moc_TcpClient.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'TcpClient.h' 3 | ** 4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.11.0) 5 | ** 6 | ** WARNING! All changes made in this file will be lost! 7 | *****************************************************************************/ 8 | 9 | #include "../../TcpClient.h" 10 | #include 11 | #include 12 | #if !defined(Q_MOC_OUTPUT_REVISION) 13 | #error "The header file 'TcpClient.h' doesn't include ." 14 | #elif Q_MOC_OUTPUT_REVISION != 67 15 | #error "This file was generated using the moc from 5.11.0. 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 | QT_WARNING_PUSH 22 | QT_WARNING_DISABLE_DEPRECATED 23 | struct qt_meta_stringdata_TcpClient_t { 24 | QByteArrayData data[6]; 25 | char stringdata0[109]; 26 | }; 27 | #define QT_MOC_LITERAL(idx, ofs, len) \ 28 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ 29 | qptrdiff(offsetof(qt_meta_stringdata_TcpClient_t, stringdata0) + ofs \ 30 | - idx * sizeof(QByteArrayData)) \ 31 | ) 32 | static const qt_meta_stringdata_TcpClient_t qt_meta_stringdata_TcpClient = { 33 | { 34 | QT_MOC_LITERAL(0, 0, 9), // "TcpClient" 35 | QT_MOC_LITERAL(1, 10, 33), // "on_tcpClientConnectButton_cli..." 36 | QT_MOC_LITERAL(2, 44, 0), // "" 37 | QT_MOC_LITERAL(3, 45, 21), // "readMessageFromServer" 38 | QT_MOC_LITERAL(4, 67, 12), // "connectError" 39 | QT_MOC_LITERAL(5, 80, 28) // "QAbstractSocket::SocketError" 40 | 41 | }, 42 | "TcpClient\0on_tcpClientConnectButton_clicked\0" 43 | "\0readMessageFromServer\0connectError\0" 44 | "QAbstractSocket::SocketError" 45 | }; 46 | #undef QT_MOC_LITERAL 47 | 48 | static const uint qt_meta_data_TcpClient[] = { 49 | 50 | // content: 51 | 7, // revision 52 | 0, // classname 53 | 0, 0, // classinfo 54 | 3, 14, // methods 55 | 0, 0, // properties 56 | 0, 0, // enums/sets 57 | 0, 0, // constructors 58 | 0, // flags 59 | 0, // signalCount 60 | 61 | // slots: name, argc, parameters, tag, flags 62 | 1, 0, 29, 2, 0x08 /* Private */, 63 | 3, 0, 30, 2, 0x08 /* Private */, 64 | 4, 1, 31, 2, 0x08 /* Private */, 65 | 66 | // slots: parameters 67 | QMetaType::Void, 68 | QMetaType::Void, 69 | QMetaType::Void, 0x80000000 | 5, 2, 70 | 71 | 0 // eod 72 | }; 73 | 74 | void TcpClient::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) 75 | { 76 | if (_c == QMetaObject::InvokeMetaMethod) { 77 | TcpClient *_t = static_cast(_o); 78 | Q_UNUSED(_t) 79 | switch (_id) { 80 | case 0: _t->on_tcpClientConnectButton_clicked(); break; 81 | case 1: _t->readMessageFromServer(); break; 82 | case 2: _t->connectError((*reinterpret_cast< QAbstractSocket::SocketError(*)>(_a[1]))); break; 83 | default: ; 84 | } 85 | } 86 | } 87 | 88 | QT_INIT_METAOBJECT const QMetaObject TcpClient::staticMetaObject = { 89 | { &QObject::staticMetaObject, qt_meta_stringdata_TcpClient.data, 90 | qt_meta_data_TcpClient, qt_static_metacall, nullptr, nullptr} 91 | }; 92 | 93 | 94 | const QMetaObject *TcpClient::metaObject() const 95 | { 96 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; 97 | } 98 | 99 | void *TcpClient::qt_metacast(const char *_clname) 100 | { 101 | if (!_clname) return nullptr; 102 | if (!strcmp(_clname, qt_meta_stringdata_TcpClient.stringdata0)) 103 | return static_cast(this); 104 | return QObject::qt_metacast(_clname); 105 | } 106 | 107 | int TcpClient::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 108 | { 109 | _id = QObject::qt_metacall(_c, _id, _a); 110 | if (_id < 0) 111 | return _id; 112 | if (_c == QMetaObject::InvokeMetaMethod) { 113 | if (_id < 3) 114 | qt_static_metacall(this, _c, _id, _a); 115 | _id -= 3; 116 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { 117 | if (_id < 3) 118 | *reinterpret_cast(_a[0]) = -1; 119 | _id -= 3; 120 | } 121 | return _id; 122 | } 123 | QT_WARNING_POP 124 | QT_END_MOC_NAMESPACE 125 | -------------------------------------------------------------------------------- /phantom/GeneratedFiles/Debug/moc_TcpClientVideo.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'TcpClientVideo.h' 3 | ** 4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.11.0) 5 | ** 6 | ** WARNING! All changes made in this file will be lost! 7 | *****************************************************************************/ 8 | 9 | #include "../../TcpClientVideo.h" 10 | #include 11 | #include 12 | #if !defined(Q_MOC_OUTPUT_REVISION) 13 | #error "The header file 'TcpClientVideo.h' doesn't include ." 14 | #elif Q_MOC_OUTPUT_REVISION != 67 15 | #error "This file was generated using the moc from 5.11.0. 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 | QT_WARNING_PUSH 22 | QT_WARNING_DISABLE_DEPRECATED 23 | struct qt_meta_stringdata_TcpClientVideo_t { 24 | QByteArrayData data[6]; 25 | char stringdata0[119]; 26 | }; 27 | #define QT_MOC_LITERAL(idx, ofs, len) \ 28 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ 29 | qptrdiff(offsetof(qt_meta_stringdata_TcpClientVideo_t, stringdata0) + ofs \ 30 | - idx * sizeof(QByteArrayData)) \ 31 | ) 32 | static const qt_meta_stringdata_TcpClientVideo_t qt_meta_stringdata_TcpClientVideo = { 33 | { 34 | QT_MOC_LITERAL(0, 0, 14), // "TcpClientVideo" 35 | QT_MOC_LITERAL(1, 15, 38), // "on_videoTcpClientConnectButto..." 36 | QT_MOC_LITERAL(2, 54, 0), // "" 37 | QT_MOC_LITERAL(3, 55, 21), // "readMessageFromServer" 38 | QT_MOC_LITERAL(4, 77, 12), // "connectError" 39 | QT_MOC_LITERAL(5, 90, 28) // "QAbstractSocket::SocketError" 40 | 41 | }, 42 | "TcpClientVideo\0on_videoTcpClientConnectButton_clicked\0" 43 | "\0readMessageFromServer\0connectError\0" 44 | "QAbstractSocket::SocketError" 45 | }; 46 | #undef QT_MOC_LITERAL 47 | 48 | static const uint qt_meta_data_TcpClientVideo[] = { 49 | 50 | // content: 51 | 7, // revision 52 | 0, // classname 53 | 0, 0, // classinfo 54 | 3, 14, // methods 55 | 0, 0, // properties 56 | 0, 0, // enums/sets 57 | 0, 0, // constructors 58 | 0, // flags 59 | 0, // signalCount 60 | 61 | // slots: name, argc, parameters, tag, flags 62 | 1, 0, 29, 2, 0x08 /* Private */, 63 | 3, 0, 30, 2, 0x08 /* Private */, 64 | 4, 1, 31, 2, 0x08 /* Private */, 65 | 66 | // slots: parameters 67 | QMetaType::Void, 68 | QMetaType::Void, 69 | QMetaType::Void, 0x80000000 | 5, 2, 70 | 71 | 0 // eod 72 | }; 73 | 74 | void TcpClientVideo::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) 75 | { 76 | if (_c == QMetaObject::InvokeMetaMethod) { 77 | TcpClientVideo *_t = static_cast(_o); 78 | Q_UNUSED(_t) 79 | switch (_id) { 80 | case 0: _t->on_videoTcpClientConnectButton_clicked(); break; 81 | case 1: _t->readMessageFromServer(); break; 82 | case 2: _t->connectError((*reinterpret_cast< QAbstractSocket::SocketError(*)>(_a[1]))); break; 83 | default: ; 84 | } 85 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { 86 | switch (_id) { 87 | default: *reinterpret_cast(_a[0]) = -1; break; 88 | case 2: 89 | switch (*reinterpret_cast(_a[1])) { 90 | default: *reinterpret_cast(_a[0]) = -1; break; 91 | case 0: 92 | *reinterpret_cast(_a[0]) = qRegisterMetaType< QAbstractSocket::SocketError >(); break; 93 | } 94 | break; 95 | } 96 | } 97 | } 98 | 99 | QT_INIT_METAOBJECT const QMetaObject TcpClientVideo::staticMetaObject = { 100 | { &QObject::staticMetaObject, qt_meta_stringdata_TcpClientVideo.data, 101 | qt_meta_data_TcpClientVideo, qt_static_metacall, nullptr, nullptr} 102 | }; 103 | 104 | 105 | const QMetaObject *TcpClientVideo::metaObject() const 106 | { 107 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; 108 | } 109 | 110 | void *TcpClientVideo::qt_metacast(const char *_clname) 111 | { 112 | if (!_clname) return nullptr; 113 | if (!strcmp(_clname, qt_meta_stringdata_TcpClientVideo.stringdata0)) 114 | return static_cast(this); 115 | return QObject::qt_metacast(_clname); 116 | } 117 | 118 | int TcpClientVideo::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 119 | { 120 | _id = QObject::qt_metacall(_c, _id, _a); 121 | if (_id < 0) 122 | return _id; 123 | if (_c == QMetaObject::InvokeMetaMethod) { 124 | if (_id < 3) 125 | qt_static_metacall(this, _c, _id, _a); 126 | _id -= 3; 127 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { 128 | if (_id < 3) 129 | qt_static_metacall(this, _c, _id, _a); 130 | _id -= 3; 131 | } 132 | return _id; 133 | } 134 | QT_WARNING_POP 135 | QT_END_MOC_NAMESPACE 136 | -------------------------------------------------------------------------------- /phantom/GeneratedFiles/Debug/moc_Wave.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'Wave.h' 3 | ** 4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.11.0) 5 | ** 6 | ** WARNING! All changes made in this file will be lost! 7 | *****************************************************************************/ 8 | 9 | #include "../../Wave.h" 10 | #include 11 | #include 12 | #if !defined(Q_MOC_OUTPUT_REVISION) 13 | #error "The header file 'Wave.h' doesn't include ." 14 | #elif Q_MOC_OUTPUT_REVISION != 67 15 | #error "This file was generated using the moc from 5.11.0. 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 | QT_WARNING_PUSH 22 | QT_WARNING_DISABLE_DEPRECATED 23 | struct qt_meta_stringdata_Wave_t { 24 | QByteArrayData data[21]; 25 | char stringdata0[300]; 26 | }; 27 | #define QT_MOC_LITERAL(idx, ofs, len) \ 28 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ 29 | qptrdiff(offsetof(qt_meta_stringdata_Wave_t, stringdata0) + ofs \ 30 | - idx * sizeof(QByteArrayData)) \ 31 | ) 32 | static const qt_meta_stringdata_Wave_t qt_meta_stringdata_Wave = { 33 | { 34 | QT_MOC_LITERAL(0, 0, 4), // "Wave" 35 | QT_MOC_LITERAL(1, 5, 37), // "on_waveTcpClientConnectButton..." 36 | QT_MOC_LITERAL(2, 43, 0), // "" 37 | QT_MOC_LITERAL(3, 44, 21), // "readMessageFromServer" 38 | QT_MOC_LITERAL(4, 66, 12), // "connectError" 39 | QT_MOC_LITERAL(5, 79, 28), // "QAbstractSocket::SocketError" 40 | QT_MOC_LITERAL(6, 108, 19), // "onMouseUsageChanged" 41 | QT_MOC_LITERAL(7, 128, 10), // "mouseUsage" 42 | QT_MOC_LITERAL(8, 139, 6), // "onSave" 43 | QT_MOC_LITERAL(9, 146, 21), // "onUpdatePeriodChanged" 44 | QT_MOC_LITERAL(10, 168, 19), // "onMouseMovePlotArea" 45 | QT_MOC_LITERAL(11, 188, 12), // "QMouseEvent*" 46 | QT_MOC_LITERAL(12, 201, 5), // "event" 47 | QT_MOC_LITERAL(13, 207, 11), // "onDataTimer" 48 | QT_MOC_LITERAL(14, 219, 5), // "dataA" 49 | QT_MOC_LITERAL(15, 225, 5), // "dataB" 50 | QT_MOC_LITERAL(16, 231, 5), // "dataC" 51 | QT_MOC_LITERAL(17, 237, 18), // "onChartUpdateTimer" 52 | QT_MOC_LITERAL(18, 256, 17), // "onViewPortChanged" 53 | QT_MOC_LITERAL(19, 274, 19), // "onHScrollBarChanged" 54 | QT_MOC_LITERAL(20, 294, 5) // "value" 55 | 56 | }, 57 | "Wave\0on_waveTcpClientConnectButton_clicked\0" 58 | "\0readMessageFromServer\0connectError\0" 59 | "QAbstractSocket::SocketError\0" 60 | "onMouseUsageChanged\0mouseUsage\0onSave\0" 61 | "onUpdatePeriodChanged\0onMouseMovePlotArea\0" 62 | "QMouseEvent*\0event\0onDataTimer\0dataA\0" 63 | "dataB\0dataC\0onChartUpdateTimer\0" 64 | "onViewPortChanged\0onHScrollBarChanged\0" 65 | "value" 66 | }; 67 | #undef QT_MOC_LITERAL 68 | 69 | static const uint qt_meta_data_Wave[] = { 70 | 71 | // content: 72 | 7, // revision 73 | 0, // classname 74 | 0, 0, // classinfo 75 | 11, 14, // methods 76 | 0, 0, // properties 77 | 0, 0, // enums/sets 78 | 0, 0, // constructors 79 | 0, // flags 80 | 0, // signalCount 81 | 82 | // slots: name, argc, parameters, tag, flags 83 | 1, 0, 69, 2, 0x08 /* Private */, 84 | 3, 0, 70, 2, 0x08 /* Private */, 85 | 4, 1, 71, 2, 0x08 /* Private */, 86 | 6, 1, 74, 2, 0x08 /* Private */, 87 | 8, 1, 77, 2, 0x08 /* Private */, 88 | 9, 1, 80, 2, 0x08 /* Private */, 89 | 10, 1, 83, 2, 0x08 /* Private */, 90 | 13, 3, 86, 2, 0x08 /* Private */, 91 | 17, 0, 93, 2, 0x08 /* Private */, 92 | 18, 0, 94, 2, 0x08 /* Private */, 93 | 19, 1, 95, 2, 0x08 /* Private */, 94 | 95 | // slots: parameters 96 | QMetaType::Void, 97 | QMetaType::Void, 98 | QMetaType::Void, 0x80000000 | 5, 2, 99 | QMetaType::Void, QMetaType::Int, 7, 100 | QMetaType::Void, QMetaType::Bool, 2, 101 | QMetaType::Void, QMetaType::QString, 2, 102 | QMetaType::Void, 0x80000000 | 11, 12, 103 | QMetaType::Void, QMetaType::Double, QMetaType::Double, QMetaType::Double, 14, 15, 16, 104 | QMetaType::Void, 105 | QMetaType::Void, 106 | QMetaType::Void, QMetaType::Int, 20, 107 | 108 | 0 // eod 109 | }; 110 | 111 | void Wave::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) 112 | { 113 | if (_c == QMetaObject::InvokeMetaMethod) { 114 | Wave *_t = static_cast(_o); 115 | Q_UNUSED(_t) 116 | switch (_id) { 117 | case 0: _t->on_waveTcpClientConnectButton_clicked(); break; 118 | case 1: _t->readMessageFromServer(); break; 119 | case 2: _t->connectError((*reinterpret_cast< QAbstractSocket::SocketError(*)>(_a[1]))); break; 120 | case 3: _t->onMouseUsageChanged((*reinterpret_cast< int(*)>(_a[1]))); break; 121 | case 4: _t->onSave((*reinterpret_cast< bool(*)>(_a[1]))); break; 122 | case 5: _t->onUpdatePeriodChanged((*reinterpret_cast< QString(*)>(_a[1]))); break; 123 | case 6: _t->onMouseMovePlotArea((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break; 124 | case 7: _t->onDataTimer((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2])),(*reinterpret_cast< double(*)>(_a[3]))); break; 125 | case 8: _t->onChartUpdateTimer(); break; 126 | case 9: _t->onViewPortChanged(); break; 127 | case 10: _t->onHScrollBarChanged((*reinterpret_cast< int(*)>(_a[1]))); break; 128 | default: ; 129 | } 130 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { 131 | switch (_id) { 132 | default: *reinterpret_cast(_a[0]) = -1; break; 133 | case 2: 134 | switch (*reinterpret_cast(_a[1])) { 135 | default: *reinterpret_cast(_a[0]) = -1; break; 136 | case 0: 137 | *reinterpret_cast(_a[0]) = qRegisterMetaType< QAbstractSocket::SocketError >(); break; 138 | } 139 | break; 140 | } 141 | } 142 | } 143 | 144 | QT_INIT_METAOBJECT const QMetaObject Wave::staticMetaObject = { 145 | { &QDialog::staticMetaObject, qt_meta_stringdata_Wave.data, 146 | qt_meta_data_Wave, qt_static_metacall, nullptr, nullptr} 147 | }; 148 | 149 | 150 | const QMetaObject *Wave::metaObject() const 151 | { 152 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; 153 | } 154 | 155 | void *Wave::qt_metacast(const char *_clname) 156 | { 157 | if (!_clname) return nullptr; 158 | if (!strcmp(_clname, qt_meta_stringdata_Wave.stringdata0)) 159 | return static_cast(this); 160 | return QDialog::qt_metacast(_clname); 161 | } 162 | 163 | int Wave::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 164 | { 165 | _id = QDialog::qt_metacall(_c, _id, _a); 166 | if (_id < 0) 167 | return _id; 168 | if (_c == QMetaObject::InvokeMetaMethod) { 169 | if (_id < 11) 170 | qt_static_metacall(this, _c, _id, _a); 171 | _id -= 11; 172 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { 173 | if (_id < 11) 174 | qt_static_metacall(this, _c, _id, _a); 175 | _id -= 11; 176 | } 177 | return _id; 178 | } 179 | QT_WARNING_POP 180 | QT_END_MOC_NAMESPACE 181 | -------------------------------------------------------------------------------- /phantom/GeneratedFiles/Debug/moc_bridge.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'bridge.h' 3 | ** 4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.11.0) 5 | ** 6 | ** WARNING! All changes made in this file will be lost! 7 | *****************************************************************************/ 8 | 9 | #include "../../bridge.h" 10 | #include 11 | #include 12 | #if !defined(Q_MOC_OUTPUT_REVISION) 13 | #error "The header file 'bridge.h' doesn't include ." 14 | #elif Q_MOC_OUTPUT_REVISION != 67 15 | #error "This file was generated using the moc from 5.11.0. 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 | QT_WARNING_PUSH 22 | QT_WARNING_DISABLE_DEPRECATED 23 | struct qt_meta_stringdata_bridge_t { 24 | QByteArrayData data[12]; 25 | char stringdata0[123]; 26 | }; 27 | #define QT_MOC_LITERAL(idx, ofs, len) \ 28 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ 29 | qptrdiff(offsetof(qt_meta_stringdata_bridge_t, stringdata0) + ofs \ 30 | - idx * sizeof(QByteArrayData)) \ 31 | ) 32 | static const qt_meta_stringdata_bridge_t qt_meta_stringdata_bridge = { 33 | { 34 | QT_MOC_LITERAL(0, 0, 6), // "bridge" 35 | QT_MOC_LITERAL(1, 7, 13), // "cppToHtmlEmit" 36 | QT_MOC_LITERAL(2, 21, 0), // "" 37 | QT_MOC_LITERAL(3, 22, 4), // "mesg" 38 | QT_MOC_LITERAL(4, 27, 13), // "htmlToCppEmit" 39 | QT_MOC_LITERAL(5, 41, 21), // "htmlToCppLocationEmit" 40 | QT_MOC_LITERAL(6, 63, 3), // "lon" 41 | QT_MOC_LITERAL(7, 67, 3), // "lat" 42 | QT_MOC_LITERAL(8, 71, 13), // "mouseMoveEmit" 43 | QT_MOC_LITERAL(9, 85, 9), // "htmlToCpp" 44 | QT_MOC_LITERAL(10, 95, 17), // "htmlToCppLocation" 45 | QT_MOC_LITERAL(11, 113, 9) // "mouseMove" 46 | 47 | }, 48 | "bridge\0cppToHtmlEmit\0\0mesg\0htmlToCppEmit\0" 49 | "htmlToCppLocationEmit\0lon\0lat\0" 50 | "mouseMoveEmit\0htmlToCpp\0htmlToCppLocation\0" 51 | "mouseMove" 52 | }; 53 | #undef QT_MOC_LITERAL 54 | 55 | static const uint qt_meta_data_bridge[] = { 56 | 57 | // content: 58 | 7, // revision 59 | 0, // classname 60 | 0, 0, // classinfo 61 | 7, 14, // methods 62 | 0, 0, // properties 63 | 0, 0, // enums/sets 64 | 0, 0, // constructors 65 | 0, // flags 66 | 4, // signalCount 67 | 68 | // signals: name, argc, parameters, tag, flags 69 | 1, 1, 49, 2, 0x06 /* Public */, 70 | 4, 1, 52, 2, 0x06 /* Public */, 71 | 5, 2, 55, 2, 0x06 /* Public */, 72 | 8, 2, 60, 2, 0x06 /* Public */, 73 | 74 | // slots: name, argc, parameters, tag, flags 75 | 9, 1, 65, 2, 0x0a /* Public */, 76 | 10, 2, 68, 2, 0x0a /* Public */, 77 | 11, 2, 73, 2, 0x0a /* Public */, 78 | 79 | // signals: parameters 80 | QMetaType::Void, QMetaType::QString, 3, 81 | QMetaType::Void, QMetaType::QString, 3, 82 | QMetaType::Void, QMetaType::QString, QMetaType::QString, 6, 7, 83 | QMetaType::Void, QMetaType::QString, QMetaType::QString, 6, 7, 84 | 85 | // slots: parameters 86 | QMetaType::Void, QMetaType::QString, 3, 87 | QMetaType::Void, QMetaType::QString, QMetaType::QString, 6, 7, 88 | QMetaType::Void, QMetaType::QString, QMetaType::QString, 6, 7, 89 | 90 | 0 // eod 91 | }; 92 | 93 | void bridge::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) 94 | { 95 | if (_c == QMetaObject::InvokeMetaMethod) { 96 | bridge *_t = static_cast(_o); 97 | Q_UNUSED(_t) 98 | switch (_id) { 99 | case 0: _t->cppToHtmlEmit((*reinterpret_cast< QString(*)>(_a[1]))); break; 100 | case 1: _t->htmlToCppEmit((*reinterpret_cast< QString(*)>(_a[1]))); break; 101 | case 2: _t->htmlToCppLocationEmit((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break; 102 | case 3: _t->mouseMoveEmit((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break; 103 | case 4: _t->htmlToCpp((*reinterpret_cast< QString(*)>(_a[1]))); break; 104 | case 5: _t->htmlToCppLocation((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break; 105 | case 6: _t->mouseMove((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break; 106 | default: ; 107 | } 108 | } else if (_c == QMetaObject::IndexOfMethod) { 109 | int *result = reinterpret_cast(_a[0]); 110 | { 111 | using _t = void (bridge::*)(QString ); 112 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&bridge::cppToHtmlEmit)) { 113 | *result = 0; 114 | return; 115 | } 116 | } 117 | { 118 | using _t = void (bridge::*)(QString ); 119 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&bridge::htmlToCppEmit)) { 120 | *result = 1; 121 | return; 122 | } 123 | } 124 | { 125 | using _t = void (bridge::*)(QString , QString ); 126 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&bridge::htmlToCppLocationEmit)) { 127 | *result = 2; 128 | return; 129 | } 130 | } 131 | { 132 | using _t = void (bridge::*)(QString , QString ); 133 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&bridge::mouseMoveEmit)) { 134 | *result = 3; 135 | return; 136 | } 137 | } 138 | } 139 | } 140 | 141 | QT_INIT_METAOBJECT const QMetaObject bridge::staticMetaObject = { 142 | { &QObject::staticMetaObject, qt_meta_stringdata_bridge.data, 143 | qt_meta_data_bridge, qt_static_metacall, nullptr, nullptr} 144 | }; 145 | 146 | 147 | const QMetaObject *bridge::metaObject() const 148 | { 149 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; 150 | } 151 | 152 | void *bridge::qt_metacast(const char *_clname) 153 | { 154 | if (!_clname) return nullptr; 155 | if (!strcmp(_clname, qt_meta_stringdata_bridge.stringdata0)) 156 | return static_cast(this); 157 | return QObject::qt_metacast(_clname); 158 | } 159 | 160 | int bridge::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 161 | { 162 | _id = QObject::qt_metacall(_c, _id, _a); 163 | if (_id < 0) 164 | return _id; 165 | if (_c == QMetaObject::InvokeMetaMethod) { 166 | if (_id < 7) 167 | qt_static_metacall(this, _c, _id, _a); 168 | _id -= 7; 169 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { 170 | if (_id < 7) 171 | *reinterpret_cast(_a[0]) = -1; 172 | _id -= 7; 173 | } 174 | return _id; 175 | } 176 | 177 | // SIGNAL 0 178 | void bridge::cppToHtmlEmit(QString _t1) 179 | { 180 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; 181 | QMetaObject::activate(this, &staticMetaObject, 0, _a); 182 | } 183 | 184 | // SIGNAL 1 185 | void bridge::htmlToCppEmit(QString _t1) 186 | { 187 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; 188 | QMetaObject::activate(this, &staticMetaObject, 1, _a); 189 | } 190 | 191 | // SIGNAL 2 192 | void bridge::htmlToCppLocationEmit(QString _t1, QString _t2) 193 | { 194 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)) }; 195 | QMetaObject::activate(this, &staticMetaObject, 2, _a); 196 | } 197 | 198 | // SIGNAL 3 199 | void bridge::mouseMoveEmit(QString _t1, QString _t2) 200 | { 201 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)) }; 202 | QMetaObject::activate(this, &staticMetaObject, 3, _a); 203 | } 204 | QT_WARNING_POP 205 | QT_END_MOC_NAMESPACE 206 | -------------------------------------------------------------------------------- /phantom/GeneratedFiles/Debug/moc_core.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'core.h' 3 | ** 4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.11.0) 5 | ** 6 | ** WARNING! All changes made in this file will be lost! 7 | *****************************************************************************/ 8 | 9 | #include "../../core.h" 10 | #include 11 | #include 12 | #if !defined(Q_MOC_OUTPUT_REVISION) 13 | #error "The header file 'core.h' doesn't include ." 14 | #elif Q_MOC_OUTPUT_REVISION != 67 15 | #error "This file was generated using the moc from 5.11.0. 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 | QT_WARNING_PUSH 22 | QT_WARNING_DISABLE_DEPRECATED 23 | struct qt_meta_stringdata_Core_t { 24 | QByteArrayData data[4]; 25 | char stringdata0[23]; 26 | }; 27 | #define QT_MOC_LITERAL(idx, ofs, len) \ 28 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ 29 | qptrdiff(offsetof(qt_meta_stringdata_Core_t, stringdata0) + ofs \ 30 | - idx * sizeof(QByteArrayData)) \ 31 | ) 32 | static const qt_meta_stringdata_Core_t qt_meta_stringdata_Core = { 33 | { 34 | QT_MOC_LITERAL(0, 0, 4), // "Core" 35 | QT_MOC_LITERAL(1, 5, 11), // "receiveText" 36 | QT_MOC_LITERAL(2, 17, 0), // "" 37 | QT_MOC_LITERAL(3, 18, 4) // "text" 38 | 39 | }, 40 | "Core\0receiveText\0\0text" 41 | }; 42 | #undef QT_MOC_LITERAL 43 | 44 | static const uint qt_meta_data_Core[] = { 45 | 46 | // content: 47 | 7, // revision 48 | 0, // classname 49 | 0, 0, // classinfo 50 | 1, 14, // methods 51 | 0, 0, // properties 52 | 0, 0, // enums/sets 53 | 0, 0, // constructors 54 | 0, // flags 55 | 0, // signalCount 56 | 57 | // slots: name, argc, parameters, tag, flags 58 | 1, 1, 19, 2, 0x0a /* Public */, 59 | 60 | // slots: parameters 61 | QMetaType::Void, QMetaType::QString, 3, 62 | 63 | 0 // eod 64 | }; 65 | 66 | void Core::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) 67 | { 68 | if (_c == QMetaObject::InvokeMetaMethod) { 69 | Core *_t = static_cast(_o); 70 | Q_UNUSED(_t) 71 | switch (_id) { 72 | case 0: _t->receiveText((*reinterpret_cast< const QString(*)>(_a[1]))); break; 73 | default: ; 74 | } 75 | } 76 | } 77 | 78 | QT_INIT_METAOBJECT const QMetaObject Core::staticMetaObject = { 79 | { &QObject::staticMetaObject, qt_meta_stringdata_Core.data, 80 | qt_meta_data_Core, qt_static_metacall, nullptr, nullptr} 81 | }; 82 | 83 | 84 | const QMetaObject *Core::metaObject() const 85 | { 86 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; 87 | } 88 | 89 | void *Core::qt_metacast(const char *_clname) 90 | { 91 | if (!_clname) return nullptr; 92 | if (!strcmp(_clname, qt_meta_stringdata_Core.stringdata0)) 93 | return static_cast(this); 94 | return QObject::qt_metacast(_clname); 95 | } 96 | 97 | int Core::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 98 | { 99 | _id = QObject::qt_metacall(_c, _id, _a); 100 | if (_id < 0) 101 | return _id; 102 | if (_c == QMetaObject::InvokeMetaMethod) { 103 | if (_id < 1) 104 | qt_static_metacall(this, _c, _id, _a); 105 | _id -= 1; 106 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { 107 | if (_id < 1) 108 | *reinterpret_cast(_a[0]) = -1; 109 | _id -= 1; 110 | } 111 | return _id; 112 | } 113 | QT_WARNING_POP 114 | QT_END_MOC_NAMESPACE 115 | -------------------------------------------------------------------------------- /phantom/GeneratedFiles/Debug/moc_phantom.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'phantom.h' 3 | ** 4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.11.0) 5 | ** 6 | ** WARNING! All changes made in this file will be lost! 7 | *****************************************************************************/ 8 | 9 | #include "../../phantom.h" 10 | #include 11 | #include 12 | #if !defined(Q_MOC_OUTPUT_REVISION) 13 | #error "The header file 'phantom.h' doesn't include ." 14 | #elif Q_MOC_OUTPUT_REVISION != 67 15 | #error "This file was generated using the moc from 5.11.0. 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 | QT_WARNING_PUSH 22 | QT_WARNING_DISABLE_DEPRECATED 23 | struct qt_meta_stringdata_Phantom_t { 24 | QByteArrayData data[1]; 25 | char stringdata0[8]; 26 | }; 27 | #define QT_MOC_LITERAL(idx, ofs, len) \ 28 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ 29 | qptrdiff(offsetof(qt_meta_stringdata_Phantom_t, stringdata0) + ofs \ 30 | - idx * sizeof(QByteArrayData)) \ 31 | ) 32 | static const qt_meta_stringdata_Phantom_t qt_meta_stringdata_Phantom = { 33 | { 34 | QT_MOC_LITERAL(0, 0, 7) // "Phantom" 35 | 36 | }, 37 | "Phantom" 38 | }; 39 | #undef QT_MOC_LITERAL 40 | 41 | static const uint qt_meta_data_Phantom[] = { 42 | 43 | // content: 44 | 7, // revision 45 | 0, // classname 46 | 0, 0, // classinfo 47 | 0, 0, // methods 48 | 0, 0, // properties 49 | 0, 0, // enums/sets 50 | 0, 0, // constructors 51 | 0, // flags 52 | 0, // signalCount 53 | 54 | 0 // eod 55 | }; 56 | 57 | void Phantom::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) 58 | { 59 | Q_UNUSED(_o); 60 | Q_UNUSED(_id); 61 | Q_UNUSED(_c); 62 | Q_UNUSED(_a); 63 | } 64 | 65 | QT_INIT_METAOBJECT const QMetaObject Phantom::staticMetaObject = { 66 | { &QMainWindow::staticMetaObject, qt_meta_stringdata_Phantom.data, 67 | qt_meta_data_Phantom, qt_static_metacall, nullptr, nullptr} 68 | }; 69 | 70 | 71 | const QMetaObject *Phantom::metaObject() const 72 | { 73 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; 74 | } 75 | 76 | void *Phantom::qt_metacast(const char *_clname) 77 | { 78 | if (!_clname) return nullptr; 79 | if (!strcmp(_clname, qt_meta_stringdata_Phantom.stringdata0)) 80 | return static_cast(this); 81 | return QMainWindow::qt_metacast(_clname); 82 | } 83 | 84 | int Phantom::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 85 | { 86 | _id = QMainWindow::qt_metacall(_c, _id, _a); 87 | return _id; 88 | } 89 | QT_WARNING_POP 90 | QT_END_MOC_NAMESPACE 91 | -------------------------------------------------------------------------------- /phantom/GeneratedFiles/Debug/moc_qchartviewer.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'qchartviewer.h' 3 | ** 4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.11.0) 5 | ** 6 | ** WARNING! All changes made in this file will be lost! 7 | *****************************************************************************/ 8 | 9 | #include "../../chart/qchartviewer.h" 10 | #include 11 | #include 12 | #if !defined(Q_MOC_OUTPUT_REVISION) 13 | #error "The header file 'qchartviewer.h' doesn't include ." 14 | #elif Q_MOC_OUTPUT_REVISION != 67 15 | #error "This file was generated using the moc from 5.11.0. 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 | QT_WARNING_PUSH 22 | QT_WARNING_DISABLE_DEPRECATED 23 | struct qt_meta_stringdata_QChartViewer_t { 24 | QByteArrayData data[14]; 25 | char stringdata0[167]; 26 | }; 27 | #define QT_MOC_LITERAL(idx, ofs, len) \ 28 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ 29 | qptrdiff(offsetof(qt_meta_stringdata_QChartViewer_t, stringdata0) + ofs \ 30 | - idx * sizeof(QByteArrayData)) \ 31 | ) 32 | static const qt_meta_stringdata_QChartViewer_t qt_meta_stringdata_QChartViewer = { 33 | { 34 | QT_MOC_LITERAL(0, 0, 12), // "QChartViewer" 35 | QT_MOC_LITERAL(1, 13, 15), // "viewPortChanged" 36 | QT_MOC_LITERAL(2, 29, 0), // "" 37 | QT_MOC_LITERAL(3, 30, 7), // "clicked" 38 | QT_MOC_LITERAL(4, 38, 12), // "QMouseEvent*" 39 | QT_MOC_LITERAL(5, 51, 5), // "event" 40 | QT_MOC_LITERAL(6, 57, 9), // "mouseMove" 41 | QT_MOC_LITERAL(7, 67, 10), // "mouseWheel" 42 | QT_MOC_LITERAL(8, 78, 12), // "QWheelEvent*" 43 | QT_MOC_LITERAL(9, 91, 14), // "mouseMoveChart" 44 | QT_MOC_LITERAL(10, 106, 15), // "mouseLeaveChart" 45 | QT_MOC_LITERAL(11, 122, 7), // "QEvent*" 46 | QT_MOC_LITERAL(12, 130, 17), // "mouseMovePlotArea" 47 | QT_MOC_LITERAL(13, 148, 18) // "mouseLeavePlotArea" 48 | 49 | }, 50 | "QChartViewer\0viewPortChanged\0\0clicked\0" 51 | "QMouseEvent*\0event\0mouseMove\0mouseWheel\0" 52 | "QWheelEvent*\0mouseMoveChart\0mouseLeaveChart\0" 53 | "QEvent*\0mouseMovePlotArea\0mouseLeavePlotArea" 54 | }; 55 | #undef QT_MOC_LITERAL 56 | 57 | static const uint qt_meta_data_QChartViewer[] = { 58 | 59 | // content: 60 | 7, // revision 61 | 0, // classname 62 | 0, 0, // classinfo 63 | 8, 14, // methods 64 | 0, 0, // properties 65 | 0, 0, // enums/sets 66 | 0, 0, // constructors 67 | 0, // flags 68 | 8, // signalCount 69 | 70 | // signals: name, argc, parameters, tag, flags 71 | 1, 0, 54, 2, 0x06 /* Public */, 72 | 3, 1, 55, 2, 0x06 /* Public */, 73 | 6, 1, 58, 2, 0x06 /* Public */, 74 | 7, 1, 61, 2, 0x06 /* Public */, 75 | 9, 1, 64, 2, 0x06 /* Public */, 76 | 10, 1, 67, 2, 0x06 /* Public */, 77 | 12, 1, 70, 2, 0x06 /* Public */, 78 | 13, 1, 73, 2, 0x06 /* Public */, 79 | 80 | // signals: parameters 81 | QMetaType::Void, 82 | QMetaType::Void, 0x80000000 | 4, 5, 83 | QMetaType::Void, 0x80000000 | 4, 5, 84 | QMetaType::Void, 0x80000000 | 8, 5, 85 | QMetaType::Void, 0x80000000 | 4, 5, 86 | QMetaType::Void, 0x80000000 | 11, 5, 87 | QMetaType::Void, 0x80000000 | 4, 5, 88 | QMetaType::Void, 0x80000000 | 11, 5, 89 | 90 | 0 // eod 91 | }; 92 | 93 | void QChartViewer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) 94 | { 95 | if (_c == QMetaObject::InvokeMetaMethod) { 96 | QChartViewer *_t = static_cast(_o); 97 | Q_UNUSED(_t) 98 | switch (_id) { 99 | case 0: _t->viewPortChanged(); break; 100 | case 1: _t->clicked((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break; 101 | case 2: _t->mouseMove((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break; 102 | case 3: _t->mouseWheel((*reinterpret_cast< QWheelEvent*(*)>(_a[1]))); break; 103 | case 4: _t->mouseMoveChart((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break; 104 | case 5: _t->mouseLeaveChart((*reinterpret_cast< QEvent*(*)>(_a[1]))); break; 105 | case 6: _t->mouseMovePlotArea((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break; 106 | case 7: _t->mouseLeavePlotArea((*reinterpret_cast< QEvent*(*)>(_a[1]))); break; 107 | default: ; 108 | } 109 | } else if (_c == QMetaObject::IndexOfMethod) { 110 | int *result = reinterpret_cast(_a[0]); 111 | { 112 | using _t = void (QChartViewer::*)(); 113 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QChartViewer::viewPortChanged)) { 114 | *result = 0; 115 | return; 116 | } 117 | } 118 | { 119 | using _t = void (QChartViewer::*)(QMouseEvent * ); 120 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QChartViewer::clicked)) { 121 | *result = 1; 122 | return; 123 | } 124 | } 125 | { 126 | using _t = void (QChartViewer::*)(QMouseEvent * ); 127 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QChartViewer::mouseMove)) { 128 | *result = 2; 129 | return; 130 | } 131 | } 132 | { 133 | using _t = void (QChartViewer::*)(QWheelEvent * ); 134 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QChartViewer::mouseWheel)) { 135 | *result = 3; 136 | return; 137 | } 138 | } 139 | { 140 | using _t = void (QChartViewer::*)(QMouseEvent * ); 141 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QChartViewer::mouseMoveChart)) { 142 | *result = 4; 143 | return; 144 | } 145 | } 146 | { 147 | using _t = void (QChartViewer::*)(QEvent * ); 148 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QChartViewer::mouseLeaveChart)) { 149 | *result = 5; 150 | return; 151 | } 152 | } 153 | { 154 | using _t = void (QChartViewer::*)(QMouseEvent * ); 155 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QChartViewer::mouseMovePlotArea)) { 156 | *result = 6; 157 | return; 158 | } 159 | } 160 | { 161 | using _t = void (QChartViewer::*)(QEvent * ); 162 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QChartViewer::mouseLeavePlotArea)) { 163 | *result = 7; 164 | return; 165 | } 166 | } 167 | } 168 | } 169 | 170 | QT_INIT_METAOBJECT const QMetaObject QChartViewer::staticMetaObject = { 171 | { &QLabel::staticMetaObject, qt_meta_stringdata_QChartViewer.data, 172 | qt_meta_data_QChartViewer, qt_static_metacall, nullptr, nullptr} 173 | }; 174 | 175 | 176 | const QMetaObject *QChartViewer::metaObject() const 177 | { 178 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; 179 | } 180 | 181 | void *QChartViewer::qt_metacast(const char *_clname) 182 | { 183 | if (!_clname) return nullptr; 184 | if (!strcmp(_clname, qt_meta_stringdata_QChartViewer.stringdata0)) 185 | return static_cast(this); 186 | if (!strcmp(_clname, "ViewPortManager")) 187 | return static_cast< ViewPortManager*>(this); 188 | return QLabel::qt_metacast(_clname); 189 | } 190 | 191 | int QChartViewer::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 192 | { 193 | _id = QLabel::qt_metacall(_c, _id, _a); 194 | if (_id < 0) 195 | return _id; 196 | if (_c == QMetaObject::InvokeMetaMethod) { 197 | if (_id < 8) 198 | qt_static_metacall(this, _c, _id, _a); 199 | _id -= 8; 200 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { 201 | if (_id < 8) 202 | *reinterpret_cast(_a[0]) = -1; 203 | _id -= 8; 204 | } 205 | return _id; 206 | } 207 | 208 | // SIGNAL 0 209 | void QChartViewer::viewPortChanged() 210 | { 211 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); 212 | } 213 | 214 | // SIGNAL 1 215 | void QChartViewer::clicked(QMouseEvent * _t1) 216 | { 217 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; 218 | QMetaObject::activate(this, &staticMetaObject, 1, _a); 219 | } 220 | 221 | // SIGNAL 2 222 | void QChartViewer::mouseMove(QMouseEvent * _t1) 223 | { 224 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; 225 | QMetaObject::activate(this, &staticMetaObject, 2, _a); 226 | } 227 | 228 | // SIGNAL 3 229 | void QChartViewer::mouseWheel(QWheelEvent * _t1) 230 | { 231 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; 232 | QMetaObject::activate(this, &staticMetaObject, 3, _a); 233 | } 234 | 235 | // SIGNAL 4 236 | void QChartViewer::mouseMoveChart(QMouseEvent * _t1) 237 | { 238 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; 239 | QMetaObject::activate(this, &staticMetaObject, 4, _a); 240 | } 241 | 242 | // SIGNAL 5 243 | void QChartViewer::mouseLeaveChart(QEvent * _t1) 244 | { 245 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; 246 | QMetaObject::activate(this, &staticMetaObject, 5, _a); 247 | } 248 | 249 | // SIGNAL 6 250 | void QChartViewer::mouseMovePlotArea(QMouseEvent * _t1) 251 | { 252 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; 253 | QMetaObject::activate(this, &staticMetaObject, 6, _a); 254 | } 255 | 256 | // SIGNAL 7 257 | void QChartViewer::mouseLeavePlotArea(QEvent * _t1) 258 | { 259 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; 260 | QMetaObject::activate(this, &staticMetaObject, 7, _a); 261 | } 262 | struct qt_meta_stringdata_QViewPortControl_t { 263 | QByteArrayData data[3]; 264 | char stringdata0[36]; 265 | }; 266 | #define QT_MOC_LITERAL(idx, ofs, len) \ 267 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ 268 | qptrdiff(offsetof(qt_meta_stringdata_QViewPortControl_t, stringdata0) + ofs \ 269 | - idx * sizeof(QByteArrayData)) \ 270 | ) 271 | static const qt_meta_stringdata_QViewPortControl_t qt_meta_stringdata_QViewPortControl = { 272 | { 273 | QT_MOC_LITERAL(0, 0, 16), // "QViewPortControl" 274 | QT_MOC_LITERAL(1, 17, 17), // "onViewPortChanged" 275 | QT_MOC_LITERAL(2, 35, 0) // "" 276 | 277 | }, 278 | "QViewPortControl\0onViewPortChanged\0" 279 | }; 280 | #undef QT_MOC_LITERAL 281 | 282 | static const uint qt_meta_data_QViewPortControl[] = { 283 | 284 | // content: 285 | 7, // revision 286 | 0, // classname 287 | 0, 0, // classinfo 288 | 1, 14, // methods 289 | 0, 0, // properties 290 | 0, 0, // enums/sets 291 | 0, 0, // constructors 292 | 0, // flags 293 | 0, // signalCount 294 | 295 | // slots: name, argc, parameters, tag, flags 296 | 1, 0, 19, 2, 0x08 /* Private */, 297 | 298 | // slots: parameters 299 | QMetaType::Void, 300 | 301 | 0 // eod 302 | }; 303 | 304 | void QViewPortControl::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) 305 | { 306 | if (_c == QMetaObject::InvokeMetaMethod) { 307 | QViewPortControl *_t = static_cast(_o); 308 | Q_UNUSED(_t) 309 | switch (_id) { 310 | case 0: _t->onViewPortChanged(); break; 311 | default: ; 312 | } 313 | } 314 | Q_UNUSED(_a); 315 | } 316 | 317 | QT_INIT_METAOBJECT const QMetaObject QViewPortControl::staticMetaObject = { 318 | { &QLabel::staticMetaObject, qt_meta_stringdata_QViewPortControl.data, 319 | qt_meta_data_QViewPortControl, qt_static_metacall, nullptr, nullptr} 320 | }; 321 | 322 | 323 | const QMetaObject *QViewPortControl::metaObject() const 324 | { 325 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; 326 | } 327 | 328 | void *QViewPortControl::qt_metacast(const char *_clname) 329 | { 330 | if (!_clname) return nullptr; 331 | if (!strcmp(_clname, qt_meta_stringdata_QViewPortControl.stringdata0)) 332 | return static_cast(this); 333 | if (!strcmp(_clname, "ViewPortControlBase")) 334 | return static_cast< ViewPortControlBase*>(this); 335 | return QLabel::qt_metacast(_clname); 336 | } 337 | 338 | int QViewPortControl::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 339 | { 340 | _id = QLabel::qt_metacall(_c, _id, _a); 341 | if (_id < 0) 342 | return _id; 343 | if (_c == QMetaObject::InvokeMetaMethod) { 344 | if (_id < 1) 345 | qt_static_metacall(this, _c, _id, _a); 346 | _id -= 1; 347 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { 348 | if (_id < 1) 349 | *reinterpret_cast(_a[0]) = -1; 350 | _id -= 1; 351 | } 352 | return _id; 353 | } 354 | QT_WARNING_POP 355 | QT_END_MOC_NAMESPACE 356 | -------------------------------------------------------------------------------- /phantom/GeneratedFiles/Debug/moc_randomwalk.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'randomwalk.h' 3 | ** 4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.11.0) 5 | ** 6 | ** WARNING! All changes made in this file will be lost! 7 | *****************************************************************************/ 8 | 9 | #include "../../chart/randomwalk.h" 10 | #include 11 | #include 12 | #if !defined(Q_MOC_OUTPUT_REVISION) 13 | #error "The header file 'randomwalk.h' doesn't include ." 14 | #elif Q_MOC_OUTPUT_REVISION != 67 15 | #error "This file was generated using the moc from 5.11.0. 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 | QT_WARNING_PUSH 22 | QT_WARNING_DISABLE_DEPRECATED 23 | struct qt_meta_stringdata_RandomWalk_t { 24 | QByteArrayData data[3]; 25 | char stringdata0[26]; 26 | }; 27 | #define QT_MOC_LITERAL(idx, ofs, len) \ 28 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ 29 | qptrdiff(offsetof(qt_meta_stringdata_RandomWalk_t, stringdata0) + ofs \ 30 | - idx * sizeof(QByteArrayData)) \ 31 | ) 32 | static const qt_meta_stringdata_RandomWalk_t qt_meta_stringdata_RandomWalk = { 33 | { 34 | QT_MOC_LITERAL(0, 0, 10), // "RandomWalk" 35 | QT_MOC_LITERAL(1, 11, 13), // "updata_series" 36 | QT_MOC_LITERAL(2, 25, 0) // "" 37 | 38 | }, 39 | "RandomWalk\0updata_series\0" 40 | }; 41 | #undef QT_MOC_LITERAL 42 | 43 | static const uint qt_meta_data_RandomWalk[] = { 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, 0, 19, 2, 0x08 /* Private */, 58 | 59 | // slots: parameters 60 | QMetaType::Void, 61 | 62 | 0 // eod 63 | }; 64 | 65 | void RandomWalk::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) 66 | { 67 | if (_c == QMetaObject::InvokeMetaMethod) { 68 | RandomWalk *_t = static_cast(_o); 69 | Q_UNUSED(_t) 70 | switch (_id) { 71 | case 0: _t->updata_series(); break; 72 | default: ; 73 | } 74 | } 75 | Q_UNUSED(_a); 76 | } 77 | 78 | QT_INIT_METAOBJECT const QMetaObject RandomWalk::staticMetaObject = { 79 | { &QThread::staticMetaObject, qt_meta_stringdata_RandomWalk.data, 80 | qt_meta_data_RandomWalk, qt_static_metacall, nullptr, nullptr} 81 | }; 82 | 83 | 84 | const QMetaObject *RandomWalk::metaObject() const 85 | { 86 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; 87 | } 88 | 89 | void *RandomWalk::qt_metacast(const char *_clname) 90 | { 91 | if (!_clname) return nullptr; 92 | if (!strcmp(_clname, qt_meta_stringdata_RandomWalk.stringdata0)) 93 | return static_cast(this); 94 | return QThread::qt_metacast(_clname); 95 | } 96 | 97 | int RandomWalk::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 98 | { 99 | _id = QThread::qt_metacall(_c, _id, _a); 100 | if (_id < 0) 101 | return _id; 102 | if (_c == QMetaObject::InvokeMetaMethod) { 103 | if (_id < 1) 104 | qt_static_metacall(this, _c, _id, _a); 105 | _id -= 1; 106 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { 107 | if (_id < 1) 108 | *reinterpret_cast(_a[0]) = -1; 109 | _id -= 1; 110 | } 111 | return _id; 112 | } 113 | QT_WARNING_POP 114 | QT_END_MOC_NAMESPACE 115 | -------------------------------------------------------------------------------- /phantom/GeneratedFiles/Debug/moc_realtimemultithread.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'realtimemultithread.h' 3 | ** 4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.11.0) 5 | ** 6 | ** WARNING! All changes made in this file will be lost! 7 | *****************************************************************************/ 8 | 9 | #include "../../chart/realtimemultithread.h" 10 | #include 11 | #include 12 | #if !defined(Q_MOC_OUTPUT_REVISION) 13 | #error "The header file 'realtimemultithread.h' doesn't include ." 14 | #elif Q_MOC_OUTPUT_REVISION != 67 15 | #error "This file was generated using the moc from 5.11.0. 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 | QT_WARNING_PUSH 22 | QT_WARNING_DISABLE_DEPRECATED 23 | struct qt_meta_stringdata_RealTimeMultiThread_t { 24 | QByteArrayData data[12]; 25 | char stringdata0[161]; 26 | }; 27 | #define QT_MOC_LITERAL(idx, ofs, len) \ 28 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ 29 | qptrdiff(offsetof(qt_meta_stringdata_RealTimeMultiThread_t, stringdata0) + ofs \ 30 | - idx * sizeof(QByteArrayData)) \ 31 | ) 32 | static const qt_meta_stringdata_RealTimeMultiThread_t qt_meta_stringdata_RealTimeMultiThread = { 33 | { 34 | QT_MOC_LITERAL(0, 0, 19), // "RealTimeMultiThread" 35 | QT_MOC_LITERAL(1, 20, 19), // "onMouseUsageChanged" 36 | QT_MOC_LITERAL(2, 40, 0), // "" 37 | QT_MOC_LITERAL(3, 41, 10), // "mouseUsage" 38 | QT_MOC_LITERAL(4, 52, 6), // "onSave" 39 | QT_MOC_LITERAL(5, 59, 19), // "onMouseMovePlotArea" 40 | QT_MOC_LITERAL(6, 79, 12), // "QMouseEvent*" 41 | QT_MOC_LITERAL(7, 92, 5), // "event" 42 | QT_MOC_LITERAL(8, 98, 18), // "onChartUpdateTimer" 43 | QT_MOC_LITERAL(9, 117, 17), // "onViewPortChanged" 44 | QT_MOC_LITERAL(10, 135, 19), // "onHScrollBarChanged" 45 | QT_MOC_LITERAL(11, 155, 5) // "value" 46 | 47 | }, 48 | "RealTimeMultiThread\0onMouseUsageChanged\0" 49 | "\0mouseUsage\0onSave\0onMouseMovePlotArea\0" 50 | "QMouseEvent*\0event\0onChartUpdateTimer\0" 51 | "onViewPortChanged\0onHScrollBarChanged\0" 52 | "value" 53 | }; 54 | #undef QT_MOC_LITERAL 55 | 56 | static const uint qt_meta_data_RealTimeMultiThread[] = { 57 | 58 | // content: 59 | 7, // revision 60 | 0, // classname 61 | 0, 0, // classinfo 62 | 6, 14, // methods 63 | 0, 0, // properties 64 | 0, 0, // enums/sets 65 | 0, 0, // constructors 66 | 0, // flags 67 | 0, // signalCount 68 | 69 | // slots: name, argc, parameters, tag, flags 70 | 1, 1, 44, 2, 0x08 /* Private */, 71 | 4, 1, 47, 2, 0x08 /* Private */, 72 | 5, 1, 50, 2, 0x08 /* Private */, 73 | 8, 0, 53, 2, 0x08 /* Private */, 74 | 9, 0, 54, 2, 0x08 /* Private */, 75 | 10, 1, 55, 2, 0x08 /* Private */, 76 | 77 | // slots: parameters 78 | QMetaType::Void, QMetaType::Int, 3, 79 | QMetaType::Void, QMetaType::Bool, 2, 80 | QMetaType::Void, 0x80000000 | 6, 7, 81 | QMetaType::Void, 82 | QMetaType::Void, 83 | QMetaType::Void, QMetaType::Int, 11, 84 | 85 | 0 // eod 86 | }; 87 | 88 | void RealTimeMultiThread::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) 89 | { 90 | if (_c == QMetaObject::InvokeMetaMethod) { 91 | RealTimeMultiThread *_t = static_cast(_o); 92 | Q_UNUSED(_t) 93 | switch (_id) { 94 | case 0: _t->onMouseUsageChanged((*reinterpret_cast< int(*)>(_a[1]))); break; 95 | case 1: _t->onSave((*reinterpret_cast< bool(*)>(_a[1]))); break; 96 | case 2: _t->onMouseMovePlotArea((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break; 97 | case 3: _t->onChartUpdateTimer(); break; 98 | case 4: _t->onViewPortChanged(); break; 99 | case 5: _t->onHScrollBarChanged((*reinterpret_cast< int(*)>(_a[1]))); break; 100 | default: ; 101 | } 102 | } 103 | } 104 | 105 | QT_INIT_METAOBJECT const QMetaObject RealTimeMultiThread::staticMetaObject = { 106 | { &QWidget::staticMetaObject, qt_meta_stringdata_RealTimeMultiThread.data, 107 | qt_meta_data_RealTimeMultiThread, qt_static_metacall, nullptr, nullptr} 108 | }; 109 | 110 | 111 | const QMetaObject *RealTimeMultiThread::metaObject() const 112 | { 113 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; 114 | } 115 | 116 | void *RealTimeMultiThread::qt_metacast(const char *_clname) 117 | { 118 | if (!_clname) return nullptr; 119 | if (!strcmp(_clname, qt_meta_stringdata_RealTimeMultiThread.stringdata0)) 120 | return static_cast(this); 121 | return QWidget::qt_metacast(_clname); 122 | } 123 | 124 | int RealTimeMultiThread::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 125 | { 126 | _id = QWidget::qt_metacall(_c, _id, _a); 127 | if (_id < 0) 128 | return _id; 129 | if (_c == QMetaObject::InvokeMetaMethod) { 130 | if (_id < 6) 131 | qt_static_metacall(this, _c, _id, _a); 132 | _id -= 6; 133 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { 134 | if (_id < 6) 135 | *reinterpret_cast(_a[0]) = -1; 136 | _id -= 6; 137 | } 138 | return _id; 139 | } 140 | QT_WARNING_POP 141 | QT_END_MOC_NAMESPACE 142 | -------------------------------------------------------------------------------- /phantom/GeneratedFiles/Debug/moc_websocketclientwrapper.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'websocketclientwrapper.h' 3 | ** 4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.11.0) 5 | ** 6 | ** WARNING! All changes made in this file will be lost! 7 | *****************************************************************************/ 8 | 9 | #include "../../websocketclientwrapper.h" 10 | #include 11 | #include 12 | #if !defined(Q_MOC_OUTPUT_REVISION) 13 | #error "The header file 'websocketclientwrapper.h' doesn't include ." 14 | #elif Q_MOC_OUTPUT_REVISION != 67 15 | #error "This file was generated using the moc from 5.11.0. 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 | QT_WARNING_PUSH 22 | QT_WARNING_DISABLE_DEPRECATED 23 | struct qt_meta_stringdata_WebSocketClientWrapper_t { 24 | QByteArrayData data[6]; 25 | char stringdata0[87]; 26 | }; 27 | #define QT_MOC_LITERAL(idx, ofs, len) \ 28 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ 29 | qptrdiff(offsetof(qt_meta_stringdata_WebSocketClientWrapper_t, stringdata0) + ofs \ 30 | - idx * sizeof(QByteArrayData)) \ 31 | ) 32 | static const qt_meta_stringdata_WebSocketClientWrapper_t qt_meta_stringdata_WebSocketClientWrapper = { 33 | { 34 | QT_MOC_LITERAL(0, 0, 22), // "WebSocketClientWrapper" 35 | QT_MOC_LITERAL(1, 23, 15), // "clientConnected" 36 | QT_MOC_LITERAL(2, 39, 0), // "" 37 | QT_MOC_LITERAL(3, 40, 19), // "WebSocketTransport*" 38 | QT_MOC_LITERAL(4, 60, 6), // "client" 39 | QT_MOC_LITERAL(5, 67, 19) // "handleNewConnection" 40 | 41 | }, 42 | "WebSocketClientWrapper\0clientConnected\0" 43 | "\0WebSocketTransport*\0client\0" 44 | "handleNewConnection" 45 | }; 46 | #undef QT_MOC_LITERAL 47 | 48 | static const uint qt_meta_data_WebSocketClientWrapper[] = { 49 | 50 | // content: 51 | 7, // revision 52 | 0, // classname 53 | 0, 0, // classinfo 54 | 2, 14, // methods 55 | 0, 0, // properties 56 | 0, 0, // enums/sets 57 | 0, 0, // constructors 58 | 0, // flags 59 | 1, // signalCount 60 | 61 | // signals: name, argc, parameters, tag, flags 62 | 1, 1, 24, 2, 0x06 /* Public */, 63 | 64 | // slots: name, argc, parameters, tag, flags 65 | 5, 0, 27, 2, 0x08 /* Private */, 66 | 67 | // signals: parameters 68 | QMetaType::Void, 0x80000000 | 3, 4, 69 | 70 | // slots: parameters 71 | QMetaType::Void, 72 | 73 | 0 // eod 74 | }; 75 | 76 | void WebSocketClientWrapper::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) 77 | { 78 | if (_c == QMetaObject::InvokeMetaMethod) { 79 | WebSocketClientWrapper *_t = static_cast(_o); 80 | Q_UNUSED(_t) 81 | switch (_id) { 82 | case 0: _t->clientConnected((*reinterpret_cast< WebSocketTransport*(*)>(_a[1]))); break; 83 | case 1: _t->handleNewConnection(); break; 84 | default: ; 85 | } 86 | } else if (_c == QMetaObject::IndexOfMethod) { 87 | int *result = reinterpret_cast(_a[0]); 88 | { 89 | using _t = void (WebSocketClientWrapper::*)(WebSocketTransport * ); 90 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WebSocketClientWrapper::clientConnected)) { 91 | *result = 0; 92 | return; 93 | } 94 | } 95 | } 96 | } 97 | 98 | QT_INIT_METAOBJECT const QMetaObject WebSocketClientWrapper::staticMetaObject = { 99 | { &QObject::staticMetaObject, qt_meta_stringdata_WebSocketClientWrapper.data, 100 | qt_meta_data_WebSocketClientWrapper, qt_static_metacall, nullptr, nullptr} 101 | }; 102 | 103 | 104 | const QMetaObject *WebSocketClientWrapper::metaObject() const 105 | { 106 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; 107 | } 108 | 109 | void *WebSocketClientWrapper::qt_metacast(const char *_clname) 110 | { 111 | if (!_clname) return nullptr; 112 | if (!strcmp(_clname, qt_meta_stringdata_WebSocketClientWrapper.stringdata0)) 113 | return static_cast(this); 114 | return QObject::qt_metacast(_clname); 115 | } 116 | 117 | int WebSocketClientWrapper::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 118 | { 119 | _id = QObject::qt_metacall(_c, _id, _a); 120 | if (_id < 0) 121 | return _id; 122 | if (_c == QMetaObject::InvokeMetaMethod) { 123 | if (_id < 2) 124 | qt_static_metacall(this, _c, _id, _a); 125 | _id -= 2; 126 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { 127 | if (_id < 2) 128 | *reinterpret_cast(_a[0]) = -1; 129 | _id -= 2; 130 | } 131 | return _id; 132 | } 133 | 134 | // SIGNAL 0 135 | void WebSocketClientWrapper::clientConnected(WebSocketTransport * _t1) 136 | { 137 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; 138 | QMetaObject::activate(this, &staticMetaObject, 0, _a); 139 | } 140 | QT_WARNING_POP 141 | QT_END_MOC_NAMESPACE 142 | -------------------------------------------------------------------------------- /phantom/GeneratedFiles/Debug/moc_websockettransport.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'websockettransport.h' 3 | ** 4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.11.0) 5 | ** 6 | ** WARNING! All changes made in this file will be lost! 7 | *****************************************************************************/ 8 | 9 | #include "../../websockettransport.h" 10 | #include 11 | #include 12 | #if !defined(Q_MOC_OUTPUT_REVISION) 13 | #error "The header file 'websockettransport.h' doesn't include ." 14 | #elif Q_MOC_OUTPUT_REVISION != 67 15 | #error "This file was generated using the moc from 5.11.0. 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 | QT_WARNING_PUSH 22 | QT_WARNING_DISABLE_DEPRECATED 23 | struct qt_meta_stringdata_WebSocketTransport_t { 24 | QByteArrayData data[4]; 25 | char stringdata0[48]; 26 | }; 27 | #define QT_MOC_LITERAL(idx, ofs, len) \ 28 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ 29 | qptrdiff(offsetof(qt_meta_stringdata_WebSocketTransport_t, stringdata0) + ofs \ 30 | - idx * sizeof(QByteArrayData)) \ 31 | ) 32 | static const qt_meta_stringdata_WebSocketTransport_t qt_meta_stringdata_WebSocketTransport = { 33 | { 34 | QT_MOC_LITERAL(0, 0, 18), // "WebSocketTransport" 35 | QT_MOC_LITERAL(1, 19, 19), // "textMessageReceived" 36 | QT_MOC_LITERAL(2, 39, 0), // "" 37 | QT_MOC_LITERAL(3, 40, 7) // "message" 38 | 39 | }, 40 | "WebSocketTransport\0textMessageReceived\0" 41 | "\0message" 42 | }; 43 | #undef QT_MOC_LITERAL 44 | 45 | static const uint qt_meta_data_WebSocketTransport[] = { 46 | 47 | // content: 48 | 7, // revision 49 | 0, // classname 50 | 0, 0, // classinfo 51 | 1, 14, // methods 52 | 0, 0, // properties 53 | 0, 0, // enums/sets 54 | 0, 0, // constructors 55 | 0, // flags 56 | 0, // signalCount 57 | 58 | // slots: name, argc, parameters, tag, flags 59 | 1, 1, 19, 2, 0x08 /* Private */, 60 | 61 | // slots: parameters 62 | QMetaType::Void, QMetaType::QString, 3, 63 | 64 | 0 // eod 65 | }; 66 | 67 | void WebSocketTransport::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) 68 | { 69 | if (_c == QMetaObject::InvokeMetaMethod) { 70 | WebSocketTransport *_t = static_cast(_o); 71 | Q_UNUSED(_t) 72 | switch (_id) { 73 | case 0: _t->textMessageReceived((*reinterpret_cast< const QString(*)>(_a[1]))); break; 74 | default: ; 75 | } 76 | } 77 | } 78 | 79 | QT_INIT_METAOBJECT const QMetaObject WebSocketTransport::staticMetaObject = { 80 | { &QWebChannelAbstractTransport::staticMetaObject, qt_meta_stringdata_WebSocketTransport.data, 81 | qt_meta_data_WebSocketTransport, qt_static_metacall, nullptr, nullptr} 82 | }; 83 | 84 | 85 | const QMetaObject *WebSocketTransport::metaObject() const 86 | { 87 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; 88 | } 89 | 90 | void *WebSocketTransport::qt_metacast(const char *_clname) 91 | { 92 | if (!_clname) return nullptr; 93 | if (!strcmp(_clname, qt_meta_stringdata_WebSocketTransport.stringdata0)) 94 | return static_cast(this); 95 | return QWebChannelAbstractTransport::qt_metacast(_clname); 96 | } 97 | 98 | int WebSocketTransport::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 99 | { 100 | _id = QWebChannelAbstractTransport::qt_metacall(_c, _id, _a); 101 | if (_id < 0) 102 | return _id; 103 | if (_c == QMetaObject::InvokeMetaMethod) { 104 | if (_id < 1) 105 | qt_static_metacall(this, _c, _id, _a); 106 | _id -= 1; 107 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { 108 | if (_id < 1) 109 | *reinterpret_cast(_a[0]) = -1; 110 | _id -= 1; 111 | } 112 | return _id; 113 | } 114 | QT_WARNING_POP 115 | QT_END_MOC_NAMESPACE 116 | -------------------------------------------------------------------------------- /phantom/GeneratedFiles/qrc_phantom.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Resource object code 3 | ** 4 | ** Created by: The Resource Compiler for Qt version 5.11.0 5 | ** 6 | ** WARNING! All changes made in this file will be lost! 7 | *****************************************************************************/ 8 | 9 | static const unsigned char qt_resource_data[] = { 10 | // H:/qtDocument/VSQT/phantom/phantom/Resources/stylesheet.qss 11 | 0x0,0x0,0x3,0x26, 12 | 0x0, 13 | 0x0,0xa,0xe4,0x78,0x9c,0x9d,0x56,0xcf,0x6f,0xd3,0x30,0x14,0xbe,0x57,0xea,0xff, 14 | 0xe0,0x89,0xcb,0x3a,0xb5,0xea,0x8f,0xb5,0x6b,0x71,0x4f,0x74,0xe2,0x80,0x4,0xd2, 15 | 0x26,0x21,0x76,0x76,0x12,0xaf,0xb1,0x96,0xda,0x95,0xe3,0xd2,0x4a,0x68,0x12,0x27, 16 | 0x46,0xb5,0x21,0x4,0x12,0xe3,0x2,0xd2,0x8a,0x38,0x70,0x0,0x6e,0x8,0xd0,0xa6, 17 | 0xf1,0xcf,0xb0,0x6e,0x3d,0xf1,0x2f,0xe0,0x24,0x4d,0x16,0xbb,0x49,0x3a,0xc8,0x64, 18 | 0x4b,0xb3,0xfd,0xbe,0xf7,0xbd,0xf7,0x3e,0x3f,0xf7,0xcf,0xe9,0xaf,0x7c,0xae,0xbc, 19 | 0x96,0xfe,0xe5,0x73,0x6b,0x6b,0x20,0xe5,0xfb,0x97,0xdd,0xdf,0x3f,0x4e,0x2f,0xdf, 20 | 0x1c,0xcd,0xde,0x7f,0xf8,0x4f,0xfb,0xe4,0xdd,0xd4,0xaf,0xac,0x44,0x15,0x39,0x9f, 21 | 0x9e,0x7c,0xbf,0x38,0x7b,0xa9,0x1c,0xdb,0x7e,0x80,0x8,0xdd,0x21,0xd4,0x62,0xc3, 22 | 0x5b,0x5b,0x36,0xa2,0x82,0xf5,0x36,0x1d,0xe4,0xba,0xe0,0x49,0x3e,0x67,0x30,0x6e, 23 | 0x61,0xe,0x41,0xb5,0x3f,0x2,0x2e,0x73,0x88,0x5,0x78,0xd7,0x58,0x6d,0x54,0x8a, 24 | 0x20,0x18,0x85,0xb6,0x3c,0x83,0xcc,0xbd,0x2e,0x67,0x3,0x6a,0xc1,0xcc,0xdd,0x92, 25 | 0xc9,0x1c,0xc6,0x93,0xce,0xec,0xe7,0x73,0xde,0x5f,0x8c,0xef,0x6c,0xf2,0xed,0xf2, 26 | 0xcb,0xf9,0x6c,0xf2,0x53,0x65,0xfa,0x10,0x19,0x3b,0xc4,0xea,0x62,0x1,0x61,0x1f, 27 | 0x51,0x1c,0x67,0x48,0x19,0xc5,0xed,0xf0,0xdf,0x92,0x60,0x7d,0x8,0xd6,0x15,0xd2, 28 | 0xd2,0x5b,0x75,0x43,0x4e,0xb5,0xf5,0x64,0xd6,0x4d,0xc9,0xa6,0x55,0x4,0x1b,0x21, 29 | 0x23,0xcf,0x59,0x7,0x71,0x8,0x5,0x32,0x32,0x1d,0x95,0x1c,0xbc,0x2b,0x4a,0x1c, 30 | 0x59,0x64,0xe0,0x42,0x50,0xef,0x8f,0xd4,0x5d,0x4e,0xba,0xb6,0xbe,0x1d,0xcb,0x44, 31 | 0xb5,0xd9,0x90,0xc4,0xe6,0x53,0x12,0xb1,0x5a,0x43,0xee,0x5d,0x4f,0x1,0x7b,0x1b, 32 | 0x7b,0xa8,0x10,0xd4,0x5a,0x3e,0x5e,0x8f,0xd0,0xd2,0x90,0x58,0xc2,0x86,0xa0,0xd5, 33 | 0x8,0x56,0x10,0xef,0xca,0x45,0x1e,0x1c,0xb,0xd6,0xfa,0xc8,0xb2,0x8,0xed,0xfa, 34 | 0x7c,0xf5,0x35,0xe5,0xa0,0x16,0x3d,0xb4,0xd9,0x63,0xcc,0xfd,0x1c,0x64,0x73,0xab, 35 | 0x27,0xe5,0xe,0xba,0xd8,0xc1,0xa6,0xc0,0x96,0x7,0x30,0xf,0x7c,0x68,0x13,0x81, 36 | 0x13,0x62,0xd5,0x6a,0xb4,0xaf,0xa9,0x62,0x7a,0x34,0x9e,0xbd,0xfe,0xaa,0x4a,0x62, 37 | 0x6b,0xe0,0xda,0x9d,0x81,0x10,0x8c,0x46,0x35,0x4a,0xac,0x45,0x54,0xb8,0x79,0x9e, 38 | 0x9a,0x41,0xa8,0x51,0x22,0xaf,0x23,0xbf,0x46,0x84,0x98,0x22,0xc3,0x9,0x98,0xeb, 39 | 0x54,0x37,0x3c,0xad,0xdc,0x2e,0x82,0xe6,0x7a,0xa1,0xbd,0x10,0x97,0x6,0xb3,0x92, 40 | 0x81,0x53,0xad,0x78,0x41,0xcf,0xa7,0x82,0xaa,0x8d,0x9a,0xb7,0x1c,0x4e,0x85,0x54, 41 | 0x7a,0x41,0x7d,0x12,0xb0,0x5b,0xb2,0x26,0xc1,0xc8,0x30,0xee,0x73,0xec,0xba,0xd8, 42 | 0x4a,0x32,0x97,0x8e,0x83,0x11,0xbb,0xa4,0x5a,0x5b,0x39,0x9c,0x1e,0x8e,0x2f,0x9e, 43 | 0xbf,0xbd,0x9a,0x7c,0x52,0xcb,0xb2,0xc9,0x7a,0x6,0xeb,0xb0,0x91,0x17,0xb2,0x96, 44 | 0xe3,0xcc,0x22,0xa9,0x8d,0x66,0x21,0x39,0x3a,0xc5,0x66,0x4d,0x56,0xa0,0x16,0x56, 45 | 0x61,0x3f,0xe6,0x38,0x5e,0xbb,0xac,0xeb,0xa6,0xd8,0xac,0xa4,0x18,0x79,0xe2,0xe, 46 | 0xa7,0x34,0x47,0x41,0x15,0x8a,0x60,0x71,0x63,0x97,0x99,0x3,0x57,0x83,0x94,0xa, 47 | 0xf7,0x65,0x9e,0xda,0x8f,0x54,0x7d,0x29,0xe,0xa1,0xc5,0x65,0x5f,0x91,0xed,0x9a, 48 | 0x7a,0xa0,0x73,0x3d,0xd7,0x2a,0x49,0x62,0x8f,0xa3,0xa,0x8e,0xa8,0xdb,0x47,0x1c, 49 | 0x53,0x91,0x8e,0x98,0x7a,0xd7,0x51,0x72,0x23,0xd2,0x60,0x24,0x42,0x9,0x71,0xce, 50 | 0x86,0x1e,0x2,0xe9,0xa1,0x2e,0x86,0x60,0xc0,0x9d,0x55,0x58,0xee,0x38,0x12,0xaf, 51 | 0xec,0xef,0x75,0x98,0x14,0x60,0x2f,0xcb,0x1a,0x32,0x3f,0x34,0xa9,0x34,0xbf,0x91, 52 | 0x4b,0x51,0xb4,0x7d,0x59,0xc5,0xcf,0x83,0xed,0x3b,0x86,0x2b,0x63,0x32,0xc5,0x3d, 53 | 0x81,0x7b,0x8f,0x8,0x1e,0xa6,0x3f,0x58,0x4b,0x75,0xa4,0x66,0x9b,0xd,0x84,0x43, 54 | 0x28,0x8e,0xb2,0x98,0xed,0x16,0x42,0x79,0xe9,0x7b,0x9,0x42,0xbf,0xa9,0xec,0xd2, 55 | 0x20,0x95,0xce,0xb9,0xac,0x1c,0xf5,0x85,0xe6,0xa1,0x2b,0x6c,0xa1,0x9b,0x1e,0x1f, 56 | 0x4c,0xdf,0x7d,0xbe,0x3c,0x3b,0xbe,0x3a,0x7f,0x35,0x9d,0x3c,0xd3,0x5e,0x5a,0x3c, 57 | 0x12,0x77,0x2d,0x22,0xd2,0x73,0x5a,0xf7,0x9c,0xfa,0xa3,0xb0,0x24,0xd6,0xa5,0x4f, 58 | 0x6d,0x9c,0xd4,0xc9,0x81,0x7c,0xf8,0x55,0x2e,0xf7,0x91,0x81,0x9d,0x1b,0xdc,0x63, 59 | 0x5,0xe8,0xe2,0xe3,0x8b,0xd9,0xd3,0xf1,0x42,0x5c,0x9b,0x36,0x36,0xf7,0x64,0xce, 60 | 0x25,0x9a,0xbc,0xb,0xa6,0x7c,0xfa,0xe2,0x8f,0x5e,0xb8,0x1b,0x5e,0xdd,0x9b,0xf4, 61 | 0xe,0xcd,0x24,0x6a,0xc6,0xcb,0xfa,0x78,0x64,0xb8,0x92,0xec,0x2c,0xb1,0xe7,0x84, 62 | 0x36,0x50,0xfe,0x5c,0x23,0x26,0x12,0x8c,0x2f,0xb6,0x80,0x48,0x85,0x95,0x30,0xae, 63 | 0xbf,0x1a,0x2b,0x20,0x95, 64 | 65 | }; 66 | 67 | static const unsigned char qt_resource_name[] = { 68 | // Phantom 69 | 0x0,0x7, 70 | 0x6,0xe8,0x5b,0xfd, 71 | 0x0,0x50, 72 | 0x0,0x68,0x0,0x61,0x0,0x6e,0x0,0x74,0x0,0x6f,0x0,0x6d, 73 | // Resources 74 | 0x0,0x9, 75 | 0xa,0x6c,0x38,0x43, 76 | 0x0,0x52, 77 | 0x0,0x65,0x0,0x73,0x0,0x6f,0x0,0x75,0x0,0x72,0x0,0x63,0x0,0x65,0x0,0x73, 78 | // stylesheet.qss 79 | 0x0,0xe, 80 | 0x3,0xc2,0xd5,0xc3, 81 | 0x0,0x73, 82 | 0x0,0x74,0x0,0x79,0x0,0x6c,0x0,0x65,0x0,0x73,0x0,0x68,0x0,0x65,0x0,0x65,0x0,0x74,0x0,0x2e,0x0,0x71,0x0,0x73,0x0,0x73, 83 | 84 | }; 85 | 86 | static const unsigned char qt_resource_struct[] = { 87 | // : 88 | 0x0,0x0,0x0,0x0,0x0,0x2,0x0,0x0,0x0,0x1,0x0,0x0,0x0,0x1, 89 | 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 90 | // :/Phantom 91 | 0x0,0x0,0x0,0x0,0x0,0x2,0x0,0x0,0x0,0x1,0x0,0x0,0x0,0x2, 92 | 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 93 | // :/Phantom/Resources 94 | 0x0,0x0,0x0,0x14,0x0,0x2,0x0,0x0,0x0,0x1,0x0,0x0,0x0,0x3, 95 | 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 96 | // :/Phantom/Resources/stylesheet.qss 97 | 0x0,0x0,0x0,0x2c,0x0,0x1,0x0,0x0,0x0,0x1,0x0,0x0,0x0,0x0, 98 | 0x0,0x0,0x1,0x63,0xdf,0x3d,0xa4,0x5e, 99 | 100 | }; 101 | 102 | #ifdef QT_NAMESPACE 103 | # define QT_RCC_PREPEND_NAMESPACE(name) ::QT_NAMESPACE::name 104 | # define QT_RCC_MANGLE_NAMESPACE0(x) x 105 | # define QT_RCC_MANGLE_NAMESPACE1(a, b) a##_##b 106 | # define QT_RCC_MANGLE_NAMESPACE2(a, b) QT_RCC_MANGLE_NAMESPACE1(a,b) 107 | # define QT_RCC_MANGLE_NAMESPACE(name) QT_RCC_MANGLE_NAMESPACE2( \ 108 | QT_RCC_MANGLE_NAMESPACE0(name), QT_RCC_MANGLE_NAMESPACE0(QT_NAMESPACE)) 109 | #else 110 | # define QT_RCC_PREPEND_NAMESPACE(name) name 111 | # define QT_RCC_MANGLE_NAMESPACE(name) name 112 | #endif 113 | 114 | #ifdef QT_NAMESPACE 115 | namespace QT_NAMESPACE { 116 | #endif 117 | 118 | bool qRegisterResourceData(int, const unsigned char *, const unsigned char *, const unsigned char *); 119 | 120 | bool qUnregisterResourceData(int, const unsigned char *, const unsigned char *, const unsigned char *); 121 | 122 | #ifdef QT_NAMESPACE 123 | } 124 | #endif 125 | 126 | int QT_RCC_MANGLE_NAMESPACE(qInitResources_phantom)(); 127 | int QT_RCC_MANGLE_NAMESPACE(qInitResources_phantom)() 128 | { 129 | QT_RCC_PREPEND_NAMESPACE(qRegisterResourceData) 130 | (0x2, qt_resource_struct, qt_resource_name, qt_resource_data); 131 | return 1; 132 | } 133 | 134 | int QT_RCC_MANGLE_NAMESPACE(qCleanupResources_phantom)(); 135 | int QT_RCC_MANGLE_NAMESPACE(qCleanupResources_phantom)() 136 | { 137 | QT_RCC_PREPEND_NAMESPACE(qUnregisterResourceData) 138 | (0x2, qt_resource_struct, qt_resource_name, qt_resource_data); 139 | return 1; 140 | } 141 | 142 | namespace { 143 | struct initializer { 144 | initializer() { QT_RCC_MANGLE_NAMESPACE(qInitResources_phantom)(); } 145 | ~initializer() { QT_RCC_MANGLE_NAMESPACE(qCleanupResources_phantom)(); } 146 | } dummy; 147 | } 148 | -------------------------------------------------------------------------------- /phantom/Resources/stylesheet.qss: -------------------------------------------------------------------------------- 1 |  2 | /*************************** 3 | ** ** 4 | ** ** 5 | ** 主界面 ** 6 | ** ** 7 | ** ** 8 | ***************************/ 9 | /**********主界面样式**********/ 10 | QMainWindow#PhantomClass { 11 | border: 1px solid rgb(50, 50, 50); 12 | background: rgb(50, 50, 50); 13 | background-color: rgb(50, 50, 50); 14 | } 15 | 16 | 17 | /**********页签项**********/ 18 | QTabWidget::pane { 19 | border: none; 20 | border-top: 3px solid rgb(0, 160, 230); 21 | background: rgb(57, 58, 60); 22 | } 23 | QTabBar::tab { 24 | border: none; 25 | border-top-left-radius: 4px; 26 | border-top-right-radius: 4px; 27 | color: rgb(175, 175, 175); 28 | background: rgb(255, 255, 255, 30); 29 | height: 28px; 30 | min-width: 85px; 31 | margin-right: 5px; 32 | padding-left: 5px; 33 | padding-right: 5px; 34 | } 35 | QTabBar::tab:hover { 36 | background: rgb(255, 255, 255, 40); 37 | } 38 | QTabBar::tab:selected { 39 | color: white; 40 | background: rgb(0, 160, 230); 41 | } 42 | 43 | /**********按钮**********/ 44 | QPushButton{ 45 | border-radius: 4px; 46 | border: none; 47 | width: 75px; 48 | height: 25px; 49 | } 50 | QPushButton:enabled { 51 | background: rgb(68, 69, 73); 52 | color: white; 53 | } 54 | QPushButton:!enabled { 55 | background: rgb(100, 100, 100); 56 | color: rgb(200, 200, 200); 57 | } 58 | QPushButton:enabled:hover{ 59 | background: rgb(85, 85, 85); 60 | } 61 | QPushButton:enabled:pressed{ 62 | background: rgb(80, 80, 80); 63 | } 64 | 65 | 66 | 67 | /**********下拉列表**********/ 68 | QComboBox { 69 | height: 25px; 70 | border-radius: 4px; 71 | border: 1px solid rgb(100, 100, 100); 72 | background: rgb(72, 72, 73); 73 | } 74 | QComboBox:enabled { 75 | color: rgb(175, 175, 175); 76 | } 77 | QComboBox:!enabled { 78 | color: rgb(155, 155, 155); 79 | } 80 | QComboBox:enabled:hover, QComboBox:enabled:focus { 81 | color: rgb(230, 230, 230); 82 | background: rgb(68, 69, 73); 83 | } 84 | QComboBox::drop-down { 85 | width: 20px; 86 | border: none; 87 | background: transparent; 88 | } 89 | QComboBox::drop-down:hover { 90 | background: rgba(255, 255, 255, 30); 91 | } 92 | QComboBox::down-arrow { 93 | image: url(:/Black/arrowBottom); 94 | } 95 | QComboBox::down-arrow:on { 96 | /**top: 1px;**/ 97 | } 98 | QComboBox QAbstractItemView { 99 | border: 1px solid rgb(100, 100, 100); 100 | background: rgb(68, 69, 73); 101 | outline: none; 102 | } 103 | QComboBox QAbstractItemView::item { 104 | height: 25px; 105 | color: rgb(175, 175, 175); 106 | } 107 | QComboBox QAbstractItemView::item:selected { 108 | background: rgba(255, 255, 255, 40); 109 | color: rgb(230, 230, 230); 110 | } 111 | 112 | /**********文本编辑框**********/ 113 | QTextEdit { 114 | border: 1px solid rgb(45, 45, 45); 115 | color: rgb(175, 175, 175); 116 | background: rgb(57, 58, 60); 117 | } 118 | /**********标签**********/ 119 | QLabel { 120 | color: rgb(175, 175, 175); 121 | } 122 | 123 | /**********复选框**********/ 124 | QCheckBox{ 125 | spacing: 5px; 126 | } 127 | QCheckBox:enabled{ 128 | color: rgb(175, 175, 175); 129 | } 130 | QCheckBox:enabled:hover{ 131 | color: rgb(200, 200, 200); 132 | } 133 | QCheckBox:!enabled{ 134 | color: rgb(155, 155, 155); 135 | } 136 | QCheckBox::indicator { 137 | width: 20px; 138 | height: 20px; 139 | } 140 | -------------------------------------------------------------------------------- /phantom/SerialPort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyghost/phantom/55f31512a9381e2e4b8a7a7274225acd24674240/phantom/SerialPort.cpp -------------------------------------------------------------------------------- /phantom/SerialPort.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyghost/phantom/55f31512a9381e2e4b8a7a7274225acd24674240/phantom/SerialPort.h -------------------------------------------------------------------------------- /phantom/TcpClient.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyghost/phantom/55f31512a9381e2e4b8a7a7274225acd24674240/phantom/TcpClient.cpp -------------------------------------------------------------------------------- /phantom/TcpClient.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyghost/phantom/55f31512a9381e2e4b8a7a7274225acd24674240/phantom/TcpClient.h -------------------------------------------------------------------------------- /phantom/TcpClientVideo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyghost/phantom/55f31512a9381e2e4b8a7a7274225acd24674240/phantom/TcpClientVideo.cpp -------------------------------------------------------------------------------- /phantom/TcpClientVideo.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyghost/phantom/55f31512a9381e2e4b8a7a7274225acd24674240/phantom/TcpClientVideo.h -------------------------------------------------------------------------------- /phantom/Wave.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyghost/phantom/55f31512a9381e2e4b8a7a7274225acd24674240/phantom/Wave.cpp -------------------------------------------------------------------------------- /phantom/Wave.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyghost/phantom/55f31512a9381e2e4b8a7a7274225acd24674240/phantom/Wave.h -------------------------------------------------------------------------------- /phantom/bridge.cpp: -------------------------------------------------------------------------------- 1 | #include "bridge.h" 2 | #include "ui_phantom.h" 3 | 4 | #include 5 | 6 | bridge* bridge::instance() 7 | { 8 | static bridge s_obj; 9 | return &s_obj; 10 | } 11 | 12 | bridge::bridge() 13 | { 14 | } 15 | 16 | void bridge::htmlToCpp(QString mesg) 17 | { 18 | //QMessageBox::aboutQt(0, tr("Qt")); 19 | emit htmlToCppEmit(mesg); 20 | } 21 | 22 | void bridge::cppToHtml(QString mesg) 23 | { 24 | emit cppToHtmlEmit(mesg); 25 | 26 | } 27 | 28 | void bridge::htmlToCppLocation(QString lon,QString lat) 29 | { 30 | emit htmlToCppLocationEmit(lon, lat); 31 | } 32 | void bridge::mouseMove(QString lon, QString lat) 33 | { 34 | emit mouseMoveEmit(lon,lat); 35 | } 36 | -------------------------------------------------------------------------------- /phantom/bridge.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | class bridge : QObject 6 | { 7 | Q_OBJECT 8 | public: 9 | static bridge* instance(); 10 | void cppToHtml(QString mesg); 11 | 12 | public slots: 13 | 14 | void htmlToCpp(QString mesg); 15 | void htmlToCppLocation(QString lon, QString lat); 16 | void mouseMove(QString lon, QString lat); 17 | 18 | 19 | signals: 20 | void cppToHtmlEmit(QString mesg); 21 | void htmlToCppEmit(QString mesg); 22 | void htmlToCppLocationEmit(QString lon, QString lat); 23 | void mouseMoveEmit(QString lon, QString lat); 24 | 25 | private: 26 | bridge(); 27 | }; 28 | 29 | -------------------------------------------------------------------------------- /phantom/chart/chartdir60.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyghost/phantom/55f31512a9381e2e4b8a7a7274225acd24674240/phantom/chart/chartdir60.dll -------------------------------------------------------------------------------- /phantom/chart/chartdir60.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyghost/phantom/55f31512a9381e2e4b8a7a7274225acd24674240/phantom/chart/chartdir60.lib -------------------------------------------------------------------------------- /phantom/chart/memblock.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2013 Advanced Software Engineering Limited. 3 | * 4 | * This file is part of the ChartDirector software. Usage of this file is 5 | * subjected to the ChartDirector license agreement. See the LICENSE.TXT 6 | * file that comes with the ChartDirector software release, or visit 7 | * Advanced Software Engineering's web site at www.advsofteng.com or 8 | * email to support@advsofteng.com for information. 9 | * 10 | */ 11 | 12 | #ifndef MEMBLOCK_HDR 13 | #define MEMBLOCK_HDR 14 | 15 | class MemBlock 16 | { 17 | public : 18 | int len; 19 | const char *data; 20 | MemBlock() : len(0), data(0) {} 21 | MemBlock(const char *_data, int _len) : len(_len), data(_data) {} 22 | char operator[](int i) const { return data[i]; } 23 | }; 24 | 25 | class StringArray 26 | { 27 | public : 28 | int len; 29 | const char * const *data; 30 | StringArray() : len(0), data(0) {} 31 | StringArray(const char * const *_data, int _len) : len(_len), data(_data) {} 32 | const char *operator[](int i) const { return data[i]; } 33 | }; 34 | 35 | class DoubleArray 36 | { 37 | public : 38 | int len; 39 | const double *data; 40 | DoubleArray() : len(0), data(0) {} 41 | DoubleArray(const double *_data, int _len) : len(_len), data(_data) {} 42 | double operator[](int i) const { return data[i]; } 43 | }; 44 | 45 | class IntArray 46 | { 47 | public : 48 | int len; 49 | const int *data; 50 | IntArray() : len(0), data(0) {} 51 | IntArray(const int *_data, int _len) : len(_len), data(_data) {} 52 | int operator[](int i) const { return data[i]; } 53 | }; 54 | 55 | #endif 56 | -------------------------------------------------------------------------------- /phantom/chart/pointer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyghost/phantom/55f31512a9381e2e4b8a7a7274225acd24674240/phantom/chart/pointer.png -------------------------------------------------------------------------------- /phantom/chart/qchartviewer.h: -------------------------------------------------------------------------------- 1 | #ifndef QCHARTVIEWER_H 2 | #define QCHARTVIEWER_H 3 | 4 | #include 5 | #include "chartdir.h" 6 | 7 | #ifdef CD_NAMESPACE 8 | namespace CD_NAMESPACE 9 | { 10 | #endif 11 | 12 | namespace Chart 13 | { 14 | // 15 | // Mouse usage mode constants 16 | // 17 | enum 18 | { 19 | MouseUsageDefault = 0, 20 | MouseUsageScroll = 1, 21 | MouseUsageZoomIn = 3, 22 | MouseUsageZoomOut = 4 23 | }; 24 | } 25 | 26 | #ifdef CD_NAMESPACE 27 | } 28 | #endif 29 | 30 | // 31 | // Forward declarations 32 | // 33 | class QMouseEvent; 34 | 35 | class QChartViewer : public QLabel, public ViewPortManager 36 | { 37 | Q_OBJECT 38 | public: 39 | explicit QChartViewer(QWidget *parent = 0); 40 | ~QChartViewer(); 41 | 42 | // 43 | // QChartViewer properties 44 | // 45 | 46 | virtual void setChart(BaseChart *c); 47 | virtual BaseChart *getChart(); 48 | 49 | virtual void setImageMap(const char *imageMap); 50 | virtual ImageMapHandler *getImageMapHandler(); 51 | 52 | virtual void setDefaultToolTip(QString text); 53 | 54 | virtual void setSelectionBorderWidth(int width); 55 | virtual int getSelectionBorderWidth(); 56 | 57 | virtual void setSelectionBorderColor(QColor c); 58 | virtual QColor getSelectionBorderColor(); 59 | 60 | virtual void setMouseUsage(int mouseUsage); 61 | virtual int getMouseUsage(); 62 | 63 | virtual void setZoomDirection(int direction); 64 | virtual int getZoomDirection(); 65 | 66 | virtual void setScrollDirection(int direction); 67 | virtual int getScrollDirection(); 68 | 69 | virtual void setZoomInRatio(double ratio); 70 | virtual double getZoomInRatio(); 71 | 72 | virtual void setZoomOutRatio(double ratio); 73 | virtual double getZoomOutRatio(); 74 | 75 | virtual void setMouseWheelZoomRatio(double ratio); 76 | virtual double getMouseWheelZoomRatio(); 77 | 78 | virtual void setMinimumDrag(int offset); 79 | virtual int getMinimumDrag(); 80 | 81 | virtual void setUpdateInterval(int interval); 82 | virtual int getUpdateInterval(); 83 | 84 | virtual bool needUpdateChart(); 85 | virtual bool needUpdateImageMap(); 86 | 87 | virtual bool isMouseOnPlotArea(); 88 | virtual bool isInMouseMoveEvent(); 89 | virtual bool isInViewPortChangedEvent(); 90 | virtual bool isMouseDragging(); 91 | 92 | // 93 | // QChartViewer methods 94 | // 95 | 96 | // Trigger the ViewPortChanged event 97 | virtual void updateViewPort(bool needUpdateChart, bool needUpdateImageMap); 98 | 99 | // Request CChartViewer to redisplay the chart 100 | virtual void updateDisplay(); 101 | 102 | // Handles mouse wheel zooming 103 | virtual bool onMouseWheelZoom(int x, int y, int zDelta); 104 | 105 | // Set the message used to remove the dynamic layer 106 | virtual void removeDynamicLayer(const char *msg); 107 | 108 | // Get the mouse coordinates 109 | virtual int getChartMouseX(); 110 | virtual int getChartMouseY(); 111 | 112 | // Get the mouse coordinates bounded to the plot area 113 | virtual int getPlotAreaMouseX(); 114 | virtual int getPlotAreaMouseY(); 115 | 116 | protected: 117 | // 118 | // QChartViewer event handlers 119 | // 120 | 121 | virtual void mouseMoveEvent(QMouseEvent *event); 122 | virtual void onDelayedMouseMove(); 123 | virtual void mousePressEvent(QMouseEvent *event); 124 | virtual void mouseReleaseEvent(QMouseEvent *event); 125 | virtual void leaveEvent(QEvent *event); 126 | virtual void wheelEvent(QWheelEvent *event); 127 | virtual void timerEvent (QTimerEvent *event); 128 | virtual void onSetCursor(); 129 | 130 | private: 131 | // 132 | // QChartViewer configurable properties 133 | // 134 | 135 | BaseChart *m_currentChart; // Current BaseChart object 136 | ImageMapHandler *m_hotSpotTester; // ImageMapHander representing the image map 137 | QString m_defaultToolTip; // Default tool tip text 138 | QColor m_selectBoxLineColor; // Selectiom box border color 139 | int m_selectBoxLineWidth; // Selectiom box border width 140 | int m_mouseUsage; // Mouse usage mode 141 | int m_zoomDirection; // Zoom direction 142 | int m_scrollDirection; // Scroll direction 143 | double m_zoomInRatio; // Click zoom in ratio 144 | double m_zoomOutRatio; // Click zoom out ratio 145 | double m_mouseWheelZoomRatio; // Mouse wheel zoom ratio 146 | int m_minDragAmount; // Minimum drag amount 147 | int m_updateInterval; // Minimum interval between chart updates 148 | bool m_needUpdateChart; // Has pending chart update request 149 | bool m_needUpdateImageMap; // Has pending image map udpate request 150 | 151 | // 152 | // Keep track of mouse states 153 | // 154 | 155 | int m_currentHotSpot; // The hot spot under the mouse cursor. 156 | bool m_isClickable; // Mouse is over a clickable hot spot. 157 | bool m_isOnPlotArea; // Mouse is over the plot area. 158 | bool m_isPlotAreaMouseDown; // Mouse left button is down in the plot area. 159 | bool m_isDragScrolling; // Is current dragging scrolling the chart. 160 | bool m_isMouseTracking; // Is tracking mouse leave event 161 | bool m_isInMouseMove; // Is in mouse moeve event handler 162 | 163 | // 164 | // Dragging support 165 | // 166 | 167 | int m_plotAreaMouseDownXPos; // The starting x coordinate of the mouse drag. 168 | int m_plotAreaMouseDownYPos; // The starting y coordinate of the mouse drag. 169 | bool isDrag(int direction, QMouseEvent *event); // Check if mouse is dragging 170 | void onPlotAreaMouseDrag(QMouseEvent *point); // Process mouse dragging 171 | 172 | // 173 | // Selection rectangle 174 | // 175 | 176 | QLabel *m_LeftLine; // Left edge of selection rectangle 177 | QLabel *m_RightLine; // Right edge of selection rectangle 178 | QLabel *m_TopLine; // Top edge of selection rectangle 179 | QLabel *m_BottomLine; // Bottom edge of selection rectangle 180 | 181 | void initRect(); // Initialize selection rectangle edges 182 | void drawRect(int x, int y, int width, int height); // Draw selection rectangle 183 | void setRectVisible(bool b); // Show/hide selection rectangle 184 | 185 | // 186 | // Chart update rate control 187 | // 188 | 189 | bool m_holdTimerActive; // Delay chart update to limit update frequency 190 | int m_holdTimerId; // The id of the hold timer. 191 | bool m_isInViewPortChanged; // Flag to avoid infinite update loops 192 | 193 | int m_delayUpdateChart; // Delay chart update until the mouse event is completed 194 | BaseChart *m_delayedChart; 195 | void commitUpdateChart(); // Commit updating the chart. 196 | 197 | unsigned int m_lastMouseMove; // The timestamp of the last mouse move event. 198 | QMouseEvent *m_delayedMouseEvent; // The delayed mouse move event. 199 | int m_delayedMouseEventTimerId; // The id of the delayed mouse move timer. 200 | void commitMouseMove(QMouseEvent *event); // Raise the delayed mouse move event. 201 | 202 | bool m_delayImageMapUpdate; // Delay image map update until mouse moves on plot area 203 | 204 | // 205 | // Track Cursor support 206 | // 207 | int m_currentMouseX; // Get the mouse x-pixel coordinate 208 | int m_currentMouseY; // Get the mouse y-pixel coordinate 209 | int m_isInMouseMovePlotArea; // flag to indicate if is in a mouse move plot area event. 210 | 211 | // 212 | // Dynamic Layer support 213 | // 214 | QString m_autoHideMsg; // The message that will trigger removing the dynamic layer. 215 | void applyAutoHide(const char *msg); // Attempt to remove the dynamic layer with the given message. 216 | 217 | signals: 218 | void viewPortChanged(); // View port has changed 219 | void clicked(QMouseEvent *event); // Mouse button clicked 220 | void mouseMove(QMouseEvent *event); // Mouse moves over the widget 221 | void mouseWheel(QWheelEvent *event); // Mouse wheel scrolled 222 | void mouseMoveChart(QMouseEvent *event); // Mouse moves over the chart 223 | void mouseLeaveChart(QEvent *event); // Mouse leaves the chart 224 | void mouseMovePlotArea(QMouseEvent *event); // Mouse moves over the extended plot area 225 | void mouseLeavePlotArea(QEvent *event); // Mouse leaves the extended plot area 226 | 227 | public slots: 228 | 229 | }; 230 | 231 | 232 | class QViewPortControl : public QLabel, public ViewPortControlBase 233 | { 234 | Q_OBJECT 235 | public: 236 | explicit QViewPortControl(QWidget *parent = 0); 237 | ~QViewPortControl(); 238 | 239 | // Set the chart to be displayed in the control 240 | virtual void setChart(BaseChart *c); 241 | virtual BaseChart *getChart(); 242 | 243 | // Associated QChartViewer 244 | virtual void setViewer(QChartViewer *viewer); 245 | virtual QChartViewer *getViewer(); 246 | 247 | // Request the CViewPortControl to update its contents 248 | virtual void updateDisplay(); 249 | 250 | protected: 251 | // 252 | // QChartViewer event handlers 253 | // 254 | 255 | virtual void mouseMoveEvent(QMouseEvent *event); 256 | virtual void mousePressEvent(QMouseEvent *event); 257 | virtual void mouseReleaseEvent(QMouseEvent *event); 258 | virtual void wheelEvent(QWheelEvent *event); 259 | 260 | private slots: 261 | virtual void onViewPortChanged(); 262 | 263 | private: 264 | QChartViewer *m_ChartViewer; // Associated QChartViewer 265 | BaseChart *m_Chart; // BaseChart object displayed in the control 266 | 267 | int m_mouseDownX; // Current mouse x coordinates 268 | int m_mouseDownY; // Current mouse y coordinates 269 | bool isDrag(QMouseEvent *event); // Check if mouse is dragging 270 | 271 | void paintDisplay(); // Paint the display 272 | void syncState(); // Synchronize the CViewPortControl with CChartViewer 273 | void updateCursor(int position); // Update the mouse cursor 274 | void updateChartViewerIfNecessary(); // Update CChartViewer if viewport has changed 275 | 276 | double toImageX(int x); // Convert from mouse to image x-coordinate 277 | double toImageY(int y); // Convert from mouse to image y-coordinate 278 | }; 279 | 280 | 281 | #endif // QCHARTVIEWER_H 282 | -------------------------------------------------------------------------------- /phantom/chart/save.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyghost/phantom/55f31512a9381e2e4b8a7a7274225acd24674240/phantom/chart/save.png -------------------------------------------------------------------------------- /phantom/chart/zoomin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyghost/phantom/55f31512a9381e2e4b8a7a7274225acd24674240/phantom/chart/zoomin.png -------------------------------------------------------------------------------- /phantom/chart/zoomout.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyghost/phantom/55f31512a9381e2e4b8a7a7274225acd24674240/phantom/chart/zoomout.png -------------------------------------------------------------------------------- /phantom/chartdir60.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyghost/phantom/55f31512a9381e2e4b8a7a7274225acd24674240/phantom/chartdir60.dll -------------------------------------------------------------------------------- /phantom/chartdir60.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyghost/phantom/55f31512a9381e2e4b8a7a7274225acd24674240/phantom/chartdir60.lib -------------------------------------------------------------------------------- /phantom/core.h: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** 3 | ** Copyright (C) 2017 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com, author Milian Wolff 4 | ** Contact: https://www.qt.io/licensing/ 5 | ** 6 | ** This file is part of the QtWebChannel module of the Qt Toolkit. 7 | ** 8 | ** $QT_BEGIN_LICENSE:BSD$ 9 | ** Commercial License Usage 10 | ** Licensees holding valid commercial Qt licenses may use this file in 11 | ** accordance with the commercial license agreement provided with the 12 | ** Software or, alternatively, in accordance with the terms contained in 13 | ** a written agreement between you and The Qt Company. For licensing terms 14 | ** and conditions see https://www.qt.io/terms-conditions. For further 15 | ** information use the contact form at https://www.qt.io/contact-us. 16 | ** 17 | ** BSD License Usage 18 | ** Alternatively, you may use this file under the terms of the BSD license 19 | ** as follows: 20 | ** 21 | ** "Redistribution and use in source and binary forms, with or without 22 | ** modification, are permitted provided that the following conditions are 23 | ** met: 24 | ** * Redistributions of source code must retain the above copyright 25 | ** notice, this list of conditions and the following disclaimer. 26 | ** * Redistributions in binary form must reproduce the above copyright 27 | ** notice, this list of conditions and the following disclaimer in 28 | ** the documentation and/or other materials provided with the 29 | ** distribution. 30 | ** * Neither the name of The Qt Company Ltd nor the names of its 31 | ** contributors may be used to endorse or promote products derived 32 | ** from this software without specific prior written permission. 33 | ** 34 | ** 35 | ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 36 | ** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 37 | ** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 38 | ** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 39 | ** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 40 | ** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 41 | ** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 42 | ** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 43 | ** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 44 | ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 45 | ** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." 46 | ** 47 | ** $QT_END_LICENSE$ 48 | ** 49 | ****************************************************************************/ 50 | 51 | #ifndef CORE_H 52 | #define CORE_H 53 | 54 | #include "BaiduMap.h" 55 | #include 56 | 57 | 58 | /* 59 | An instance of this class gets published over the WebChannel and is then accessible to HTML clients. 60 | */ 61 | class Core : public QObject 62 | { 63 | Q_OBJECT 64 | 65 | public: 66 | Core(BaiduMap *dialog, QObject *parent = nullptr) 67 | : QObject(parent), m_dialog(dialog) 68 | { 69 | //connect(dialog, &BaiduMap::sendText, this, &Core::sendText); 70 | } 71 | 72 | signals: 73 | /* 74 | This signal is emitted from the C++ side and the text displayed on the HTML client side. 75 | */ 76 | //void sendText(const QString &text); 77 | 78 | public slots: 79 | 80 | /* 81 | This slot is invoked from the HTML client side and the text displayed on the server side. 82 | */ 83 | void receiveText(const QString &text) 84 | { 85 | m_dialog->displayMessage(BaiduMap::tr("Received message: %1").arg(text)); 86 | } 87 | 88 | private: 89 | BaiduMap *m_dialog; 90 | }; 91 | 92 | #endif // CORE_H 93 | -------------------------------------------------------------------------------- /phantom/main.cpp: -------------------------------------------------------------------------------- 1 | #include "phantom.h" 2 | #include 3 | 4 | int main(int argc, char *argv[]) 5 | { 6 | QTextCodec::setCodecForLocale(QTextCodec::codecForName("GBK")); 7 | 8 | QApplication a(argc, argv); 9 | Phantom w; 10 | w.show(); 11 | return a.exec(); 12 | } 13 | -------------------------------------------------------------------------------- /phantom/memblock.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2013 Advanced Software Engineering Limited. 3 | * 4 | * This file is part of the ChartDirector software. Usage of this file is 5 | * subjected to the ChartDirector license agreement. See the LICENSE.TXT 6 | * file that comes with the ChartDirector software release, or visit 7 | * Advanced Software Engineering's web site at www.advsofteng.com or 8 | * email to support@advsofteng.com for information. 9 | * 10 | */ 11 | 12 | #ifndef MEMBLOCK_HDR 13 | #define MEMBLOCK_HDR 14 | 15 | class MemBlock 16 | { 17 | public : 18 | int len; 19 | const char *data; 20 | MemBlock() : len(0), data(0) {} 21 | MemBlock(const char *_data, int _len) : len(_len), data(_data) {} 22 | char operator[](int i) const { return data[i]; } 23 | }; 24 | 25 | class StringArray 26 | { 27 | public : 28 | int len; 29 | const char * const *data; 30 | StringArray() : len(0), data(0) {} 31 | StringArray(const char * const *_data, int _len) : len(_len), data(_data) {} 32 | const char *operator[](int i) const { return data[i]; } 33 | }; 34 | 35 | class DoubleArray 36 | { 37 | public : 38 | int len; 39 | const double *data; 40 | DoubleArray() : len(0), data(0) {} 41 | DoubleArray(const double *_data, int _len) : len(_len), data(_data) {} 42 | double operator[](int i) const { return data[i]; } 43 | }; 44 | 45 | class IntArray 46 | { 47 | public : 48 | int len; 49 | const int *data; 50 | IntArray() : len(0), data(0) {} 51 | IntArray(const int *_data, int _len) : len(_len), data(_data) {} 52 | int operator[](int i) const { return data[i]; } 53 | }; 54 | 55 | #endif 56 | -------------------------------------------------------------------------------- /phantom/phantom.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyghost/phantom/55f31512a9381e2e4b8a7a7274225acd24674240/phantom/phantom.cpp -------------------------------------------------------------------------------- /phantom/phantom.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include "ui_phantom.h" 5 | #include "SerialPort.h" 6 | #include "TcpClient.h" 7 | #include "Wave.h" 8 | #include "BaiduMap.h" 9 | #include "TcpClientVideo.h" 10 | 11 | 12 | class Phantom : public QMainWindow 13 | { 14 | Q_OBJECT 15 | 16 | public: 17 | Phantom(QWidget *parent = Q_NULLPTR); 18 | SerialPort *phantomport; 19 | TcpClient *tcpclient; 20 | Wave *wave; 21 | BaiduMap *baidumap; 22 | TcpClientVideo *videotcpclient; 23 | 24 | 25 | private: 26 | Ui::PhantomClass ui; 27 | 28 | 29 | private slots: 30 | 31 | }; 32 | -------------------------------------------------------------------------------- /phantom/phantom.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | Resources/stylesheet.qss 4 | 5 | 6 | -------------------------------------------------------------------------------- /phantom/phantom.vcxproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | x64 7 | 8 | 9 | Release 10 | x64 11 | 12 | 13 | 14 | {B12702AD-ABFB-343A-A199-8E24837244A3} 15 | Qt4VSv1.0 16 | 10.0.17134.0 17 | 18 | 19 | 20 | Application 21 | v141 22 | 23 | 24 | Application 25 | v141 26 | 27 | 28 | 29 | $(MSBuildProjectDirectory)\QtMsBuild 30 | 31 | 32 | $(SolutionDir)$(Platform)\$(Configuration)\ 33 | 34 | 35 | $(SolutionDir)$(Platform)\$(Configuration)\ 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | true 55 | UNICODE;_UNICODE;WIN32;WIN64;QT_DLL;QT_CORE_LIB;QT_GUI_LIB;QT_WIDGETS_LIB;QT_SERIALPORT_LIB;QT_SERIALBUS_LIB;QT_NETWORK_LIB;QT_WEBENGINE_LIB;QT_WEBENGINECORE_LIB;QT_WEBCHANNEL_LIB;QT_WEBSOCKETS_LIB;QT_WEBENGINEWIDGETS_LIB;%(PreprocessorDefinitions) 56 | H:\qtDocument\VSQT\phantom\phantom\chart;.\GeneratedFiles;.;$(QTDIR)\include;.\GeneratedFiles\$(ConfigurationName);$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;$(QTDIR)\include\QtANGLE;$(QTDIR)\include\QtWidgets;$(QTDIR)\include\QtSerialPort;$(QTDIR)\include\QtSerialBus;$(QTDIR)\include\QtNetwork;$(QTDIR)\include\QtWebEngine;$(QTDIR)\include\QtWebEngineCore;$(QTDIR)\include\QtWebChannel;$(QTDIR)\include\QtWebSockets;$(QTDIR)\include\QtWebEngineWidgets;%(AdditionalIncludeDirectories) 57 | Disabled 58 | ProgramDatabase 59 | MultiThreadedDebugDLL 60 | true 61 | 62 | 63 | Console 64 | $(OutDir)\$(ProjectName).exe 65 | $(QTDIR)\lib;%(AdditionalLibraryDirectories) 66 | true 67 | qtmaind.lib;Qt5Cored.lib;Qt5Guid.lib;Qt5Widgetsd.lib;Qt5SerialPortd.lib;Qt5SerialBusd.lib;Qt5Networkd.lib;Qt5WebEngined.lib;Qt5WebEngineCored.lib;Qt5WebChanneld.lib;Qt5WebSocketsd.lib;Qt5WebEngineWidgetsd.lib;%(AdditionalDependencies) 68 | 69 | 70 | .\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp 71 | Moc'ing %(Identity)... 72 | H:\qtDocument\VSQT\phantom\phantom\chart;.\GeneratedFiles;.;$(QTDIR)\include;.\GeneratedFiles\$(ConfigurationName);$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;$(QTDIR)\include\QtANGLE;$(QTDIR)\include\QtWidgets;$(QTDIR)\include\QtSerialPort;$(QTDIR)\include\QtSerialBus;$(QTDIR)\include\QtNetwork;$(QTDIR)\include\QtWebEngine;$(QTDIR)\include\QtWebEngineCore;$(QTDIR)\include\QtWebChannel;$(QTDIR)\include\QtWebSockets;$(QTDIR)\include\QtWebEngineWidgets;%(AdditionalIncludeDirectories) 73 | UNICODE;_UNICODE;WIN32;WIN64;QT_DLL;QT_CORE_LIB;QT_GUI_LIB;QT_WIDGETS_LIB;QT_SERIALPORT_LIB;QT_SERIALBUS_LIB;QT_NETWORK_LIB;QT_WEBENGINE_LIB;QT_WEBENGINECORE_LIB;QT_WEBCHANNEL_LIB;QT_WEBSOCKETS_LIB;QT_WEBENGINEWIDGETS_LIB;%(PreprocessorDefinitions) 74 | 75 | 76 | Uic'ing %(Identity)... 77 | .\GeneratedFiles\ui_%(Filename).h 78 | 79 | 80 | Rcc'ing %(Identity)... 81 | .\GeneratedFiles\qrc_%(Filename).cpp 82 | 83 | 84 | 85 | 86 | true 87 | UNICODE;_UNICODE;WIN32;WIN64;QT_DLL;QT_NO_DEBUG;NDEBUG;QT_CORE_LIB;QT_GUI_LIB;QT_WIDGETS_LIB;QT_SERIALPORT_LIB;QT_SERIALBUS_LIB;QT_NETWORK_LIB;QT_WEBENGINE_LIB;QT_WEBENGINECORE_LIB;QT_WEBCHANNEL_LIB;QT_WEBSOCKETS_LIB;QT_WEBENGINEWIDGETS_LIB;%(PreprocessorDefinitions) 88 | .\GeneratedFiles;.;$(QTDIR)\include;.\GeneratedFiles\$(ConfigurationName);$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;$(QTDIR)\include\QtANGLE;$(QTDIR)\include\QtWidgets;$(QTDIR)\include\QtSerialPort;$(QTDIR)\include\QtSerialBus;$(QTDIR)\include\QtNetwork;$(QTDIR)\include\QtWebEngine;$(QTDIR)\include\QtWebEngineCore;$(QTDIR)\include\QtWebChannel;$(QTDIR)\include\QtWebSockets;$(QTDIR)\include\QtWebEngineWidgets;%(AdditionalIncludeDirectories) 89 | 90 | MultiThreadedDLL 91 | true 92 | 93 | 94 | Windows 95 | $(OutDir)\$(ProjectName).exe 96 | $(QTDIR)\lib;%(AdditionalLibraryDirectories) 97 | false 98 | qtmain.lib;Qt5Core.lib;Qt5Gui.lib;Qt5Widgets.lib;Qt5SerialPort.lib;Qt5SerialBus.lib;Qt5Network.lib;Qt5WebEngine.lib;Qt5WebEngineCore.lib;Qt5WebChannel.lib;Qt5WebSockets.lib;Qt5WebEngineWidgets.lib;%(AdditionalDependencies) 99 | 100 | 101 | .\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp 102 | Moc'ing %(Identity)... 103 | .\GeneratedFiles;.;$(QTDIR)\include;.\GeneratedFiles\$(ConfigurationName);$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;$(QTDIR)\include\QtANGLE;$(QTDIR)\include\QtWidgets;$(QTDIR)\include\QtSerialPort;$(QTDIR)\include\QtSerialBus;$(QTDIR)\include\QtNetwork;$(QTDIR)\include\QtWebEngine;$(QTDIR)\include\QtWebEngineCore;$(QTDIR)\include\QtWebChannel;$(QTDIR)\include\QtWebSockets;$(QTDIR)\include\QtWebEngineWidgets;%(AdditionalIncludeDirectories) 104 | UNICODE;_UNICODE;WIN32;WIN64;QT_DLL;QT_NO_DEBUG;NDEBUG;QT_CORE_LIB;QT_GUI_LIB;QT_WIDGETS_LIB;QT_SERIALPORT_LIB;QT_SERIALBUS_LIB;QT_NETWORK_LIB;QT_WEBENGINE_LIB;QT_WEBENGINECORE_LIB;QT_WEBCHANNEL_LIB;QT_WEBSOCKETS_LIB;QT_WEBENGINEWIDGETS_LIB;%(PreprocessorDefinitions) 105 | 106 | 107 | Uic'ing %(Identity)... 108 | .\GeneratedFiles\ui_%(Filename).h 109 | 110 | 111 | Rcc'ing %(Identity)... 112 | .\GeneratedFiles\qrc_%(Filename).cpp 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | .\GeneratedFiles;.;$(QTDIR)\include;.\GeneratedFiles\$(ConfigurationName)\.;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;$(QTDIR)\include\QtANGLE;$(QTDIR)\include\QtWidgets;$(QTDIR)\include\QtSerialPort;$(QTDIR)\include\QtSerialBus 138 | UNICODE;_UNICODE;WIN32;WIN64;QT_DLL;QT_CORE_LIB;QT_GUI_LIB;QT_WIDGETS_LIB;QT_SERIALPORT_LIB;QT_SERIALBUS_LIB 139 | .\GeneratedFiles;.;$(QTDIR)\include;.\GeneratedFiles\$(ConfigurationName)\.;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;$(QTDIR)\include\QtANGLE;$(QTDIR)\include\QtWidgets;$(QTDIR)\include\QtSerialPort;$(QTDIR)\include\QtSerialBus 140 | UNICODE;_UNICODE;WIN32;WIN64;QT_DLL;QT_NO_DEBUG;NDEBUG;QT_CORE_LIB;QT_GUI_LIB;QT_WIDGETS_LIB;QT_SERIALPORT_LIB;QT_SERIALBUS_LIB 141 | 142 | 143 | 144 | 145 | .\GeneratedFiles;.;$(QTDIR)\include;.\GeneratedFiles\$(ConfigurationName)\.;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;$(QTDIR)\include\QtANGLE;$(QTDIR)\include\QtWidgets;$(QTDIR)\include\QtSerialPort;$(QTDIR)\include\QtSerialBus 146 | UNICODE;_UNICODE;WIN32;WIN64;QT_DLL;QT_CORE_LIB;QT_GUI_LIB;QT_WIDGETS_LIB;QT_SERIALPORT_LIB;QT_SERIALBUS_LIB 147 | .\GeneratedFiles;.;$(QTDIR)\include;.\GeneratedFiles\$(ConfigurationName)\.;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;$(QTDIR)\include\QtANGLE;$(QTDIR)\include\QtWidgets;$(QTDIR)\include\QtSerialPort;$(QTDIR)\include\QtSerialBus 148 | UNICODE;_UNICODE;WIN32;WIN64;QT_DLL;QT_NO_DEBUG;NDEBUG;QT_CORE_LIB;QT_GUI_LIB;QT_WIDGETS_LIB;QT_SERIALPORT_LIB;QT_SERIALBUS_LIB 149 | 150 | 151 | 152 | 153 | H:\qtDocument\VSQT\phantom\phantom\chart;.\GeneratedFiles;.;$(QTDIR)\include;.\GeneratedFiles\$(ConfigurationName)\.;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;$(QTDIR)\include\QtANGLE;$(QTDIR)\include\QtWidgets;$(QTDIR)\include\QtSerialPort;$(QTDIR)\include\QtSerialBus;$(QTDIR)\include\QtNetwork;$(QTDIR)\include\QtWebEngine;$(QTDIR)\include\QtWebEngineCore;$(QTDIR)\include\QtWebChannel;$(QTDIR)\include\QtWebSockets;$(QTDIR)\include\QtWebEngineWidgets 154 | UNICODE;_UNICODE;WIN32;WIN64;QT_DLL;QT_CORE_LIB;QT_GUI_LIB;QT_WIDGETS_LIB;QT_SERIALPORT_LIB;QT_SERIALBUS_LIB;QT_NETWORK_LIB;QT_WEBENGINE_LIB;QT_WEBENGINECORE_LIB;QT_WEBCHANNEL_LIB;QT_WEBSOCKETS_LIB;QT_WEBENGINEWIDGETS_LIB 155 | .\GeneratedFiles;.;$(QTDIR)\include;.\GeneratedFiles\$(ConfigurationName)\.;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;$(QTDIR)\include\QtANGLE;$(QTDIR)\include\QtWidgets;$(QTDIR)\include\QtSerialPort;$(QTDIR)\include\QtSerialBus;$(QTDIR)\include\QtNetwork;$(QTDIR)\include\QtWebEngine;$(QTDIR)\include\QtWebEngineCore;$(QTDIR)\include\QtWebChannel;$(QTDIR)\include\QtWebSockets;$(QTDIR)\include\QtWebEngineWidgets 156 | UNICODE;_UNICODE;WIN32;WIN64;QT_DLL;QT_NO_DEBUG;NDEBUG;QT_CORE_LIB;QT_GUI_LIB;QT_WIDGETS_LIB;QT_SERIALPORT_LIB;QT_SERIALBUS_LIB;QT_NETWORK_LIB;QT_WEBENGINE_LIB;QT_WEBENGINECORE_LIB;QT_WEBCHANNEL_LIB;QT_WEBSOCKETS_LIB;QT_WEBENGINEWIDGETS_LIB 157 | 158 | 159 | H:\qtDocument\VSQT\phantom\phantom\chart;.\GeneratedFiles;.;$(QTDIR)\include;.\GeneratedFiles\$(ConfigurationName)\.;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;$(QTDIR)\include\QtANGLE;$(QTDIR)\include\QtWidgets;$(QTDIR)\include\QtSerialPort;$(QTDIR)\include\QtSerialBus;$(QTDIR)\include\QtNetwork;$(QTDIR)\include\QtWebEngine;$(QTDIR)\include\QtWebEngineCore;$(QTDIR)\include\QtWebChannel;$(QTDIR)\include\QtWebSockets;$(QTDIR)\include\QtWebEngineWidgets 160 | UNICODE;_UNICODE;WIN32;WIN64;QT_DLL;QT_CORE_LIB;QT_GUI_LIB;QT_WIDGETS_LIB;QT_SERIALPORT_LIB;QT_SERIALBUS_LIB;QT_NETWORK_LIB;QT_WEBENGINE_LIB;QT_WEBENGINECORE_LIB;QT_WEBCHANNEL_LIB;QT_WEBSOCKETS_LIB;QT_WEBENGINEWIDGETS_LIB 161 | .\GeneratedFiles;.;$(QTDIR)\include;.\GeneratedFiles\$(ConfigurationName)\.;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;$(QTDIR)\include\QtANGLE;$(QTDIR)\include\QtWidgets;$(QTDIR)\include\QtSerialPort;$(QTDIR)\include\QtSerialBus;$(QTDIR)\include\QtNetwork;$(QTDIR)\include\QtWebEngine;$(QTDIR)\include\QtWebEngineCore;$(QTDIR)\include\QtWebChannel;$(QTDIR)\include\QtWebSockets;$(QTDIR)\include\QtWebEngineWidgets 162 | UNICODE;_UNICODE;WIN32;WIN64;QT_DLL;QT_NO_DEBUG;NDEBUG;QT_CORE_LIB;QT_GUI_LIB;QT_WIDGETS_LIB;QT_SERIALPORT_LIB;QT_SERIALBUS_LIB;QT_NETWORK_LIB;QT_WEBENGINE_LIB;QT_WEBENGINECORE_LIB;QT_WEBCHANNEL_LIB;QT_WEBSOCKETS_LIB;QT_WEBENGINEWIDGETS_LIB 163 | 164 | 165 | 166 | 167 | H:\qtDocument\VSQT\phantom\phantom\chart;.\GeneratedFiles;.;$(QTDIR)\include;.\GeneratedFiles\$(ConfigurationName)\.;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;$(QTDIR)\include\QtANGLE;$(QTDIR)\include\QtWidgets;$(QTDIR)\include\QtSerialPort;$(QTDIR)\include\QtSerialBus;$(QTDIR)\include\QtNetwork;$(QTDIR)\include\QtWebEngine;$(QTDIR)\include\QtWebEngineCore;$(QTDIR)\include\QtWebChannel;$(QTDIR)\include\QtWebSockets;$(QTDIR)\include\QtWebEngineWidgets 168 | UNICODE;_UNICODE;WIN32;WIN64;QT_DLL;QT_CORE_LIB;QT_GUI_LIB;QT_WIDGETS_LIB;QT_SERIALPORT_LIB;QT_SERIALBUS_LIB;QT_NETWORK_LIB;QT_WEBENGINE_LIB;QT_WEBENGINECORE_LIB;QT_WEBCHANNEL_LIB;QT_WEBSOCKETS_LIB;QT_WEBENGINEWIDGETS_LIB 169 | .\GeneratedFiles;.;$(QTDIR)\include;.\GeneratedFiles\$(ConfigurationName)\.;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;$(QTDIR)\include\QtANGLE;$(QTDIR)\include\QtWidgets;$(QTDIR)\include\QtSerialPort;$(QTDIR)\include\QtSerialBus;$(QTDIR)\include\QtNetwork;$(QTDIR)\include\QtWebEngine;$(QTDIR)\include\QtWebEngineCore;$(QTDIR)\include\QtWebChannel;$(QTDIR)\include\QtWebSockets;$(QTDIR)\include\QtWebEngineWidgets 170 | UNICODE;_UNICODE;WIN32;WIN64;QT_DLL;QT_NO_DEBUG;NDEBUG;QT_CORE_LIB;QT_GUI_LIB;QT_WIDGETS_LIB;QT_SERIALPORT_LIB;QT_SERIALBUS_LIB;QT_NETWORK_LIB;QT_WEBENGINE_LIB;QT_WEBENGINECORE_LIB;QT_WEBCHANNEL_LIB;QT_WEBSOCKETS_LIB;QT_WEBENGINEWIDGETS_LIB 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | H:\qtDocument\VSQT\phantom\phantom\chart;.\GeneratedFiles;.;$(QTDIR)\include;.\GeneratedFiles\$(ConfigurationName)\.;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;$(QTDIR)\include\QtANGLE;$(QTDIR)\include\QtWidgets;$(QTDIR)\include\QtSerialPort;$(QTDIR)\include\QtSerialBus;$(QTDIR)\include\QtNetwork;$(QTDIR)\include\QtWebEngine;$(QTDIR)\include\QtWebEngineCore;$(QTDIR)\include\QtWebChannel;$(QTDIR)\include\QtWebSockets;$(QTDIR)\include\QtWebEngineWidgets 179 | UNICODE;_UNICODE;WIN32;WIN64;QT_DLL;QT_CORE_LIB;QT_GUI_LIB;QT_WIDGETS_LIB;QT_SERIALPORT_LIB;QT_SERIALBUS_LIB;QT_NETWORK_LIB;QT_WEBENGINE_LIB;QT_WEBENGINECORE_LIB;QT_WEBCHANNEL_LIB;QT_WEBSOCKETS_LIB;QT_WEBENGINEWIDGETS_LIB 180 | .\GeneratedFiles;.;$(QTDIR)\include;.\GeneratedFiles\$(ConfigurationName)\.;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;$(QTDIR)\include\QtANGLE;$(QTDIR)\include\QtWidgets;$(QTDIR)\include\QtSerialPort;$(QTDIR)\include\QtSerialBus;$(QTDIR)\include\QtNetwork;$(QTDIR)\include\QtWebEngine;$(QTDIR)\include\QtWebEngineCore;$(QTDIR)\include\QtWebChannel;$(QTDIR)\include\QtWebSockets;$(QTDIR)\include\QtWebEngineWidgets 181 | UNICODE;_UNICODE;WIN32;WIN64;QT_DLL;QT_NO_DEBUG;NDEBUG;QT_CORE_LIB;QT_GUI_LIB;QT_WIDGETS_LIB;QT_SERIALPORT_LIB;QT_SERIALBUS_LIB;QT_NETWORK_LIB;QT_WEBENGINE_LIB;QT_WEBENGINECORE_LIB;QT_WEBCHANNEL_LIB;QT_WEBSOCKETS_LIB;QT_WEBENGINEWIDGETS_LIB 182 | 183 | 184 | H:\qtDocument\VSQT\phantom\phantom\chart;.\GeneratedFiles;.;$(QTDIR)\include;.\GeneratedFiles\$(ConfigurationName)\.;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;$(QTDIR)\include\QtANGLE;$(QTDIR)\include\QtWidgets;$(QTDIR)\include\QtSerialPort;$(QTDIR)\include\QtSerialBus;$(QTDIR)\include\QtNetwork;$(QTDIR)\include\QtWebEngine;$(QTDIR)\include\QtWebEngineCore;$(QTDIR)\include\QtWebChannel;$(QTDIR)\include\QtWebSockets;$(QTDIR)\include\QtWebEngineWidgets 185 | UNICODE;_UNICODE;WIN32;WIN64;QT_DLL;QT_CORE_LIB;QT_GUI_LIB;QT_WIDGETS_LIB;QT_SERIALPORT_LIB;QT_SERIALBUS_LIB;QT_NETWORK_LIB;QT_WEBENGINE_LIB;QT_WEBENGINECORE_LIB;QT_WEBCHANNEL_LIB;QT_WEBSOCKETS_LIB;QT_WEBENGINEWIDGETS_LIB 186 | .\GeneratedFiles;.;$(QTDIR)\include;.\GeneratedFiles\$(ConfigurationName)\.;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;$(QTDIR)\include\QtANGLE;$(QTDIR)\include\QtWidgets;$(QTDIR)\include\QtSerialPort;$(QTDIR)\include\QtSerialBus;$(QTDIR)\include\QtNetwork;$(QTDIR)\include\QtWebEngine;$(QTDIR)\include\QtWebEngineCore;$(QTDIR)\include\QtWebChannel;$(QTDIR)\include\QtWebSockets;$(QTDIR)\include\QtWebEngineWidgets 187 | UNICODE;_UNICODE;WIN32;WIN64;QT_DLL;QT_NO_DEBUG;NDEBUG;QT_CORE_LIB;QT_GUI_LIB;QT_WIDGETS_LIB;QT_SERIALPORT_LIB;QT_SERIALBUS_LIB;QT_NETWORK_LIB;QT_WEBENGINE_LIB;QT_WEBENGINECORE_LIB;QT_WEBCHANNEL_LIB;QT_WEBSOCKETS_LIB;QT_WEBENGINEWIDGETS_LIB 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | -------------------------------------------------------------------------------- /phantom/phantom.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hh;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {D9D6E242-F8AF-46E4-B9FD-80ECBC20BA3E} 14 | qrc;* 15 | false 16 | 17 | 18 | {99349809-55BA-4b9d-BF79-8FDBB0286EB3} 19 | ui 20 | 21 | 22 | {D9D6E242-F8AF-46E4-B9FD-80ECBC20BA3E} 23 | qrc;* 24 | false 25 | 26 | 27 | {71ED8ED8-ACB9-4CE9-BBE1-E00B30144E11} 28 | moc;h;cpp 29 | False 30 | 31 | 32 | {509dc253-dd03-4f9d-aebb-5bc67db11e05} 33 | 34 | 35 | 36 | 37 | Source Files 38 | 39 | 40 | Source Files 41 | 42 | 43 | Source Files 44 | 45 | 46 | Source Files 47 | 48 | 49 | Source Files 50 | 51 | 52 | Source Files 53 | 54 | 55 | Source Files 56 | 57 | 58 | Char Director 59 | 60 | 61 | Char Director 62 | 63 | 64 | 65 | 66 | Header Files 67 | 68 | 69 | Header Files 70 | 71 | 72 | Header Files 73 | 74 | 75 | Header Files 76 | 77 | 78 | Header Files 79 | 80 | 81 | Header Files 82 | 83 | 84 | Char Director 85 | 86 | 87 | Char Director 88 | 89 | 90 | 91 | 92 | Form Files 93 | 94 | 95 | 96 | 97 | Resource Files 98 | 99 | 100 | 101 | 102 | Char Director 103 | 104 | 105 | Char Director 106 | 107 | 108 | Char Director 109 | 110 | 111 | 112 | 113 | Char Director 114 | 115 | 116 | 117 | 118 | Char Director 119 | 120 | 121 | -------------------------------------------------------------------------------- /phantom/phantom.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | E:\QT\QT\5.11.0\msvc2017_64 6 | PATH=$(QTDIR)\bin%3b$(PATH) 7 | 8 | 9 | E:\QT\QT\5.11.0\msvc2017_64 10 | PATH=$(QTDIR)\bin%3b$(PATH) 11 | 12 | -------------------------------------------------------------------------------- /phantom/qchartviewer.h: -------------------------------------------------------------------------------- 1 | #ifndef QCHARTVIEWER_H 2 | #define QCHARTVIEWER_H 3 | 4 | #include 5 | #include "chartdir.h" 6 | 7 | #ifdef CD_NAMESPACE 8 | namespace CD_NAMESPACE 9 | { 10 | #endif 11 | 12 | namespace Chart 13 | { 14 | // 15 | // Mouse usage mode constants 16 | // 17 | enum 18 | { 19 | MouseUsageDefault = 0, 20 | MouseUsageScroll = 1, 21 | MouseUsageZoomIn = 3, 22 | MouseUsageZoomOut = 4 23 | }; 24 | } 25 | 26 | #ifdef CD_NAMESPACE 27 | } 28 | #endif 29 | 30 | // 31 | // Forward declarations 32 | // 33 | class QMouseEvent; 34 | 35 | class QChartViewer : public QLabel, public ViewPortManager 36 | { 37 | Q_OBJECT 38 | public: 39 | explicit QChartViewer(QWidget *parent = 0); 40 | ~QChartViewer(); 41 | 42 | // 43 | // QChartViewer properties 44 | // 45 | 46 | virtual void setChart(BaseChart *c); 47 | virtual BaseChart *getChart(); 48 | 49 | virtual void setImageMap(const char *imageMap); 50 | virtual ImageMapHandler *getImageMapHandler(); 51 | 52 | virtual void setDefaultToolTip(QString text); 53 | 54 | virtual void setSelectionBorderWidth(int width); 55 | virtual int getSelectionBorderWidth(); 56 | 57 | virtual void setSelectionBorderColor(QColor c); 58 | virtual QColor getSelectionBorderColor(); 59 | 60 | virtual void setMouseUsage(int mouseUsage); 61 | virtual int getMouseUsage(); 62 | 63 | virtual void setZoomDirection(int direction); 64 | virtual int getZoomDirection(); 65 | 66 | virtual void setScrollDirection(int direction); 67 | virtual int getScrollDirection(); 68 | 69 | virtual void setZoomInRatio(double ratio); 70 | virtual double getZoomInRatio(); 71 | 72 | virtual void setZoomOutRatio(double ratio); 73 | virtual double getZoomOutRatio(); 74 | 75 | virtual void setMouseWheelZoomRatio(double ratio); 76 | virtual double getMouseWheelZoomRatio(); 77 | 78 | virtual void setMinimumDrag(int offset); 79 | virtual int getMinimumDrag(); 80 | 81 | virtual void setUpdateInterval(int interval); 82 | virtual int getUpdateInterval(); 83 | 84 | virtual bool needUpdateChart(); 85 | virtual bool needUpdateImageMap(); 86 | 87 | virtual bool isMouseOnPlotArea(); 88 | virtual bool isInMouseMoveEvent(); 89 | virtual bool isInViewPortChangedEvent(); 90 | virtual bool isMouseDragging(); 91 | 92 | // 93 | // QChartViewer methods 94 | // 95 | 96 | // Trigger the ViewPortChanged event 97 | virtual void updateViewPort(bool needUpdateChart, bool needUpdateImageMap); 98 | 99 | // Request CChartViewer to redisplay the chart 100 | virtual void updateDisplay(); 101 | 102 | // Handles mouse wheel zooming 103 | virtual bool onMouseWheelZoom(int x, int y, int zDelta); 104 | 105 | // Set the message used to remove the dynamic layer 106 | virtual void removeDynamicLayer(const char *msg); 107 | 108 | // Get the mouse coordinates 109 | virtual int getChartMouseX(); 110 | virtual int getChartMouseY(); 111 | 112 | // Get the mouse coordinates bounded to the plot area 113 | virtual int getPlotAreaMouseX(); 114 | virtual int getPlotAreaMouseY(); 115 | 116 | protected: 117 | // 118 | // QChartViewer event handlers 119 | // 120 | 121 | virtual void mouseMoveEvent(QMouseEvent *event); 122 | virtual void onDelayedMouseMove(); 123 | virtual void mousePressEvent(QMouseEvent *event); 124 | virtual void mouseReleaseEvent(QMouseEvent *event); 125 | virtual void leaveEvent(QEvent *event); 126 | virtual void wheelEvent(QWheelEvent *event); 127 | virtual void timerEvent (QTimerEvent *event); 128 | virtual void onSetCursor(); 129 | 130 | private: 131 | // 132 | // QChartViewer configurable properties 133 | // 134 | 135 | BaseChart *m_currentChart; // Current BaseChart object 136 | ImageMapHandler *m_hotSpotTester; // ImageMapHander representing the image map 137 | QString m_defaultToolTip; // Default tool tip text 138 | QColor m_selectBoxLineColor; // Selectiom box border color 139 | int m_selectBoxLineWidth; // Selectiom box border width 140 | int m_mouseUsage; // Mouse usage mode 141 | int m_zoomDirection; // Zoom direction 142 | int m_scrollDirection; // Scroll direction 143 | double m_zoomInRatio; // Click zoom in ratio 144 | double m_zoomOutRatio; // Click zoom out ratio 145 | double m_mouseWheelZoomRatio; // Mouse wheel zoom ratio 146 | int m_minDragAmount; // Minimum drag amount 147 | int m_updateInterval; // Minimum interval between chart updates 148 | bool m_needUpdateChart; // Has pending chart update request 149 | bool m_needUpdateImageMap; // Has pending image map udpate request 150 | 151 | // 152 | // Keep track of mouse states 153 | // 154 | 155 | int m_currentHotSpot; // The hot spot under the mouse cursor. 156 | bool m_isClickable; // Mouse is over a clickable hot spot. 157 | bool m_isOnPlotArea; // Mouse is over the plot area. 158 | bool m_isPlotAreaMouseDown; // Mouse left button is down in the plot area. 159 | bool m_isDragScrolling; // Is current dragging scrolling the chart. 160 | bool m_isMouseTracking; // Is tracking mouse leave event 161 | bool m_isInMouseMove; // Is in mouse moeve event handler 162 | 163 | // 164 | // Dragging support 165 | // 166 | 167 | int m_plotAreaMouseDownXPos; // The starting x coordinate of the mouse drag. 168 | int m_plotAreaMouseDownYPos; // The starting y coordinate of the mouse drag. 169 | bool isDrag(int direction, QMouseEvent *event); // Check if mouse is dragging 170 | void onPlotAreaMouseDrag(QMouseEvent *point); // Process mouse dragging 171 | 172 | // 173 | // Selection rectangle 174 | // 175 | 176 | QLabel *m_LeftLine; // Left edge of selection rectangle 177 | QLabel *m_RightLine; // Right edge of selection rectangle 178 | QLabel *m_TopLine; // Top edge of selection rectangle 179 | QLabel *m_BottomLine; // Bottom edge of selection rectangle 180 | 181 | void initRect(); // Initialize selection rectangle edges 182 | void drawRect(int x, int y, int width, int height); // Draw selection rectangle 183 | void setRectVisible(bool b); // Show/hide selection rectangle 184 | 185 | // 186 | // Chart update rate control 187 | // 188 | 189 | bool m_holdTimerActive; // Delay chart update to limit update frequency 190 | int m_holdTimerId; // The id of the hold timer. 191 | bool m_isInViewPortChanged; // Flag to avoid infinite update loops 192 | 193 | int m_delayUpdateChart; // Delay chart update until the mouse event is completed 194 | BaseChart *m_delayedChart; 195 | void commitUpdateChart(); // Commit updating the chart. 196 | 197 | unsigned int m_lastMouseMove; // The timestamp of the last mouse move event. 198 | QMouseEvent *m_delayedMouseEvent; // The delayed mouse move event. 199 | int m_delayedMouseEventTimerId; // The id of the delayed mouse move timer. 200 | void commitMouseMove(QMouseEvent *event); // Raise the delayed mouse move event. 201 | 202 | bool m_delayImageMapUpdate; // Delay image map update until mouse moves on plot area 203 | 204 | // 205 | // Track Cursor support 206 | // 207 | int m_currentMouseX; // Get the mouse x-pixel coordinate 208 | int m_currentMouseY; // Get the mouse y-pixel coordinate 209 | int m_isInMouseMovePlotArea; // flag to indicate if is in a mouse move plot area event. 210 | 211 | // 212 | // Dynamic Layer support 213 | // 214 | QString m_autoHideMsg; // The message that will trigger removing the dynamic layer. 215 | void applyAutoHide(const char *msg); // Attempt to remove the dynamic layer with the given message. 216 | 217 | signals: 218 | void viewPortChanged(); // View port has changed 219 | void clicked(QMouseEvent *event); // Mouse button clicked 220 | void mouseMove(QMouseEvent *event); // Mouse moves over the widget 221 | void mouseWheel(QWheelEvent *event); // Mouse wheel scrolled 222 | void mouseMoveChart(QMouseEvent *event); // Mouse moves over the chart 223 | void mouseLeaveChart(QEvent *event); // Mouse leaves the chart 224 | void mouseMovePlotArea(QMouseEvent *event); // Mouse moves over the extended plot area 225 | void mouseLeavePlotArea(QEvent *event); // Mouse leaves the extended plot area 226 | 227 | public slots: 228 | 229 | }; 230 | 231 | 232 | class QViewPortControl : public QLabel, public ViewPortControlBase 233 | { 234 | Q_OBJECT 235 | public: 236 | explicit QViewPortControl(QWidget *parent = 0); 237 | ~QViewPortControl(); 238 | 239 | // Set the chart to be displayed in the control 240 | virtual void setChart(BaseChart *c); 241 | virtual BaseChart *getChart(); 242 | 243 | // Associated QChartViewer 244 | virtual void setViewer(QChartViewer *viewer); 245 | virtual QChartViewer *getViewer(); 246 | 247 | // Request the CViewPortControl to update its contents 248 | virtual void updateDisplay(); 249 | 250 | protected: 251 | // 252 | // QChartViewer event handlers 253 | // 254 | 255 | virtual void mouseMoveEvent(QMouseEvent *event); 256 | virtual void mousePressEvent(QMouseEvent *event); 257 | virtual void mouseReleaseEvent(QMouseEvent *event); 258 | virtual void wheelEvent(QWheelEvent *event); 259 | 260 | private slots: 261 | virtual void onViewPortChanged(); 262 | 263 | private: 264 | QChartViewer *m_ChartViewer; // Associated QChartViewer 265 | BaseChart *m_Chart; // BaseChart object displayed in the control 266 | 267 | int m_mouseDownX; // Current mouse x coordinates 268 | int m_mouseDownY; // Current mouse y coordinates 269 | bool isDrag(QMouseEvent *event); // Check if mouse is dragging 270 | 271 | void paintDisplay(); // Paint the display 272 | void syncState(); // Synchronize the CViewPortControl with CChartViewer 273 | void updateCursor(int position); // Update the mouse cursor 274 | void updateChartViewerIfNecessary(); // Update CChartViewer if viewport has changed 275 | 276 | double toImageX(int x); // Convert from mouse to image x-coordinate 277 | double toImageY(int y); // Convert from mouse to image y-coordinate 278 | }; 279 | 280 | 281 | #endif // QCHARTVIEWER_H 282 | -------------------------------------------------------------------------------- /phantom/qwebchannel.js: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** 3 | ** Copyright (C) 2016 The Qt Company Ltd. 4 | ** Copyright (C) 2016 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com, author Milian Wolff 5 | ** Contact: https://www.qt.io/licensing/ 6 | ** 7 | ** This file is part of the QtWebChannel module of the Qt Toolkit. 8 | ** 9 | ** $QT_BEGIN_LICENSE:LGPL$ 10 | ** Commercial License Usage 11 | ** Licensees holding valid commercial Qt licenses may use this file in 12 | ** accordance with the commercial license agreement provided with the 13 | ** Software or, alternatively, in accordance with the terms contained in 14 | ** a written agreement between you and The Qt Company. For licensing terms 15 | ** and conditions see https://www.qt.io/terms-conditions. For further 16 | ** information use the contact form at https://www.qt.io/contact-us. 17 | ** 18 | ** GNU Lesser General Public License Usage 19 | ** Alternatively, this file may be used under the terms of the GNU Lesser 20 | ** General Public License version 3 as published by the Free Software 21 | ** Foundation and appearing in the file LICENSE.LGPL3 included in the 22 | ** packaging of this file. Please review the following information to 23 | ** ensure the GNU Lesser General Public License version 3 requirements 24 | ** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. 25 | ** 26 | ** GNU General Public License Usage 27 | ** Alternatively, this file may be used under the terms of the GNU 28 | ** General Public License version 2.0 or (at your option) the GNU General 29 | ** Public license version 3 or any later version approved by the KDE Free 30 | ** Qt Foundation. The licenses are as published by the Free Software 31 | ** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 32 | ** included in the packaging of this file. Please review the following 33 | ** information to ensure the GNU General Public License requirements will 34 | ** be met: https://www.gnu.org/licenses/gpl-2.0.html and 35 | ** https://www.gnu.org/licenses/gpl-3.0.html. 36 | ** 37 | ** $QT_END_LICENSE$ 38 | ** 39 | ****************************************************************************/ 40 | 41 | "use strict"; 42 | 43 | var QWebChannelMessageTypes = { 44 | signal: 1, 45 | propertyUpdate: 2, 46 | init: 3, 47 | idle: 4, 48 | debug: 5, 49 | invokeMethod: 6, 50 | connectToSignal: 7, 51 | disconnectFromSignal: 8, 52 | setProperty: 9, 53 | response: 10, 54 | }; 55 | 56 | var QWebChannel = function(transport, initCallback) 57 | { 58 | if (typeof transport !== "object" || typeof transport.send !== "function") { 59 | console.error("The QWebChannel expects a transport object with a send function and onmessage callback property." + 60 | " Given is: transport: " + typeof(transport) + ", transport.send: " + typeof(transport.send)); 61 | return; 62 | } 63 | 64 | var channel = this; 65 | this.transport = transport; 66 | 67 | this.send = function(data) 68 | { 69 | if (typeof(data) !== "string") { 70 | data = JSON.stringify(data); 71 | } 72 | channel.transport.send(data); 73 | } 74 | 75 | this.transport.onmessage = function(message) 76 | { 77 | var data = message.data; 78 | if (typeof data === "string") { 79 | data = JSON.parse(data); 80 | } 81 | switch (data.type) { 82 | case QWebChannelMessageTypes.signal: 83 | channel.handleSignal(data); 84 | break; 85 | case QWebChannelMessageTypes.response: 86 | channel.handleResponse(data); 87 | break; 88 | case QWebChannelMessageTypes.propertyUpdate: 89 | channel.handlePropertyUpdate(data); 90 | break; 91 | default: 92 | console.error("invalid message received:", message.data); 93 | break; 94 | } 95 | } 96 | 97 | this.execCallbacks = {}; 98 | this.execId = 0; 99 | this.exec = function(data, callback) 100 | { 101 | if (!callback) { 102 | // if no callback is given, send directly 103 | channel.send(data); 104 | return; 105 | } 106 | if (channel.execId === Number.MAX_VALUE) { 107 | // wrap 108 | channel.execId = Number.MIN_VALUE; 109 | } 110 | if (data.hasOwnProperty("id")) { 111 | console.error("Cannot exec message with property id: " + JSON.stringify(data)); 112 | return; 113 | } 114 | data.id = channel.execId++; 115 | channel.execCallbacks[data.id] = callback; 116 | channel.send(data); 117 | }; 118 | 119 | this.objects = {}; 120 | 121 | this.handleSignal = function(message) 122 | { 123 | var object = channel.objects[message.object]; 124 | if (object) { 125 | object.signalEmitted(message.signal, message.args); 126 | } else { 127 | console.warn("Unhandled signal: " + message.object + "::" + message.signal); 128 | } 129 | } 130 | 131 | this.handleResponse = function(message) 132 | { 133 | if (!message.hasOwnProperty("id")) { 134 | console.error("Invalid response message received: ", JSON.stringify(message)); 135 | return; 136 | } 137 | channel.execCallbacks[message.id](message.data); 138 | delete channel.execCallbacks[message.id]; 139 | } 140 | 141 | this.handlePropertyUpdate = function(message) 142 | { 143 | for (var i in message.data) { 144 | var data = message.data[i]; 145 | var object = channel.objects[data.object]; 146 | if (object) { 147 | object.propertyUpdate(data.signals, data.properties); 148 | } else { 149 | console.warn("Unhandled property update: " + data.object + "::" + data.signal); 150 | } 151 | } 152 | channel.exec({type: QWebChannelMessageTypes.idle}); 153 | } 154 | 155 | this.debug = function(message) 156 | { 157 | channel.send({type: QWebChannelMessageTypes.debug, data: message}); 158 | }; 159 | 160 | channel.exec({type: QWebChannelMessageTypes.init}, function(data) { 161 | for (var objectName in data) { 162 | var object = new QObject(objectName, data[objectName], channel); 163 | } 164 | // now unwrap properties, which might reference other registered objects 165 | for (var objectName in channel.objects) { 166 | channel.objects[objectName].unwrapProperties(); 167 | } 168 | if (initCallback) { 169 | initCallback(channel); 170 | } 171 | channel.exec({type: QWebChannelMessageTypes.idle}); 172 | }); 173 | }; 174 | 175 | function QObject(name, data, webChannel) 176 | { 177 | this.__id__ = name; 178 | webChannel.objects[name] = this; 179 | 180 | // List of callbacks that get invoked upon signal emission 181 | this.__objectSignals__ = {}; 182 | 183 | // Cache of all properties, updated when a notify signal is emitted 184 | this.__propertyCache__ = {}; 185 | 186 | var object = this; 187 | 188 | // ---------------------------------------------------------------------- 189 | 190 | this.unwrapQObject = function(response) 191 | { 192 | if (response instanceof Array) { 193 | // support list of objects 194 | var ret = new Array(response.length); 195 | for (var i = 0; i < response.length; ++i) { 196 | ret[i] = object.unwrapQObject(response[i]); 197 | } 198 | return ret; 199 | } 200 | if (!response 201 | || !response["__QObject*__"] 202 | || response.id === undefined) { 203 | return response; 204 | } 205 | 206 | var objectId = response.id; 207 | if (webChannel.objects[objectId]) 208 | return webChannel.objects[objectId]; 209 | 210 | if (!response.data) { 211 | console.error("Cannot unwrap unknown QObject " + objectId + " without data."); 212 | return; 213 | } 214 | 215 | var qObject = new QObject( objectId, response.data, webChannel ); 216 | qObject.destroyed.connect(function() { 217 | if (webChannel.objects[objectId] === qObject) { 218 | delete webChannel.objects[objectId]; 219 | // reset the now deleted QObject to an empty {} object 220 | // just assigning {} though would not have the desired effect, but the 221 | // below also ensures all external references will see the empty map 222 | // NOTE: this detour is necessary to workaround QTBUG-40021 223 | var propertyNames = []; 224 | for (var propertyName in qObject) { 225 | propertyNames.push(propertyName); 226 | } 227 | for (var idx in propertyNames) { 228 | delete qObject[propertyNames[idx]]; 229 | } 230 | } 231 | }); 232 | // here we are already initialized, and thus must directly unwrap the properties 233 | qObject.unwrapProperties(); 234 | return qObject; 235 | } 236 | 237 | this.unwrapProperties = function() 238 | { 239 | for (var propertyIdx in object.__propertyCache__) { 240 | object.__propertyCache__[propertyIdx] = object.unwrapQObject(object.__propertyCache__[propertyIdx]); 241 | } 242 | } 243 | 244 | function addSignal(signalData, isPropertyNotifySignal) 245 | { 246 | var signalName = signalData[0]; 247 | var signalIndex = signalData[1]; 248 | object[signalName] = { 249 | connect: function(callback) { 250 | if (typeof(callback) !== "function") { 251 | console.error("Bad callback given to connect to signal " + signalName); 252 | return; 253 | } 254 | 255 | object.__objectSignals__[signalIndex] = object.__objectSignals__[signalIndex] || []; 256 | object.__objectSignals__[signalIndex].push(callback); 257 | 258 | if (!isPropertyNotifySignal && signalName !== "destroyed") { 259 | // only required for "pure" signals, handled separately for properties in propertyUpdate 260 | // also note that we always get notified about the destroyed signal 261 | webChannel.exec({ 262 | type: QWebChannelMessageTypes.connectToSignal, 263 | object: object.__id__, 264 | signal: signalIndex 265 | }); 266 | } 267 | }, 268 | disconnect: function(callback) { 269 | if (typeof(callback) !== "function") { 270 | console.error("Bad callback given to disconnect from signal " + signalName); 271 | return; 272 | } 273 | object.__objectSignals__[signalIndex] = object.__objectSignals__[signalIndex] || []; 274 | var idx = object.__objectSignals__[signalIndex].indexOf(callback); 275 | if (idx === -1) { 276 | console.error("Cannot find connection of signal " + signalName + " to " + callback.name); 277 | return; 278 | } 279 | object.__objectSignals__[signalIndex].splice(idx, 1); 280 | if (!isPropertyNotifySignal && object.__objectSignals__[signalIndex].length === 0) { 281 | // only required for "pure" signals, handled separately for properties in propertyUpdate 282 | webChannel.exec({ 283 | type: QWebChannelMessageTypes.disconnectFromSignal, 284 | object: object.__id__, 285 | signal: signalIndex 286 | }); 287 | } 288 | } 289 | }; 290 | } 291 | 292 | /** 293 | * Invokes all callbacks for the given signalname. Also works for property notify callbacks. 294 | */ 295 | function invokeSignalCallbacks(signalName, signalArgs) 296 | { 297 | var connections = object.__objectSignals__[signalName]; 298 | if (connections) { 299 | connections.forEach(function(callback) { 300 | callback.apply(callback, signalArgs); 301 | }); 302 | } 303 | } 304 | 305 | this.propertyUpdate = function(signals, propertyMap) 306 | { 307 | // update property cache 308 | for (var propertyIndex in propertyMap) { 309 | var propertyValue = propertyMap[propertyIndex]; 310 | object.__propertyCache__[propertyIndex] = propertyValue; 311 | } 312 | 313 | for (var signalName in signals) { 314 | // Invoke all callbacks, as signalEmitted() does not. This ensures the 315 | // property cache is updated before the callbacks are invoked. 316 | invokeSignalCallbacks(signalName, signals[signalName]); 317 | } 318 | } 319 | 320 | this.signalEmitted = function(signalName, signalArgs) 321 | { 322 | invokeSignalCallbacks(signalName, this.unwrapQObject(signalArgs)); 323 | } 324 | 325 | function addMethod(methodData) 326 | { 327 | var methodName = methodData[0]; 328 | var methodIdx = methodData[1]; 329 | object[methodName] = function() { 330 | var args = []; 331 | var callback; 332 | for (var i = 0; i < arguments.length; ++i) { 333 | var argument = arguments[i]; 334 | if (typeof argument === "function") 335 | callback = argument; 336 | else if (argument instanceof QObject && webChannel.objects[argument.__id__] !== undefined) 337 | args.push({ 338 | "id": argument.__id__ 339 | }); 340 | else 341 | args.push(argument); 342 | } 343 | 344 | webChannel.exec({ 345 | "type": QWebChannelMessageTypes.invokeMethod, 346 | "object": object.__id__, 347 | "method": methodIdx, 348 | "args": args 349 | }, function(response) { 350 | if (response !== undefined) { 351 | var result = object.unwrapQObject(response); 352 | if (callback) { 353 | (callback)(result); 354 | } 355 | } 356 | }); 357 | }; 358 | } 359 | 360 | function bindGetterSetter(propertyInfo) 361 | { 362 | var propertyIndex = propertyInfo[0]; 363 | var propertyName = propertyInfo[1]; 364 | var notifySignalData = propertyInfo[2]; 365 | // initialize property cache with current value 366 | // NOTE: if this is an object, it is not directly unwrapped as it might 367 | // reference other QObject that we do not know yet 368 | object.__propertyCache__[propertyIndex] = propertyInfo[3]; 369 | 370 | if (notifySignalData) { 371 | if (notifySignalData[0] === 1) { 372 | // signal name is optimized away, reconstruct the actual name 373 | notifySignalData[0] = propertyName + "Changed"; 374 | } 375 | addSignal(notifySignalData, true); 376 | } 377 | 378 | Object.defineProperty(object, propertyName, { 379 | configurable: true, 380 | get: function () { 381 | var propertyValue = object.__propertyCache__[propertyIndex]; 382 | if (propertyValue === undefined) { 383 | // This shouldn't happen 384 | console.warn("Undefined value in property cache for property \"" + propertyName + "\" in object " + object.__id__); 385 | } 386 | 387 | return propertyValue; 388 | }, 389 | set: function(value) { 390 | if (value === undefined) { 391 | console.warn("Property setter for " + propertyName + " called with undefined value!"); 392 | return; 393 | } 394 | object.__propertyCache__[propertyIndex] = value; 395 | var valueToSend = value; 396 | if (valueToSend instanceof QObject && webChannel.objects[valueToSend.__id__] !== undefined) 397 | valueToSend = { "id": valueToSend.__id__ }; 398 | webChannel.exec({ 399 | "type": QWebChannelMessageTypes.setProperty, 400 | "object": object.__id__, 401 | "property": propertyIndex, 402 | "value": valueToSend 403 | }); 404 | } 405 | }); 406 | 407 | } 408 | 409 | // ---------------------------------------------------------------------- 410 | 411 | data.methods.forEach(addMethod); 412 | 413 | data.properties.forEach(bindGetterSetter); 414 | 415 | data.signals.forEach(function(signal) { addSignal(signal, false); }); 416 | 417 | for (var name in data.enums) { 418 | object[name] = data.enums[name]; 419 | } 420 | } 421 | 422 | //required for use with nodejs 423 | if (typeof module === 'object') { 424 | module.exports = { 425 | QWebChannel: QWebChannel 426 | }; 427 | } 428 | -------------------------------------------------------------------------------- /phantom/x64/Debug/BaiduMap.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyghost/phantom/55f31512a9381e2e4b8a7a7274225acd24674240/phantom/x64/Debug/BaiduMap.obj -------------------------------------------------------------------------------- /phantom/x64/Debug/SerialPort.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyghost/phantom/55f31512a9381e2e4b8a7a7274225acd24674240/phantom/x64/Debug/SerialPort.obj -------------------------------------------------------------------------------- /phantom/x64/Debug/TcpClient.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyghost/phantom/55f31512a9381e2e4b8a7a7274225acd24674240/phantom/x64/Debug/TcpClient.obj -------------------------------------------------------------------------------- /phantom/x64/Debug/TcpClientVideo.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyghost/phantom/55f31512a9381e2e4b8a7a7274225acd24674240/phantom/x64/Debug/TcpClientVideo.obj -------------------------------------------------------------------------------- /phantom/x64/Debug/Wave.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyghost/phantom/55f31512a9381e2e4b8a7a7274225acd24674240/phantom/x64/Debug/Wave.obj -------------------------------------------------------------------------------- /phantom/x64/Debug/bridge.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyghost/phantom/55f31512a9381e2e4b8a7a7274225acd24674240/phantom/x64/Debug/bridge.obj -------------------------------------------------------------------------------- /phantom/x64/Debug/main.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyghost/phantom/55f31512a9381e2e4b8a7a7274225acd24674240/phantom/x64/Debug/main.obj -------------------------------------------------------------------------------- /phantom/x64/Debug/moc_BaiduMap.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyghost/phantom/55f31512a9381e2e4b8a7a7274225acd24674240/phantom/x64/Debug/moc_BaiduMap.obj -------------------------------------------------------------------------------- /phantom/x64/Debug/moc_SerialPort.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyghost/phantom/55f31512a9381e2e4b8a7a7274225acd24674240/phantom/x64/Debug/moc_SerialPort.obj -------------------------------------------------------------------------------- /phantom/x64/Debug/moc_TcpClient.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyghost/phantom/55f31512a9381e2e4b8a7a7274225acd24674240/phantom/x64/Debug/moc_TcpClient.obj -------------------------------------------------------------------------------- /phantom/x64/Debug/moc_TcpClientVideo.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyghost/phantom/55f31512a9381e2e4b8a7a7274225acd24674240/phantom/x64/Debug/moc_TcpClientVideo.obj -------------------------------------------------------------------------------- /phantom/x64/Debug/moc_Wave.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyghost/phantom/55f31512a9381e2e4b8a7a7274225acd24674240/phantom/x64/Debug/moc_Wave.obj -------------------------------------------------------------------------------- /phantom/x64/Debug/moc_bridge.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyghost/phantom/55f31512a9381e2e4b8a7a7274225acd24674240/phantom/x64/Debug/moc_bridge.obj -------------------------------------------------------------------------------- /phantom/x64/Debug/moc_core.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyghost/phantom/55f31512a9381e2e4b8a7a7274225acd24674240/phantom/x64/Debug/moc_core.obj -------------------------------------------------------------------------------- /phantom/x64/Debug/moc_phantom.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyghost/phantom/55f31512a9381e2e4b8a7a7274225acd24674240/phantom/x64/Debug/moc_phantom.obj -------------------------------------------------------------------------------- /phantom/x64/Debug/moc_qchartviewer.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyghost/phantom/55f31512a9381e2e4b8a7a7274225acd24674240/phantom/x64/Debug/moc_qchartviewer.obj -------------------------------------------------------------------------------- /phantom/x64/Debug/moc_websocketclientwrapper.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyghost/phantom/55f31512a9381e2e4b8a7a7274225acd24674240/phantom/x64/Debug/moc_websocketclientwrapper.obj -------------------------------------------------------------------------------- /phantom/x64/Debug/moc_websockettransport.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyghost/phantom/55f31512a9381e2e4b8a7a7274225acd24674240/phantom/x64/Debug/moc_websockettransport.obj -------------------------------------------------------------------------------- /phantom/x64/Debug/phantom.log: -------------------------------------------------------------------------------- 1 |  Wave.cpp 2 | phantom.vcxproj -> H:\qtDocument\VSQT\phantom\x64\Debug\phantom.exe 3 | -------------------------------------------------------------------------------- /phantom/x64/Debug/phantom.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyghost/phantom/55f31512a9381e2e4b8a7a7274225acd24674240/phantom/x64/Debug/phantom.obj -------------------------------------------------------------------------------- /phantom/x64/Debug/phantom.tlog/CL.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyghost/phantom/55f31512a9381e2e4b8a7a7274225acd24674240/phantom/x64/Debug/phantom.tlog/CL.command.1.tlog -------------------------------------------------------------------------------- /phantom/x64/Debug/phantom.tlog/CL.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyghost/phantom/55f31512a9381e2e4b8a7a7274225acd24674240/phantom/x64/Debug/phantom.tlog/CL.read.1.tlog -------------------------------------------------------------------------------- /phantom/x64/Debug/phantom.tlog/CL.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyghost/phantom/55f31512a9381e2e4b8a7a7274225acd24674240/phantom/x64/Debug/phantom.tlog/CL.write.1.tlog -------------------------------------------------------------------------------- /phantom/x64/Debug/phantom.tlog/link.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyghost/phantom/55f31512a9381e2e4b8a7a7274225acd24674240/phantom/x64/Debug/phantom.tlog/link.command.1.tlog -------------------------------------------------------------------------------- /phantom/x64/Debug/phantom.tlog/link.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyghost/phantom/55f31512a9381e2e4b8a7a7274225acd24674240/phantom/x64/Debug/phantom.tlog/link.read.1.tlog -------------------------------------------------------------------------------- /phantom/x64/Debug/phantom.tlog/link.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyghost/phantom/55f31512a9381e2e4b8a7a7274225acd24674240/phantom/x64/Debug/phantom.tlog/link.write.1.tlog -------------------------------------------------------------------------------- /phantom/x64/Debug/phantom.tlog/phantom.lastbuildstate: -------------------------------------------------------------------------------- 1 | #TargetFrameworkVersion=v4.0:PlatformToolSet=v141:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit:WindowsTargetPlatformVersion=10.0.17134.0 2 | Debug|x64|H:\qtDocument\VSQT\phantom\| 3 | -------------------------------------------------------------------------------- /phantom/x64/Debug/phantom.tlog/phantom.write.1u.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyghost/phantom/55f31512a9381e2e4b8a7a7274225acd24674240/phantom/x64/Debug/phantom.tlog/phantom.write.1u.tlog -------------------------------------------------------------------------------- /phantom/x64/Debug/qchartviewer.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyghost/phantom/55f31512a9381e2e4b8a7a7274225acd24674240/phantom/x64/Debug/qchartviewer.obj -------------------------------------------------------------------------------- /phantom/x64/Debug/qrc_phantom.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyghost/phantom/55f31512a9381e2e4b8a7a7274225acd24674240/phantom/x64/Debug/qrc_phantom.obj -------------------------------------------------------------------------------- /phantom/x64/Debug/qt.log: -------------------------------------------------------------------------------- 1 | SerialPort.h|"H:\qtDocument\VSQT\phantom\phantom\SerialPort.h" -o ".\GeneratedFiles\Debug\moc_SerialPort.cpp" "-I.\GeneratedFiles" "-I." "-IE:\QT\QT\5.11.0\msvc2017_64\include" "-I.\GeneratedFiles\Debug\." "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtCore" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtGui" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtANGLE" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtWidgets" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtSerialPort" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtSerialBus" -DUNICODE -D_UNICODE -DWIN32 -DWIN64 -DQT_DLL -DQT_CORE_LIB -DQT_GUI_LIB -DQT_WIDGETS_LIB -DQT_SERIALPORT_LIB -DQT_SERIALBUS_LIB 2 | chart\qchartviewer.h|"H:\qtDocument\VSQT\phantom\phantom\chart\qchartviewer.h" -o ".\GeneratedFiles\Debug\moc_qchartviewer.cpp" "-I.\GeneratedFiles" "-I." "-IE:\QT\QT\5.11.0\msvc2017_64\include" "-I.\GeneratedFiles\Debug\." "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtCore" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtGui" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtANGLE" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtWidgets" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtSerialPort" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtSerialBus" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtNetwork" -DUNICODE -D_UNICODE -DWIN32 -DWIN64 -DQT_DLL -DQT_CORE_LIB -DQT_GUI_LIB -DQT_WIDGETS_LIB -DQT_SERIALPORT_LIB -DQT_SERIALBUS_LIB -DQT_NETWORK_LIB 3 | chart\realtimemultithread.h|"H:\qtDocument\VSQT\phantom\phantom\chart\realtimemultithread.h" -o ".\GeneratedFiles\Debug\moc_realtimemultithread.cpp" "-I.\GeneratedFiles" "-I." "-IE:\QT\QT\5.11.0\msvc2017_64\include" "-I.\GeneratedFiles\Debug\." "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtCore" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtGui" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtANGLE" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtWidgets" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtSerialPort" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtSerialBus" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtNetwork" -DUNICODE -D_UNICODE -DWIN32 -DWIN64 -DQT_DLL -DQT_CORE_LIB -DQT_GUI_LIB -DQT_WIDGETS_LIB -DQT_SERIALPORT_LIB -DQT_SERIALBUS_LIB -DQT_NETWORK_LIB 4 | chart\randomwalk.h|"H:\qtDocument\VSQT\phantom\phantom\chart\randomwalk.h" -o ".\GeneratedFiles\Debug\moc_randomwalk.cpp" "-I.\GeneratedFiles" "-I." "-IE:\QT\QT\5.11.0\msvc2017_64\include" "-I.\GeneratedFiles\Debug\." "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtCore" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtGui" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtANGLE" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtWidgets" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtSerialPort" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtSerialBus" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtNetwork" -DUNICODE -D_UNICODE -DWIN32 -DWIN64 -DQT_DLL -DQT_CORE_LIB -DQT_GUI_LIB -DQT_WIDGETS_LIB -DQT_SERIALPORT_LIB -DQT_SERIALBUS_LIB -DQT_NETWORK_LIB 5 | phantom.qrc|"H:\qtDocument\VSQT\phantom\phantom\phantom.qrc" -o ".\GeneratedFiles\qrc_phantom.cpp" --name phantom 6 | TcpClient.h|"H:\qtDocument\VSQT\phantom\phantom\TcpClient.h" -o ".\GeneratedFiles\Debug\moc_TcpClient.cpp" "-I.\GeneratedFiles" "-I." "-IE:\QT\QT\5.11.0\msvc2017_64\include" "-I.\GeneratedFiles\Debug\." "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtCore" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtGui" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtANGLE" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtWidgets" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtSerialPort" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtSerialBus" -DUNICODE -D_UNICODE -DWIN32 -DWIN64 -DQT_DLL -DQT_CORE_LIB -DQT_GUI_LIB -DQT_WIDGETS_LIB -DQT_SERIALPORT_LIB -DQT_SERIALBUS_LIB 7 | websockettransport.h|"H:\qtDocument\VSQT\phantom\phantom\websockettransport.h" -o ".\GeneratedFiles\Debug\moc_websockettransport.cpp" "-IH:\qtDocument\VSQT\phantom\phantom\chart" "-I.\GeneratedFiles" "-I." "-IE:\QT\QT\5.11.0\msvc2017_64\include" "-I.\GeneratedFiles\Debug\." "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtCore" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtGui" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtANGLE" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtWidgets" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtSerialPort" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtSerialBus" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtNetwork" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtWebEngine" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtWebEngineCore" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtWebChannel" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtWebSockets" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtWebEngineWidgets" -DUNICODE -D_UNICODE -DWIN32 -DWIN64 -DQT_DLL -DQT_CORE_LIB -DQT_GUI_LIB -DQT_WIDGETS_LIB -DQT_SERIALPORT_LIB -DQT_SERIALBUS_LIB -DQT_NETWORK_LIB -DQT_WEBENGINE_LIB -DQT_WEBENGINECORE_LIB -DQT_WEBCHANNEL_LIB -DQT_WEBSOCKETS_LIB -DQT_WEBENGINEWIDGETS_LIB 8 | websocketclientwrapper.h|"H:\qtDocument\VSQT\phantom\phantom\websocketclientwrapper.h" -o ".\GeneratedFiles\Debug\moc_websocketclientwrapper.cpp" "-IH:\qtDocument\VSQT\phantom\phantom\chart" "-I.\GeneratedFiles" "-I." "-IE:\QT\QT\5.11.0\msvc2017_64\include" "-I.\GeneratedFiles\Debug\." "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtCore" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtGui" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtANGLE" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtWidgets" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtSerialPort" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtSerialBus" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtNetwork" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtWebEngine" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtWebEngineCore" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtWebChannel" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtWebSockets" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtWebEngineWidgets" -DUNICODE -D_UNICODE -DWIN32 -DWIN64 -DQT_DLL -DQT_CORE_LIB -DQT_GUI_LIB -DQT_WIDGETS_LIB -DQT_SERIALPORT_LIB -DQT_SERIALBUS_LIB -DQT_NETWORK_LIB -DQT_WEBENGINE_LIB -DQT_WEBENGINECORE_LIB -DQT_WEBCHANNEL_LIB -DQT_WEBSOCKETS_LIB -DQT_WEBENGINEWIDGETS_LIB 9 | core.h|"H:\qtDocument\VSQT\phantom\phantom\core.h" -o ".\GeneratedFiles\Debug\moc_core.cpp" "-IH:\qtDocument\VSQT\phantom\phantom\chart" "-I.\GeneratedFiles" "-I." "-IE:\QT\QT\5.11.0\msvc2017_64\include" "-I.\GeneratedFiles\Debug\." "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtCore" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtGui" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtANGLE" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtWidgets" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtSerialPort" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtSerialBus" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtNetwork" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtWebEngine" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtWebEngineCore" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtWebChannel" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtWebSockets" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtWebEngineWidgets" -DUNICODE -D_UNICODE -DWIN32 -DWIN64 -DQT_DLL -DQT_CORE_LIB -DQT_GUI_LIB -DQT_WIDGETS_LIB -DQT_SERIALPORT_LIB -DQT_SERIALBUS_LIB -DQT_NETWORK_LIB -DQT_WEBENGINE_LIB -DQT_WEBENGINECORE_LIB -DQT_WEBCHANNEL_LIB -DQT_WEBSOCKETS_LIB -DQT_WEBENGINEWIDGETS_LIB 10 | BaiduMap.h|"H:\qtDocument\VSQT\phantom\phantom\BaiduMap.h" -o ".\GeneratedFiles\Debug\moc_BaiduMap.cpp" "-IH:\qtDocument\VSQT\phantom\phantom\chart" "-I.\GeneratedFiles" "-I." "-IE:\QT\QT\5.11.0\msvc2017_64\include" "-I.\GeneratedFiles\Debug\." "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtCore" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtGui" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtANGLE" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtWidgets" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtSerialPort" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtSerialBus" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtNetwork" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtWebEngine" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtWebEngineCore" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtWebChannel" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtWebSockets" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtWebEngineWidgets" -DUNICODE -D_UNICODE -DWIN32 -DWIN64 -DQT_DLL -DQT_CORE_LIB -DQT_GUI_LIB -DQT_WIDGETS_LIB -DQT_SERIALPORT_LIB -DQT_SERIALBUS_LIB -DQT_NETWORK_LIB -DQT_WEBENGINE_LIB -DQT_WEBENGINECORE_LIB -DQT_WEBCHANNEL_LIB -DQT_WEBSOCKETS_LIB -DQT_WEBENGINEWIDGETS_LIB 11 | bridge.h|"H:\qtDocument\VSQT\phantom\phantom\bridge.h" -o ".\GeneratedFiles\Debug\moc_bridge.cpp" "-IH:\qtDocument\VSQT\phantom\phantom\chart" "-I.\GeneratedFiles" "-I." "-IE:\QT\QT\5.11.0\msvc2017_64\include" "-I.\GeneratedFiles\Debug\." "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtCore" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtGui" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtANGLE" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtWidgets" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtSerialPort" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtSerialBus" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtNetwork" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtWebEngine" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtWebEngineCore" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtWebChannel" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtWebSockets" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtWebEngineWidgets" -DUNICODE -D_UNICODE -DWIN32 -DWIN64 -DQT_DLL -DQT_CORE_LIB -DQT_GUI_LIB -DQT_WIDGETS_LIB -DQT_SERIALPORT_LIB -DQT_SERIALBUS_LIB -DQT_NETWORK_LIB -DQT_WEBENGINE_LIB -DQT_WEBENGINECORE_LIB -DQT_WEBCHANNEL_LIB -DQT_WEBSOCKETS_LIB -DQT_WEBENGINEWIDGETS_LIB 12 | TcpClientVideo.h|"H:\qtDocument\VSQT\phantom\phantom\TcpClientVideo.h" -o ".\GeneratedFiles\Debug\moc_TcpClientVideo.cpp" "-IH:\qtDocument\VSQT\phantom\phantom\chart" "-I.\GeneratedFiles" "-I." "-IE:\QT\QT\5.11.0\msvc2017_64\include" "-I.\GeneratedFiles\Debug\." "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtCore" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtGui" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtANGLE" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtWidgets" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtSerialPort" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtSerialBus" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtNetwork" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtWebEngine" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtWebEngineCore" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtWebChannel" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtWebSockets" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtWebEngineWidgets" -DUNICODE -D_UNICODE -DWIN32 -DWIN64 -DQT_DLL -DQT_CORE_LIB -DQT_GUI_LIB -DQT_WIDGETS_LIB -DQT_SERIALPORT_LIB -DQT_SERIALBUS_LIB -DQT_NETWORK_LIB -DQT_WEBENGINE_LIB -DQT_WEBENGINECORE_LIB -DQT_WEBCHANNEL_LIB -DQT_WEBSOCKETS_LIB -DQT_WEBENGINEWIDGETS_LIB 13 | phantom.h|"H:\qtDocument\VSQT\phantom\phantom\phantom.h" -o ".\GeneratedFiles\Debug\moc_phantom.cpp" "-IH:\qtDocument\VSQT\phantom\phantom\chart" "-I.\GeneratedFiles" "-I." "-IE:\QT\QT\5.11.0\msvc2017_64\include" "-I.\GeneratedFiles\Debug" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtCore" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtGui" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtANGLE" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtWidgets" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtSerialPort" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtSerialBus" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtNetwork" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtWebEngine" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtWebEngineCore" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtWebChannel" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtWebSockets" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtWebEngineWidgets" -DUNICODE -D_UNICODE -DWIN32 -DWIN64 -DQT_DLL -DQT_CORE_LIB -DQT_GUI_LIB -DQT_WIDGETS_LIB -DQT_SERIALPORT_LIB -DQT_SERIALBUS_LIB -DQT_NETWORK_LIB -DQT_WEBENGINE_LIB -DQT_WEBENGINECORE_LIB -DQT_WEBCHANNEL_LIB -DQT_WEBSOCKETS_LIB -DQT_WEBENGINEWIDGETS_LIB 14 | phantom.ui|"H:\qtDocument\VSQT\phantom\phantom\phantom.ui" -o ".\GeneratedFiles\ui_phantom.h" 15 | Wave.h|"H:\qtDocument\VSQT\phantom\phantom\Wave.h" -o ".\GeneratedFiles\Debug\moc_Wave.cpp" "-IH:\qtDocument\VSQT\phantom\phantom\chart" "-I.\GeneratedFiles" "-I." "-IE:\QT\QT\5.11.0\msvc2017_64\include" "-I.\GeneratedFiles\Debug\." "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtCore" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtGui" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtANGLE" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtWidgets" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtSerialPort" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtSerialBus" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtNetwork" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtWebEngine" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtWebEngineCore" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtWebChannel" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtWebSockets" "-IE:\QT\QT\5.11.0\msvc2017_64\include\QtWebEngineWidgets" -DUNICODE -D_UNICODE -DWIN32 -DWIN64 -DQT_DLL -DQT_CORE_LIB -DQT_GUI_LIB -DQT_WIDGETS_LIB -DQT_SERIALPORT_LIB -DQT_SERIALBUS_LIB -DQT_NETWORK_LIB -DQT_WEBENGINE_LIB -DQT_WEBENGINECORE_LIB -DQT_WEBCHANNEL_LIB -DQT_WEBSOCKETS_LIB -DQT_WEBENGINEWIDGETS_LIB 16 | -------------------------------------------------------------------------------- /phantom/x64/Debug/vc141.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyghost/phantom/55f31512a9381e2e4b8a7a7274225acd24674240/phantom/x64/Debug/vc141.pdb -------------------------------------------------------------------------------- /phantom/x64/Debug/websocketclientwrapper.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyghost/phantom/55f31512a9381e2e4b8a7a7274225acd24674240/phantom/x64/Debug/websocketclientwrapper.obj -------------------------------------------------------------------------------- /phantom/x64/Debug/websockettransport.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyghost/phantom/55f31512a9381e2e4b8a7a7274225acd24674240/phantom/x64/Debug/websockettransport.obj --------------------------------------------------------------------------------