mirror of https://github.com/EspoTek/Labrador.git
Moved to unix. Tested on Mac, anyway. Also fixed bug on Windows + CR/LF issues.
This commit is contained in:
parent
fa59da633e
commit
e1f0ced8b4
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,10 +1,10 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE QtCreatorProject>
|
||||
<!-- Written by QtCreator 4.1.0, 2017-02-08T10:45:14. -->
|
||||
<!-- Written by QtCreator 4.1.0, 2017-02-08T13:13:47. -->
|
||||
<qtcreator>
|
||||
<data>
|
||||
<variable>EnvironmentId</variable>
|
||||
<value type="QByteArray">{5435f0c8-6711-4749-aed4-cbb8cc75428f}</value>
|
||||
<value type="QByteArray">{269d77a6-d907-430c-8ea8-15ecdb65537f}</value>
|
||||
</data>
|
||||
<data>
|
||||
<variable>ProjectExplorer.Project.ActiveTarget</variable>
|
||||
|
@ -59,14 +59,14 @@
|
|||
<data>
|
||||
<variable>ProjectExplorer.Project.Target.0</variable>
|
||||
<valuemap type="QVariantMap">
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop Qt 5.7.0 MSVC2013 64bit</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop Qt 5.7.0 MSVC2013 64bit</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">qt.57.win64_msvc2013_64_kit</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop Qt 5.7.0 clang 64bit</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop Qt 5.7.0 clang 64bit</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">qt.57.clang_64_kit</value>
|
||||
<value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">1</value>
|
||||
<value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
|
||||
<value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0">
|
||||
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">C:/Users/Esposch/Documents/GitHub/Labrador/Desktop Interface</value>
|
||||
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/Users/esposch/Labrador/build-Labrador-Desktop_Qt_5_7_0_clang_64bit-Debug</value>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
|
@ -74,7 +74,7 @@
|
|||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">true</value>
|
||||
<value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
|
||||
<value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments">-v</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.SeparateDebugInfo">false</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.UseQtQuickCompiler">false</value>
|
||||
|
@ -84,7 +84,10 @@
|
|||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
|
||||
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
|
||||
<value type="QString">-w</value>
|
||||
<value type="QString">-r</value>
|
||||
</valuelist>
|
||||
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
|
||||
|
@ -100,7 +103,10 @@
|
|||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
|
||||
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
|
||||
<value type="QString">-w</value>
|
||||
<value type="QString">-r</value>
|
||||
</valuelist>
|
||||
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
|
||||
|
@ -120,7 +126,7 @@
|
|||
<value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.1">
|
||||
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">C:/Users/Esposch/Documents/GitHub/Labrador/Desktop Interface</value>
|
||||
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/Users/esposch/Desktop/Labrador/Desktop Interface</value>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
|
@ -138,7 +144,10 @@
|
|||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
|
||||
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
|
||||
<value type="QString">-w</value>
|
||||
<value type="QString">-r</value>
|
||||
</valuelist>
|
||||
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
|
||||
|
@ -154,7 +163,10 @@
|
|||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
|
||||
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
|
||||
<value type="QString">-w</value>
|
||||
<value type="QString">-r</value>
|
||||
</valuelist>
|
||||
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
|
||||
|
@ -174,7 +186,7 @@
|
|||
<value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.2">
|
||||
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">C:/Users/Esposch/Documents/GitHub/Labrador/build-Labrador-Desktop_Qt_5_7_0_MSVC2013_64bit-Profile</value>
|
||||
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/Users/esposch/Labrador/build-Labrador-Desktop_Qt_5_7_0_clang_64bit-Profile</value>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
|
@ -192,7 +204,10 @@
|
|||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
|
||||
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
|
||||
<value type="QString">-w</value>
|
||||
<value type="QString">-r</value>
|
||||
</valuelist>
|
||||
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
|
||||
|
@ -208,7 +223,10 @@
|
|||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
|
||||
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
|
||||
<value type="QString">-w</value>
|
||||
<value type="QString">-r</value>
|
||||
</valuelist>
|
||||
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
|
||||
|
@ -286,13 +304,13 @@
|
|||
<valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Labrador</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration:C:/Users/Esposch/Documents/GitHub/Labrador/Desktop Interface/Labrador.pro</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration:/Users/esposch/Labrador/Desktop Interface/Labrador.pro</value>
|
||||
<value type="bool" key="QmakeProjectManager.QmakeRunConfiguration.UseLibrarySearchPath">true</value>
|
||||
<value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"></value>
|
||||
<value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">Labrador.pro</value>
|
||||
<value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix">false</value>
|
||||
<value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"></value>
|
||||
<value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory.default"></value>
|
||||
<value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory.default">/Users/esposch/Desktop/Labrador/Desktop Interface/bin/Labrador.app/Contents/MacOS</value>
|
||||
<value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
|
||||
<value type="bool" key="RunConfiguration.UseCppDebugger">false</value>
|
||||
<value type="bool" key="RunConfiguration.UseCppDebuggerAuto">true</value>
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -29,12 +29,15 @@ void functionGenControl::waveformName_CH1(QString newName)
|
|||
qFatal("%s could not be opened!", fileName);
|
||||
}
|
||||
|
||||
char lengthString[5];
|
||||
char lengthString[6];
|
||||
fgets(lengthString, 5, fptr);
|
||||
qDebug() << lengthString;
|
||||
sscanf(lengthString, "%d", &length_CH1);
|
||||
|
||||
char divisibilityString[5];
|
||||
fgets(divisibilityString, 5, fptr);
|
||||
char divisibilityString[6];
|
||||
//Bit of bullshit to deal with CRLF line endings on Mac.
|
||||
do fgets(divisibilityString, 5, fptr);
|
||||
while ((divisibilityString[0] == '\r') || (divisibilityString[0] == '\n'));
|
||||
sscanf(divisibilityString, "%d", &divisibility_CH1);
|
||||
|
||||
qDebug() << "Length = " << length_CH1;
|
||||
|
@ -103,7 +106,9 @@ void functionGenControl::waveformName_CH2(QString newName)
|
|||
sscanf(lengthString, "%d", &length_CH2);
|
||||
|
||||
char divisibilityString[5];
|
||||
fgets(divisibilityString, 5, fptr);
|
||||
//Bit of bullshit to deal with CRLF line endings on Mac.
|
||||
do fgets(divisibilityString, 5, fptr);
|
||||
while ((divisibilityString[0] == '\r') || (divisibilityString[0] == '\n'));
|
||||
sscanf(divisibilityString, "%d", &divisibility_CH2);
|
||||
|
||||
qDebug() << "Length = " << length_CH2;
|
||||
|
|
Binary file not shown.
|
@ -18,7 +18,7 @@
|
|||
#define ISO_PACKET_SIZE 125
|
||||
#define ISO_PACKETS_PER_CTX 17
|
||||
#define NUM_FUTURE_CTX 36
|
||||
#define ISO_TIMER_PERIOD 16
|
||||
#define ISO_TIMER_PERIOD 1
|
||||
#define NUM_ISO_ENDPOINTS 6
|
||||
#define MAX_OVERLAP (NUM_FUTURE_CTX*NUM_ISO_ENDPOINTS + 1)
|
||||
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -60,7 +60,7 @@ MainWindow::MainWindow(QWidget *parent) :
|
|||
#ifdef PLATFORM_MAC
|
||||
//Reconnect the other objects.
|
||||
ui->controller_iso->driver->setBufferPtr(ui->bufferDisplay);
|
||||
connect(ui->pushButton, SIGNAL(clicked()), ui->controller_iso->driver, SLOT(avrDebug()));
|
||||
connect(ui->debugButton1, SIGNAL(clicked()), ui->controller_iso->driver, SLOT(avrDebug()));
|
||||
connect(ui->psuSlider, SIGNAL(voltageChanged(double)), ui->controller_iso->driver, SLOT(setPsu(double)));
|
||||
connect(ui->controller_iso, SIGNAL(setGain(double)), ui->controller_iso->driver, SLOT(setGain(double)));
|
||||
connect(ui->controller_fg, SIGNAL(functionGenToUpdate(int,functionGenControl*)), ui->controller_iso->driver, SLOT(setFunctionGen(int,functionGenControl*)));
|
||||
|
|
Binary file not shown.
|
@ -0,0 +1,366 @@
|
|||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'buffercontrol.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.7.0)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include "ui_elements/buffercontrol.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'buffercontrol.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.7.0. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
struct qt_meta_stringdata_bufferControl_t {
|
||||
QByteArrayData data[27];
|
||||
char stringdata0[320];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_bufferControl_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_bufferControl_t qt_meta_stringdata_bufferControl = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 13), // "bufferControl"
|
||||
QT_MOC_LITERAL(1, 14, 12), // "scopeOut_CH1"
|
||||
QT_MOC_LITERAL(2, 27, 0), // ""
|
||||
QT_MOC_LITERAL(3, 28, 5), // "state"
|
||||
QT_MOC_LITERAL(4, 34, 12), // "scopeOut_CH2"
|
||||
QT_MOC_LITERAL(5, 47, 12), // "scopeUncheck"
|
||||
QT_MOC_LITERAL(6, 60, 11), // "scopeDsrOut"
|
||||
QT_MOC_LITERAL(7, 72, 15), // "scopeDsrUncheck"
|
||||
QT_MOC_LITERAL(8, 88, 17), // "busSnifferOut_CH1"
|
||||
QT_MOC_LITERAL(9, 106, 17), // "busSnifferOut_CH2"
|
||||
QT_MOC_LITERAL(10, 124, 17), // "busSnifferUncheck"
|
||||
QT_MOC_LITERAL(11, 142, 13), // "multimeterOut"
|
||||
QT_MOC_LITERAL(12, 156, 9), // "updateDig"
|
||||
QT_MOC_LITERAL(13, 166, 7), // "digMask"
|
||||
QT_MOC_LITERAL(14, 174, 10), // "modeChange"
|
||||
QT_MOC_LITERAL(15, 185, 7), // "newMode"
|
||||
QT_MOC_LITERAL(16, 193, 11), // "scopeIn_CH1"
|
||||
QT_MOC_LITERAL(17, 205, 11), // "scopeIn_CH2"
|
||||
QT_MOC_LITERAL(18, 217, 10), // "scopeDsrIn"
|
||||
QT_MOC_LITERAL(19, 228, 16), // "busSnifferIn_CH1"
|
||||
QT_MOC_LITERAL(20, 245, 16), // "busSnifferIn_CH2"
|
||||
QT_MOC_LITERAL(21, 262, 12), // "multimeterIn"
|
||||
QT_MOC_LITERAL(22, 275, 9), // "digIn_CH1"
|
||||
QT_MOC_LITERAL(23, 285, 9), // "digIn_CH2"
|
||||
QT_MOC_LITERAL(24, 295, 9), // "digIn_CH3"
|
||||
QT_MOC_LITERAL(25, 305, 9), // "digIn_CH4"
|
||||
QT_MOC_LITERAL(26, 315, 4) // "poke"
|
||||
|
||||
},
|
||||
"bufferControl\0scopeOut_CH1\0\0state\0"
|
||||
"scopeOut_CH2\0scopeUncheck\0scopeDsrOut\0"
|
||||
"scopeDsrUncheck\0busSnifferOut_CH1\0"
|
||||
"busSnifferOut_CH2\0busSnifferUncheck\0"
|
||||
"multimeterOut\0updateDig\0digMask\0"
|
||||
"modeChange\0newMode\0scopeIn_CH1\0"
|
||||
"scopeIn_CH2\0scopeDsrIn\0busSnifferIn_CH1\0"
|
||||
"busSnifferIn_CH2\0multimeterIn\0digIn_CH1\0"
|
||||
"digIn_CH2\0digIn_CH3\0digIn_CH4\0poke"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_bufferControl[] = {
|
||||
|
||||
// content:
|
||||
7, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
22, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
11, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 1, 124, 2, 0x06 /* Public */,
|
||||
4, 1, 127, 2, 0x06 /* Public */,
|
||||
5, 1, 130, 2, 0x06 /* Public */,
|
||||
6, 1, 133, 2, 0x06 /* Public */,
|
||||
7, 1, 136, 2, 0x06 /* Public */,
|
||||
8, 1, 139, 2, 0x06 /* Public */,
|
||||
9, 1, 142, 2, 0x06 /* Public */,
|
||||
10, 1, 145, 2, 0x06 /* Public */,
|
||||
11, 1, 148, 2, 0x06 /* Public */,
|
||||
12, 1, 151, 2, 0x06 /* Public */,
|
||||
14, 1, 154, 2, 0x06 /* Public */,
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
16, 1, 157, 2, 0x0a /* Public */,
|
||||
17, 1, 160, 2, 0x0a /* Public */,
|
||||
18, 1, 163, 2, 0x0a /* Public */,
|
||||
19, 1, 166, 2, 0x0a /* Public */,
|
||||
20, 1, 169, 2, 0x0a /* Public */,
|
||||
21, 1, 172, 2, 0x0a /* Public */,
|
||||
22, 1, 175, 2, 0x0a /* Public */,
|
||||
23, 1, 178, 2, 0x0a /* Public */,
|
||||
24, 1, 181, 2, 0x0a /* Public */,
|
||||
25, 1, 184, 2, 0x0a /* Public */,
|
||||
26, 0, 187, 2, 0x0a /* Public */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, QMetaType::Bool, 3,
|
||||
QMetaType::Void, QMetaType::Bool, 3,
|
||||
QMetaType::Void, QMetaType::Bool, 3,
|
||||
QMetaType::Void, QMetaType::Bool, 3,
|
||||
QMetaType::Void, QMetaType::Bool, 3,
|
||||
QMetaType::Void, QMetaType::Bool, 3,
|
||||
QMetaType::Void, QMetaType::Bool, 3,
|
||||
QMetaType::Void, QMetaType::Bool, 3,
|
||||
QMetaType::Void, QMetaType::Bool, 3,
|
||||
QMetaType::Void, QMetaType::Int, 13,
|
||||
QMetaType::Void, QMetaType::Int, 15,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void, QMetaType::Bool, 3,
|
||||
QMetaType::Void, QMetaType::Bool, 3,
|
||||
QMetaType::Void, QMetaType::Bool, 3,
|
||||
QMetaType::Void, QMetaType::Bool, 3,
|
||||
QMetaType::Void, QMetaType::Bool, 3,
|
||||
QMetaType::Void, QMetaType::Bool, 3,
|
||||
QMetaType::Void, QMetaType::Bool, 3,
|
||||
QMetaType::Void, QMetaType::Bool, 3,
|
||||
QMetaType::Void, QMetaType::Bool, 3,
|
||||
QMetaType::Void, QMetaType::Bool, 3,
|
||||
QMetaType::Void,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void bufferControl::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
bufferControl *_t = static_cast<bufferControl *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->scopeOut_CH1((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 1: _t->scopeOut_CH2((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 2: _t->scopeUncheck((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 3: _t->scopeDsrOut((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 4: _t->scopeDsrUncheck((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 5: _t->busSnifferOut_CH1((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 6: _t->busSnifferOut_CH2((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 7: _t->busSnifferUncheck((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 8: _t->multimeterOut((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 9: _t->updateDig((*reinterpret_cast< int(*)>(_a[1]))); break;
|
||||
case 10: _t->modeChange((*reinterpret_cast< int(*)>(_a[1]))); break;
|
||||
case 11: _t->scopeIn_CH1((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 12: _t->scopeIn_CH2((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 13: _t->scopeDsrIn((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 14: _t->busSnifferIn_CH1((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 15: _t->busSnifferIn_CH2((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 16: _t->multimeterIn((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 17: _t->digIn_CH1((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 18: _t->digIn_CH2((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 19: _t->digIn_CH3((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 20: _t->digIn_CH4((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 21: _t->poke(); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
void **func = reinterpret_cast<void **>(_a[1]);
|
||||
{
|
||||
typedef void (bufferControl::*_t)(bool );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&bufferControl::scopeOut_CH1)) {
|
||||
*result = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (bufferControl::*_t)(bool );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&bufferControl::scopeOut_CH2)) {
|
||||
*result = 1;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (bufferControl::*_t)(bool );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&bufferControl::scopeUncheck)) {
|
||||
*result = 2;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (bufferControl::*_t)(bool );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&bufferControl::scopeDsrOut)) {
|
||||
*result = 3;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (bufferControl::*_t)(bool );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&bufferControl::scopeDsrUncheck)) {
|
||||
*result = 4;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (bufferControl::*_t)(bool );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&bufferControl::busSnifferOut_CH1)) {
|
||||
*result = 5;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (bufferControl::*_t)(bool );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&bufferControl::busSnifferOut_CH2)) {
|
||||
*result = 6;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (bufferControl::*_t)(bool );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&bufferControl::busSnifferUncheck)) {
|
||||
*result = 7;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (bufferControl::*_t)(bool );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&bufferControl::multimeterOut)) {
|
||||
*result = 8;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (bufferControl::*_t)(int );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&bufferControl::updateDig)) {
|
||||
*result = 9;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (bufferControl::*_t)(int );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&bufferControl::modeChange)) {
|
||||
*result = 10;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const QMetaObject bufferControl::staticMetaObject = {
|
||||
{ &QLabel::staticMetaObject, qt_meta_stringdata_bufferControl.data,
|
||||
qt_meta_data_bufferControl, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
|
||||
};
|
||||
|
||||
|
||||
const QMetaObject *bufferControl::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *bufferControl::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return Q_NULLPTR;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_bufferControl.stringdata0))
|
||||
return static_cast<void*>(const_cast< bufferControl*>(this));
|
||||
return QLabel::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int bufferControl::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QLabel::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 22)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 22;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 22)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 22;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void bufferControl::scopeOut_CH1(bool _t1)
|
||||
{
|
||||
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 1
|
||||
void bufferControl::scopeOut_CH2(bool _t1)
|
||||
{
|
||||
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 1, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 2
|
||||
void bufferControl::scopeUncheck(bool _t1)
|
||||
{
|
||||
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 2, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 3
|
||||
void bufferControl::scopeDsrOut(bool _t1)
|
||||
{
|
||||
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 3, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 4
|
||||
void bufferControl::scopeDsrUncheck(bool _t1)
|
||||
{
|
||||
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 4, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 5
|
||||
void bufferControl::busSnifferOut_CH1(bool _t1)
|
||||
{
|
||||
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 5, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 6
|
||||
void bufferControl::busSnifferOut_CH2(bool _t1)
|
||||
{
|
||||
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 6, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 7
|
||||
void bufferControl::busSnifferUncheck(bool _t1)
|
||||
{
|
||||
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 7, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 8
|
||||
void bufferControl::multimeterOut(bool _t1)
|
||||
{
|
||||
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 8, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 9
|
||||
void bufferControl::updateDig(int _t1)
|
||||
{
|
||||
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 9, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 10
|
||||
void bufferControl::modeChange(int _t1)
|
||||
{
|
||||
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 10, _a);
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
Binary file not shown.
|
@ -0,0 +1,180 @@
|
|||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'cursorenabler.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.7.0)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include "ui_elements/cursorenabler.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'cursorenabler.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.7.0. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
struct qt_meta_stringdata_cursorEnabler_t {
|
||||
QByteArrayData data[10];
|
||||
char stringdata0[99];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_cursorEnabler_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_cursorEnabler_t qt_meta_stringdata_cursorEnabler = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 13), // "cursorEnabler"
|
||||
QT_MOC_LITERAL(1, 14, 8), // "tickHori"
|
||||
QT_MOC_LITERAL(2, 23, 0), // ""
|
||||
QT_MOC_LITERAL(3, 24, 8), // "tickVert"
|
||||
QT_MOC_LITERAL(4, 33, 12), // "passOnSignal"
|
||||
QT_MOC_LITERAL(5, 46, 12), // "QMouseEvent*"
|
||||
QT_MOC_LITERAL(6, 59, 5), // "event"
|
||||
QT_MOC_LITERAL(7, 65, 11), // "setTurnedOn"
|
||||
QT_MOC_LITERAL(8, 77, 7), // "enabled"
|
||||
QT_MOC_LITERAL(9, 85, 13) // "clickDetected"
|
||||
|
||||
},
|
||||
"cursorEnabler\0tickHori\0\0tickVert\0"
|
||||
"passOnSignal\0QMouseEvent*\0event\0"
|
||||
"setTurnedOn\0enabled\0clickDetected"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_cursorEnabler[] = {
|
||||
|
||||
// content:
|
||||
7, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
5, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
3, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 1, 39, 2, 0x06 /* Public */,
|
||||
3, 1, 42, 2, 0x06 /* Public */,
|
||||
4, 1, 45, 2, 0x06 /* Public */,
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
7, 1, 48, 2, 0x0a /* Public */,
|
||||
9, 1, 51, 2, 0x0a /* Public */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, QMetaType::Bool, 2,
|
||||
QMetaType::Void, QMetaType::Bool, 2,
|
||||
QMetaType::Void, 0x80000000 | 5, 6,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void, QMetaType::Bool, 8,
|
||||
QMetaType::Void, 0x80000000 | 5, 6,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void cursorEnabler::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
cursorEnabler *_t = static_cast<cursorEnabler *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->tickHori((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 1: _t->tickVert((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 2: _t->passOnSignal((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break;
|
||||
case 3: _t->setTurnedOn((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 4: _t->clickDetected((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
void **func = reinterpret_cast<void **>(_a[1]);
|
||||
{
|
||||
typedef void (cursorEnabler::*_t)(bool );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&cursorEnabler::tickHori)) {
|
||||
*result = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (cursorEnabler::*_t)(bool );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&cursorEnabler::tickVert)) {
|
||||
*result = 1;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (cursorEnabler::*_t)(QMouseEvent * );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&cursorEnabler::passOnSignal)) {
|
||||
*result = 2;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const QMetaObject cursorEnabler::staticMetaObject = {
|
||||
{ &QLabel::staticMetaObject, qt_meta_stringdata_cursorEnabler.data,
|
||||
qt_meta_data_cursorEnabler, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
|
||||
};
|
||||
|
||||
|
||||
const QMetaObject *cursorEnabler::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *cursorEnabler::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return Q_NULLPTR;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_cursorEnabler.stringdata0))
|
||||
return static_cast<void*>(const_cast< cursorEnabler*>(this));
|
||||
return QLabel::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int cursorEnabler::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QLabel::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 5)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 5;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 5)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 5;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void cursorEnabler::tickHori(bool _t1)
|
||||
{
|
||||
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 1
|
||||
void cursorEnabler::tickVert(bool _t1)
|
||||
{
|
||||
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 1, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 2
|
||||
void cursorEnabler::passOnSignal(QMouseEvent * _t1)
|
||||
{
|
||||
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 2, _a);
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
Binary file not shown.
|
@ -0,0 +1,112 @@
|
|||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'deviceconnecteddisplay.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.7.0)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include "ui_elements/deviceconnecteddisplay.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'deviceconnecteddisplay.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.7.0. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
struct qt_meta_stringdata_deviceConnectedDisplay_t {
|
||||
QByteArrayData data[4];
|
||||
char stringdata0[54];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_deviceConnectedDisplay_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_deviceConnectedDisplay_t qt_meta_stringdata_deviceConnectedDisplay = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 22), // "deviceConnectedDisplay"
|
||||
QT_MOC_LITERAL(1, 23, 22), // "connectedStatusChanged"
|
||||
QT_MOC_LITERAL(2, 46, 0), // ""
|
||||
QT_MOC_LITERAL(3, 47, 6) // "status"
|
||||
|
||||
},
|
||||
"deviceConnectedDisplay\0connectedStatusChanged\0"
|
||||
"\0status"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_deviceConnectedDisplay[] = {
|
||||
|
||||
// content:
|
||||
7, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
1, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
1, 1, 19, 2, 0x0a /* Public */,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void, QMetaType::Bool, 3,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void deviceConnectedDisplay::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
deviceConnectedDisplay *_t = static_cast<deviceConnectedDisplay *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->connectedStatusChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
default: ;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const QMetaObject deviceConnectedDisplay::staticMetaObject = {
|
||||
{ &QLabel::staticMetaObject, qt_meta_stringdata_deviceConnectedDisplay.data,
|
||||
qt_meta_data_deviceConnectedDisplay, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
|
||||
};
|
||||
|
||||
|
||||
const QMetaObject *deviceConnectedDisplay::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *deviceConnectedDisplay::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return Q_NULLPTR;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_deviceConnectedDisplay.stringdata0))
|
||||
return static_cast<void*>(const_cast< deviceConnectedDisplay*>(this));
|
||||
return QLabel::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int deviceConnectedDisplay::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QLabel::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 1)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 1;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 1)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 1;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
Binary file not shown.
|
@ -0,0 +1,89 @@
|
|||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'espocombobox.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.7.0)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include "ui_elements/espocombobox.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'espocombobox.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.7.0. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
struct qt_meta_stringdata_espoComboBox_t {
|
||||
QByteArrayData data[1];
|
||||
char stringdata0[13];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_espoComboBox_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_espoComboBox_t qt_meta_stringdata_espoComboBox = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 12) // "espoComboBox"
|
||||
|
||||
},
|
||||
"espoComboBox"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_espoComboBox[] = {
|
||||
|
||||
// content:
|
||||
7, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
0, 0, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void espoComboBox::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
Q_UNUSED(_o);
|
||||
Q_UNUSED(_id);
|
||||
Q_UNUSED(_c);
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
const QMetaObject espoComboBox::staticMetaObject = {
|
||||
{ &QComboBox::staticMetaObject, qt_meta_stringdata_espoComboBox.data,
|
||||
qt_meta_data_espoComboBox, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
|
||||
};
|
||||
|
||||
|
||||
const QMetaObject *espoComboBox::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *espoComboBox::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return Q_NULLPTR;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_espoComboBox.stringdata0))
|
||||
return static_cast<void*>(const_cast< espoComboBox*>(this));
|
||||
return QComboBox::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int espoComboBox::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QComboBox::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
return _id;
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
Binary file not shown.
|
@ -0,0 +1,161 @@
|
|||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'esposlider.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.7.0)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include "ui_elements/esposlider.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'esposlider.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.7.0. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
struct qt_meta_stringdata_espoSlider_t {
|
||||
QByteArrayData data[9];
|
||||
char stringdata0[74];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_espoSlider_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_espoSlider_t qt_meta_stringdata_espoSlider = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 10), // "espoSlider"
|
||||
QT_MOC_LITERAL(1, 11, 6), // "lcdOut"
|
||||
QT_MOC_LITERAL(2, 18, 0), // ""
|
||||
QT_MOC_LITERAL(3, 19, 6), // "values"
|
||||
QT_MOC_LITERAL(4, 26, 14), // "voltageChanged"
|
||||
QT_MOC_LITERAL(5, 41, 10), // "newVoltage"
|
||||
QT_MOC_LITERAL(6, 52, 9), // "selfMoved"
|
||||
QT_MOC_LITERAL(7, 62, 6), // "newval"
|
||||
QT_MOC_LITERAL(8, 69, 4) // "poke"
|
||||
|
||||
},
|
||||
"espoSlider\0lcdOut\0\0values\0voltageChanged\0"
|
||||
"newVoltage\0selfMoved\0newval\0poke"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_espoSlider[] = {
|
||||
|
||||
// content:
|
||||
7, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
4, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
2, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 1, 34, 2, 0x06 /* Public */,
|
||||
4, 1, 37, 2, 0x06 /* Public */,
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
6, 1, 40, 2, 0x0a /* Public */,
|
||||
8, 0, 43, 2, 0x0a /* Public */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, QMetaType::QString, 3,
|
||||
QMetaType::Void, QMetaType::Double, 5,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void, QMetaType::Int, 7,
|
||||
QMetaType::Void,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void espoSlider::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
espoSlider *_t = static_cast<espoSlider *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->lcdOut((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 1: _t->voltageChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 2: _t->selfMoved((*reinterpret_cast< int(*)>(_a[1]))); break;
|
||||
case 3: _t->poke(); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
void **func = reinterpret_cast<void **>(_a[1]);
|
||||
{
|
||||
typedef void (espoSlider::*_t)(QString );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&espoSlider::lcdOut)) {
|
||||
*result = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (espoSlider::*_t)(double );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&espoSlider::voltageChanged)) {
|
||||
*result = 1;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const QMetaObject espoSlider::staticMetaObject = {
|
||||
{ &QSlider::staticMetaObject, qt_meta_stringdata_espoSlider.data,
|
||||
qt_meta_data_espoSlider, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
|
||||
};
|
||||
|
||||
|
||||
const QMetaObject *espoSlider::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *espoSlider::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return Q_NULLPTR;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_espoSlider.stringdata0))
|
||||
return static_cast<void*>(const_cast< espoSlider*>(this));
|
||||
return QSlider::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int espoSlider::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QSlider::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 4)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 4;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 4)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 4;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void espoSlider::lcdOut(QString _t1)
|
||||
{
|
||||
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 1
|
||||
void espoSlider::voltageChanged(double _t1)
|
||||
{
|
||||
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 1, _a);
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
Binary file not shown.
|
@ -0,0 +1,128 @@
|
|||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'espospinbox.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.7.0)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include "ui_elements/espospinbox.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'espospinbox.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.7.0. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
struct qt_meta_stringdata_espoSpinBox_t {
|
||||
QByteArrayData data[10];
|
||||
char stringdata0[84];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_espoSpinBox_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_espoSpinBox_t qt_meta_stringdata_espoSpinBox = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 11), // "espoSpinBox"
|
||||
QT_MOC_LITERAL(1, 12, 14), // "maximumChanged"
|
||||
QT_MOC_LITERAL(2, 27, 0), // ""
|
||||
QT_MOC_LITERAL(3, 28, 6), // "linked"
|
||||
QT_MOC_LITERAL(4, 35, 6), // "setMax"
|
||||
QT_MOC_LITERAL(5, 42, 6), // "newMax"
|
||||
QT_MOC_LITERAL(6, 49, 6), // "setMin"
|
||||
QT_MOC_LITERAL(7, 56, 6), // "newMin"
|
||||
QT_MOC_LITERAL(8, 63, 14), // "changeStepping"
|
||||
QT_MOC_LITERAL(9, 78, 5) // "value"
|
||||
|
||||
},
|
||||
"espoSpinBox\0maximumChanged\0\0linked\0"
|
||||
"setMax\0newMax\0setMin\0newMin\0changeStepping\0"
|
||||
"value"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_espoSpinBox[] = {
|
||||
|
||||
// content:
|
||||
7, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
4, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
1, 1, 34, 2, 0x0a /* Public */,
|
||||
4, 1, 37, 2, 0x0a /* Public */,
|
||||
6, 1, 40, 2, 0x0a /* Public */,
|
||||
8, 1, 43, 2, 0x0a /* Public */,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void, QMetaType::Double, 3,
|
||||
QMetaType::Void, QMetaType::Double, 5,
|
||||
QMetaType::Void, QMetaType::Double, 7,
|
||||
QMetaType::Void, QMetaType::Double, 9,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void espoSpinBox::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
espoSpinBox *_t = static_cast<espoSpinBox *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->maximumChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 1: _t->setMax((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 2: _t->setMin((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 3: _t->changeStepping((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
default: ;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const QMetaObject espoSpinBox::staticMetaObject = {
|
||||
{ &QDoubleSpinBox::staticMetaObject, qt_meta_stringdata_espoSpinBox.data,
|
||||
qt_meta_data_espoSpinBox, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
|
||||
};
|
||||
|
||||
|
||||
const QMetaObject *espoSpinBox::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *espoSpinBox::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return Q_NULLPTR;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_espoSpinBox.stringdata0))
|
||||
return static_cast<void*>(const_cast< espoSpinBox*>(this));
|
||||
return QDoubleSpinBox::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int espoSpinBox::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QDoubleSpinBox::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 4)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 4;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 4)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 4;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
Binary file not shown.
|
@ -0,0 +1,263 @@
|
|||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'functiongencontrol.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.7.0)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include "functiongencontrol.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'functiongencontrol.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.7.0. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
struct qt_meta_stringdata_functionGenControl_t {
|
||||
QByteArrayData data[24];
|
||||
char stringdata0[333];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_functionGenControl_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_functionGenControl_t qt_meta_stringdata_functionGenControl = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 18), // "functionGenControl"
|
||||
QT_MOC_LITERAL(1, 19, 19), // "functionGenToUpdate"
|
||||
QT_MOC_LITERAL(2, 39, 0), // ""
|
||||
QT_MOC_LITERAL(3, 40, 7), // "channel"
|
||||
QT_MOC_LITERAL(4, 48, 19), // "functionGenControl*"
|
||||
QT_MOC_LITERAL(5, 68, 11), // "fGenControl"
|
||||
QT_MOC_LITERAL(6, 80, 14), // "setMaxFreq_CH1"
|
||||
QT_MOC_LITERAL(7, 95, 7), // "maxFreq"
|
||||
QT_MOC_LITERAL(8, 103, 14), // "setMinFreq_CH1"
|
||||
QT_MOC_LITERAL(9, 118, 7), // "minFreq"
|
||||
QT_MOC_LITERAL(10, 126, 14), // "setMaxFreq_CH2"
|
||||
QT_MOC_LITERAL(11, 141, 14), // "setMinFreq_CH2"
|
||||
QT_MOC_LITERAL(12, 156, 16), // "waveformName_CH1"
|
||||
QT_MOC_LITERAL(13, 173, 7), // "newName"
|
||||
QT_MOC_LITERAL(14, 181, 14), // "freqUpdate_CH1"
|
||||
QT_MOC_LITERAL(15, 196, 7), // "newFreq"
|
||||
QT_MOC_LITERAL(16, 204, 19), // "amplitudeUpdate_CH1"
|
||||
QT_MOC_LITERAL(17, 224, 12), // "newAmplitude"
|
||||
QT_MOC_LITERAL(18, 237, 16), // "offsetUpdate_CH1"
|
||||
QT_MOC_LITERAL(19, 254, 9), // "newOffset"
|
||||
QT_MOC_LITERAL(20, 264, 16), // "waveformName_CH2"
|
||||
QT_MOC_LITERAL(21, 281, 14), // "freqUpdate_CH2"
|
||||
QT_MOC_LITERAL(22, 296, 19), // "amplitudeUpdate_CH2"
|
||||
QT_MOC_LITERAL(23, 316, 16) // "offsetUpdate_CH2"
|
||||
|
||||
},
|
||||
"functionGenControl\0functionGenToUpdate\0"
|
||||
"\0channel\0functionGenControl*\0fGenControl\0"
|
||||
"setMaxFreq_CH1\0maxFreq\0setMinFreq_CH1\0"
|
||||
"minFreq\0setMaxFreq_CH2\0setMinFreq_CH2\0"
|
||||
"waveformName_CH1\0newName\0freqUpdate_CH1\0"
|
||||
"newFreq\0amplitudeUpdate_CH1\0newAmplitude\0"
|
||||
"offsetUpdate_CH1\0newOffset\0waveformName_CH2\0"
|
||||
"freqUpdate_CH2\0amplitudeUpdate_CH2\0"
|
||||
"offsetUpdate_CH2"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_functionGenControl[] = {
|
||||
|
||||
// content:
|
||||
7, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
13, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
5, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 2, 79, 2, 0x06 /* Public */,
|
||||
6, 1, 84, 2, 0x06 /* Public */,
|
||||
8, 1, 87, 2, 0x06 /* Public */,
|
||||
10, 1, 90, 2, 0x06 /* Public */,
|
||||
11, 1, 93, 2, 0x06 /* Public */,
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
12, 1, 96, 2, 0x0a /* Public */,
|
||||
14, 1, 99, 2, 0x0a /* Public */,
|
||||
16, 1, 102, 2, 0x0a /* Public */,
|
||||
18, 1, 105, 2, 0x0a /* Public */,
|
||||
20, 1, 108, 2, 0x0a /* Public */,
|
||||
21, 1, 111, 2, 0x0a /* Public */,
|
||||
22, 1, 114, 2, 0x0a /* Public */,
|
||||
23, 1, 117, 2, 0x0a /* Public */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, QMetaType::Int, 0x80000000 | 4, 3, 5,
|
||||
QMetaType::Void, QMetaType::Double, 7,
|
||||
QMetaType::Void, QMetaType::Double, 9,
|
||||
QMetaType::Void, QMetaType::Double, 7,
|
||||
QMetaType::Void, QMetaType::Double, 9,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void, QMetaType::QString, 13,
|
||||
QMetaType::Void, QMetaType::Double, 15,
|
||||
QMetaType::Void, QMetaType::Double, 17,
|
||||
QMetaType::Void, QMetaType::Double, 19,
|
||||
QMetaType::Void, QMetaType::QString, 13,
|
||||
QMetaType::Void, QMetaType::Double, 15,
|
||||
QMetaType::Void, QMetaType::Double, 17,
|
||||
QMetaType::Void, QMetaType::Double, 19,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void functionGenControl::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
functionGenControl *_t = static_cast<functionGenControl *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->functionGenToUpdate((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< functionGenControl*(*)>(_a[2]))); break;
|
||||
case 1: _t->setMaxFreq_CH1((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 2: _t->setMinFreq_CH1((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 3: _t->setMaxFreq_CH2((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 4: _t->setMinFreq_CH2((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 5: _t->waveformName_CH1((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 6: _t->freqUpdate_CH1((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 7: _t->amplitudeUpdate_CH1((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 8: _t->offsetUpdate_CH1((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 9: _t->waveformName_CH2((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 10: _t->freqUpdate_CH2((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 11: _t->amplitudeUpdate_CH2((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 12: _t->offsetUpdate_CH2((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
switch (_id) {
|
||||
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
|
||||
case 0:
|
||||
switch (*reinterpret_cast<int*>(_a[1])) {
|
||||
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
|
||||
case 1:
|
||||
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< functionGenControl* >(); break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
void **func = reinterpret_cast<void **>(_a[1]);
|
||||
{
|
||||
typedef void (functionGenControl::*_t)(int , functionGenControl * );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&functionGenControl::functionGenToUpdate)) {
|
||||
*result = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (functionGenControl::*_t)(double );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&functionGenControl::setMaxFreq_CH1)) {
|
||||
*result = 1;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (functionGenControl::*_t)(double );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&functionGenControl::setMinFreq_CH1)) {
|
||||
*result = 2;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (functionGenControl::*_t)(double );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&functionGenControl::setMaxFreq_CH2)) {
|
||||
*result = 3;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (functionGenControl::*_t)(double );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&functionGenControl::setMinFreq_CH2)) {
|
||||
*result = 4;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const QMetaObject functionGenControl::staticMetaObject = {
|
||||
{ &QLabel::staticMetaObject, qt_meta_stringdata_functionGenControl.data,
|
||||
qt_meta_data_functionGenControl, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
|
||||
};
|
||||
|
||||
|
||||
const QMetaObject *functionGenControl::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *functionGenControl::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return Q_NULLPTR;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_functionGenControl.stringdata0))
|
||||
return static_cast<void*>(const_cast< functionGenControl*>(this));
|
||||
return QLabel::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int functionGenControl::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QLabel::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 13)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 13;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 13)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 13;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void functionGenControl::functionGenToUpdate(int _t1, functionGenControl * _t2)
|
||||
{
|
||||
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 1
|
||||
void functionGenControl::setMaxFreq_CH1(double _t1)
|
||||
{
|
||||
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 1, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 2
|
||||
void functionGenControl::setMinFreq_CH1(double _t1)
|
||||
{
|
||||
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 2, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 3
|
||||
void functionGenControl::setMaxFreq_CH2(double _t1)
|
||||
{
|
||||
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 3, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 4
|
||||
void functionGenControl::setMinFreq_CH2(double _t1)
|
||||
{
|
||||
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 4, _a);
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
Binary file not shown.
|
@ -0,0 +1,318 @@
|
|||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'genericusbdriver.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.7.0)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include "genericusbdriver.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'genericusbdriver.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.7.0. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
struct qt_meta_stringdata_genericUsbDriver_t {
|
||||
QByteArrayData data[31];
|
||||
char stringdata0[309];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_genericUsbDriver_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_genericUsbDriver_t qt_meta_stringdata_genericUsbDriver = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 16), // "genericUsbDriver"
|
||||
QT_MOC_LITERAL(1, 17, 15), // "sendClearBuffer"
|
||||
QT_MOC_LITERAL(2, 33, 0), // ""
|
||||
QT_MOC_LITERAL(3, 34, 6), // "ch3751"
|
||||
QT_MOC_LITERAL(4, 41, 6), // "ch3752"
|
||||
QT_MOC_LITERAL(5, 48, 5), // "ch750"
|
||||
QT_MOC_LITERAL(6, 54, 14), // "setVisible_CH2"
|
||||
QT_MOC_LITERAL(7, 69, 7), // "visible"
|
||||
QT_MOC_LITERAL(8, 77, 11), // "gainBuffers"
|
||||
QT_MOC_LITERAL(9, 89, 10), // "multiplier"
|
||||
QT_MOC_LITERAL(10, 100, 13), // "disableWindow"
|
||||
QT_MOC_LITERAL(11, 114, 7), // "enabled"
|
||||
QT_MOC_LITERAL(12, 122, 13), // "enableMMTimer"
|
||||
QT_MOC_LITERAL(13, 136, 7), // "checkXY"
|
||||
QT_MOC_LITERAL(14, 144, 6), // "upTick"
|
||||
QT_MOC_LITERAL(15, 151, 6), // "killMe"
|
||||
QT_MOC_LITERAL(16, 158, 6), // "setPsu"
|
||||
QT_MOC_LITERAL(17, 165, 7), // "voltage"
|
||||
QT_MOC_LITERAL(18, 173, 14), // "setFunctionGen"
|
||||
QT_MOC_LITERAL(19, 188, 7), // "channel"
|
||||
QT_MOC_LITERAL(20, 196, 19), // "functionGenControl*"
|
||||
QT_MOC_LITERAL(21, 216, 11), // "fGenControl"
|
||||
QT_MOC_LITERAL(22, 228, 13), // "setDeviceMode"
|
||||
QT_MOC_LITERAL(23, 242, 4), // "mode"
|
||||
QT_MOC_LITERAL(24, 247, 6), // "newDig"
|
||||
QT_MOC_LITERAL(25, 254, 8), // "digState"
|
||||
QT_MOC_LITERAL(26, 263, 7), // "psuTick"
|
||||
QT_MOC_LITERAL(27, 271, 7), // "setGain"
|
||||
QT_MOC_LITERAL(28, 279, 7), // "newGain"
|
||||
QT_MOC_LITERAL(29, 287, 8), // "avrDebug"
|
||||
QT_MOC_LITERAL(30, 296, 12) // "isoTimerTick"
|
||||
|
||||
},
|
||||
"genericUsbDriver\0sendClearBuffer\0\0"
|
||||
"ch3751\0ch3752\0ch750\0setVisible_CH2\0"
|
||||
"visible\0gainBuffers\0multiplier\0"
|
||||
"disableWindow\0enabled\0enableMMTimer\0"
|
||||
"checkXY\0upTick\0killMe\0setPsu\0voltage\0"
|
||||
"setFunctionGen\0channel\0functionGenControl*\0"
|
||||
"fGenControl\0setDeviceMode\0mode\0newDig\0"
|
||||
"digState\0psuTick\0setGain\0newGain\0"
|
||||
"avrDebug\0isoTimerTick"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_genericUsbDriver[] = {
|
||||
|
||||
// content:
|
||||
7, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
16, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
8, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 3, 94, 2, 0x06 /* Public */,
|
||||
6, 1, 101, 2, 0x06 /* Public */,
|
||||
8, 1, 104, 2, 0x06 /* Public */,
|
||||
10, 1, 107, 2, 0x06 /* Public */,
|
||||
12, 0, 110, 2, 0x06 /* Public */,
|
||||
13, 1, 111, 2, 0x06 /* Public */,
|
||||
14, 0, 114, 2, 0x06 /* Public */,
|
||||
15, 0, 115, 2, 0x06 /* Public */,
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
16, 1, 116, 2, 0x0a /* Public */,
|
||||
18, 2, 119, 2, 0x0a /* Public */,
|
||||
22, 1, 124, 2, 0x0a /* Public */,
|
||||
24, 1, 127, 2, 0x0a /* Public */,
|
||||
26, 0, 130, 2, 0x0a /* Public */,
|
||||
27, 1, 131, 2, 0x0a /* Public */,
|
||||
29, 0, 134, 2, 0x0a /* Public */,
|
||||
30, 0, 135, 2, 0x0a /* Public */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, QMetaType::Bool, QMetaType::Bool, QMetaType::Bool, 3, 4, 5,
|
||||
QMetaType::Void, QMetaType::Bool, 7,
|
||||
QMetaType::Void, QMetaType::Double, 9,
|
||||
QMetaType::Void, QMetaType::Bool, 11,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::Bool, 2,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void, QMetaType::Double, 17,
|
||||
QMetaType::Void, QMetaType::Int, 0x80000000 | 20, 19, 21,
|
||||
QMetaType::Void, QMetaType::Int, 23,
|
||||
QMetaType::Void, QMetaType::Int, 25,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::Double, 28,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void genericUsbDriver::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
genericUsbDriver *_t = static_cast<genericUsbDriver *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->sendClearBuffer((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break;
|
||||
case 1: _t->setVisible_CH2((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 2: _t->gainBuffers((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 3: _t->disableWindow((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 4: _t->enableMMTimer(); break;
|
||||
case 5: _t->checkXY((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 6: _t->upTick(); break;
|
||||
case 7: _t->killMe(); break;
|
||||
case 8: _t->setPsu((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 9: _t->setFunctionGen((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< functionGenControl*(*)>(_a[2]))); break;
|
||||
case 10: _t->setDeviceMode((*reinterpret_cast< int(*)>(_a[1]))); break;
|
||||
case 11: _t->newDig((*reinterpret_cast< int(*)>(_a[1]))); break;
|
||||
case 12: _t->psuTick(); break;
|
||||
case 13: _t->setGain((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 14: _t->avrDebug(); break;
|
||||
case 15: _t->isoTimerTick(); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
switch (_id) {
|
||||
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
|
||||
case 9:
|
||||
switch (*reinterpret_cast<int*>(_a[1])) {
|
||||
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
|
||||
case 1:
|
||||
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< functionGenControl* >(); break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
void **func = reinterpret_cast<void **>(_a[1]);
|
||||
{
|
||||
typedef void (genericUsbDriver::*_t)(bool , bool , bool );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&genericUsbDriver::sendClearBuffer)) {
|
||||
*result = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (genericUsbDriver::*_t)(bool );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&genericUsbDriver::setVisible_CH2)) {
|
||||
*result = 1;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (genericUsbDriver::*_t)(double );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&genericUsbDriver::gainBuffers)) {
|
||||
*result = 2;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (genericUsbDriver::*_t)(bool );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&genericUsbDriver::disableWindow)) {
|
||||
*result = 3;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (genericUsbDriver::*_t)();
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&genericUsbDriver::enableMMTimer)) {
|
||||
*result = 4;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (genericUsbDriver::*_t)(bool );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&genericUsbDriver::checkXY)) {
|
||||
*result = 5;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (genericUsbDriver::*_t)();
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&genericUsbDriver::upTick)) {
|
||||
*result = 6;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (genericUsbDriver::*_t)();
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&genericUsbDriver::killMe)) {
|
||||
*result = 7;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const QMetaObject genericUsbDriver::staticMetaObject = {
|
||||
{ &QLabel::staticMetaObject, qt_meta_stringdata_genericUsbDriver.data,
|
||||
qt_meta_data_genericUsbDriver, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
|
||||
};
|
||||
|
||||
|
||||
const QMetaObject *genericUsbDriver::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *genericUsbDriver::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return Q_NULLPTR;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_genericUsbDriver.stringdata0))
|
||||
return static_cast<void*>(const_cast< genericUsbDriver*>(this));
|
||||
return QLabel::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int genericUsbDriver::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QLabel::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 16)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 16;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 16)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 16;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void genericUsbDriver::sendClearBuffer(bool _t1, bool _t2, bool _t3)
|
||||
{
|
||||
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 1
|
||||
void genericUsbDriver::setVisible_CH2(bool _t1)
|
||||
{
|
||||
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 1, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 2
|
||||
void genericUsbDriver::gainBuffers(double _t1)
|
||||
{
|
||||
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 2, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 3
|
||||
void genericUsbDriver::disableWindow(bool _t1)
|
||||
{
|
||||
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 3, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 4
|
||||
void genericUsbDriver::enableMMTimer()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 4, Q_NULLPTR);
|
||||
}
|
||||
|
||||
// SIGNAL 5
|
||||
void genericUsbDriver::checkXY(bool _t1)
|
||||
{
|
||||
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 5, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 6
|
||||
void genericUsbDriver::upTick()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 6, Q_NULLPTR);
|
||||
}
|
||||
|
||||
// SIGNAL 7
|
||||
void genericUsbDriver::killMe()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 7, Q_NULLPTR);
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
Binary file not shown.
|
@ -0,0 +1,132 @@
|
|||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'isobuffer.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.7.0)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include "isobuffer.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'isobuffer.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.7.0. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
struct qt_meta_stringdata_isoBuffer_t {
|
||||
QByteArrayData data[7];
|
||||
char stringdata0[64];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_isoBuffer_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_isoBuffer_t qt_meta_stringdata_isoBuffer = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 9), // "isoBuffer"
|
||||
QT_MOC_LITERAL(1, 10, 12), // "enableFileIO"
|
||||
QT_MOC_LITERAL(2, 23, 0), // ""
|
||||
QT_MOC_LITERAL(3, 24, 6), // "QFile*"
|
||||
QT_MOC_LITERAL(4, 31, 4), // "file"
|
||||
QT_MOC_LITERAL(5, 36, 13), // "disableFileIO"
|
||||
QT_MOC_LITERAL(6, 50, 13) // "updateConsole"
|
||||
|
||||
},
|
||||
"isoBuffer\0enableFileIO\0\0QFile*\0file\0"
|
||||
"disableFileIO\0updateConsole"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_isoBuffer[] = {
|
||||
|
||||
// content:
|
||||
7, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
3, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
1, 1, 29, 2, 0x0a /* Public */,
|
||||
5, 0, 32, 2, 0x0a /* Public */,
|
||||
6, 0, 33, 2, 0x0a /* Public */,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void, 0x80000000 | 3, 4,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void isoBuffer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
isoBuffer *_t = static_cast<isoBuffer *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->enableFileIO((*reinterpret_cast< QFile*(*)>(_a[1]))); break;
|
||||
case 1: _t->disableFileIO(); break;
|
||||
case 2: _t->updateConsole(); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
switch (_id) {
|
||||
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
|
||||
case 0:
|
||||
switch (*reinterpret_cast<int*>(_a[1])) {
|
||||
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
|
||||
case 0:
|
||||
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QFile* >(); break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const QMetaObject isoBuffer::staticMetaObject = {
|
||||
{ &QWidget::staticMetaObject, qt_meta_stringdata_isoBuffer.data,
|
||||
qt_meta_data_isoBuffer, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
|
||||
};
|
||||
|
||||
|
||||
const QMetaObject *isoBuffer::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *isoBuffer::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return Q_NULLPTR;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_isoBuffer.stringdata0))
|
||||
return static_cast<void*>(const_cast< isoBuffer*>(this));
|
||||
return QWidget::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int isoBuffer::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QWidget::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 3)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 3;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 3)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 3;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
Binary file not shown.
|
@ -0,0 +1,674 @@
|
|||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'isodriver.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.7.0)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include "isodriver.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'isodriver.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.7.0. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
struct qt_meta_stringdata_isoDriver_t {
|
||||
QByteArrayData data[83];
|
||||
char stringdata0[1132];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_isoDriver_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_isoDriver_t qt_meta_stringdata_isoDriver = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 9), // "isoDriver"
|
||||
QT_MOC_LITERAL(1, 10, 7), // "setGain"
|
||||
QT_MOC_LITERAL(2, 18, 0), // ""
|
||||
QT_MOC_LITERAL(3, 19, 7), // "newGain"
|
||||
QT_MOC_LITERAL(4, 27, 13), // "disableWindow"
|
||||
QT_MOC_LITERAL(5, 41, 7), // "enabled"
|
||||
QT_MOC_LITERAL(6, 49, 21), // "setCursorStatsVisible"
|
||||
QT_MOC_LITERAL(7, 71, 19), // "sendCursorStatsText"
|
||||
QT_MOC_LITERAL(8, 91, 4), // "text"
|
||||
QT_MOC_LITERAL(9, 96, 19), // "singleShotTriggered"
|
||||
QT_MOC_LITERAL(10, 116, 9), // "triggered"
|
||||
QT_MOC_LITERAL(11, 126, 13), // "multimeterMax"
|
||||
QT_MOC_LITERAL(12, 140, 13), // "multimeterMin"
|
||||
QT_MOC_LITERAL(13, 154, 14), // "multimeterMean"
|
||||
QT_MOC_LITERAL(14, 169, 20), // "sendMultimeterLabel1"
|
||||
QT_MOC_LITERAL(15, 190, 20), // "sendMultimeterLabel2"
|
||||
QT_MOC_LITERAL(16, 211, 20), // "sendMultimeterLabel3"
|
||||
QT_MOC_LITERAL(17, 232, 14), // "changeTimeAxis"
|
||||
QT_MOC_LITERAL(18, 247, 8), // "positive"
|
||||
QT_MOC_LITERAL(19, 256, 16), // "sendTriggerValue"
|
||||
QT_MOC_LITERAL(20, 273, 12), // "sendVmax_CH1"
|
||||
QT_MOC_LITERAL(21, 286, 12), // "sendVmin_CH1"
|
||||
QT_MOC_LITERAL(22, 299, 13), // "sendVmean_CH1"
|
||||
QT_MOC_LITERAL(23, 313, 12), // "sendVmax_CH2"
|
||||
QT_MOC_LITERAL(24, 326, 12), // "sendVmin_CH2"
|
||||
QT_MOC_LITERAL(25, 339, 13), // "sendVmean_CH2"
|
||||
QT_MOC_LITERAL(26, 353, 9), // "setWindow"
|
||||
QT_MOC_LITERAL(27, 363, 9), // "newWindow"
|
||||
QT_MOC_LITERAL(28, 373, 15), // "setVoltageRange"
|
||||
QT_MOC_LITERAL(29, 389, 12), // "QWheelEvent*"
|
||||
QT_MOC_LITERAL(30, 402, 5), // "event"
|
||||
QT_MOC_LITERAL(31, 408, 9), // "timerTick"
|
||||
QT_MOC_LITERAL(32, 418, 15), // "pauseEnable_CH1"
|
||||
QT_MOC_LITERAL(33, 434, 15), // "pauseEnable_CH2"
|
||||
QT_MOC_LITERAL(34, 450, 22), // "pauseEnable_multimeter"
|
||||
QT_MOC_LITERAL(35, 473, 10), // "startTimer"
|
||||
QT_MOC_LITERAL(36, 484, 12), // "clearBuffers"
|
||||
QT_MOC_LITERAL(37, 497, 6), // "ch3751"
|
||||
QT_MOC_LITERAL(38, 504, 6), // "ch3752"
|
||||
QT_MOC_LITERAL(39, 511, 5), // "ch750"
|
||||
QT_MOC_LITERAL(40, 517, 14), // "setVisible_CH2"
|
||||
QT_MOC_LITERAL(41, 532, 7), // "visible"
|
||||
QT_MOC_LITERAL(42, 540, 11), // "gainBuffers"
|
||||
QT_MOC_LITERAL(43, 552, 10), // "multiplier"
|
||||
QT_MOC_LITERAL(44, 563, 8), // "gainTick"
|
||||
QT_MOC_LITERAL(45, 572, 11), // "setAutoGain"
|
||||
QT_MOC_LITERAL(46, 584, 15), // "graphMousePress"
|
||||
QT_MOC_LITERAL(47, 600, 12), // "QMouseEvent*"
|
||||
QT_MOC_LITERAL(48, 613, 17), // "graphMouseRelease"
|
||||
QT_MOC_LITERAL(49, 631, 14), // "graphMouseMove"
|
||||
QT_MOC_LITERAL(50, 646, 16), // "cursorEnableHori"
|
||||
QT_MOC_LITERAL(51, 663, 16), // "cursorEnableVert"
|
||||
QT_MOC_LITERAL(52, 680, 17), // "setTriggerEnabled"
|
||||
QT_MOC_LITERAL(53, 698, 15), // "setTriggerLevel"
|
||||
QT_MOC_LITERAL(54, 714, 5), // "level"
|
||||
QT_MOC_LITERAL(55, 720, 20), // "setSingleShotEnabled"
|
||||
QT_MOC_LITERAL(56, 741, 14), // "setTriggerMode"
|
||||
QT_MOC_LITERAL(57, 756, 7), // "newMode"
|
||||
QT_MOC_LITERAL(58, 764, 9), // "setAC_CH1"
|
||||
QT_MOC_LITERAL(59, 774, 9), // "setAC_CH2"
|
||||
QT_MOC_LITERAL(60, 784, 17), // "setMultimeterType"
|
||||
QT_MOC_LITERAL(61, 802, 4), // "type"
|
||||
QT_MOC_LITERAL(62, 807, 19), // "setSeriesResistance"
|
||||
QT_MOC_LITERAL(63, 827, 10), // "resistance"
|
||||
QT_MOC_LITERAL(64, 838, 15), // "multimeterStats"
|
||||
QT_MOC_LITERAL(65, 854, 8), // "enableMM"
|
||||
QT_MOC_LITERAL(66, 863, 18), // "setAutoMultimeterV"
|
||||
QT_MOC_LITERAL(67, 882, 18), // "setAutoMultimeterI"
|
||||
QT_MOC_LITERAL(68, 901, 18), // "setForceMillivolts"
|
||||
QT_MOC_LITERAL(69, 920, 17), // "setForceMilliamps"
|
||||
QT_MOC_LITERAL(70, 938, 13), // "setForceVolts"
|
||||
QT_MOC_LITERAL(71, 952, 12), // "setForceAmps"
|
||||
QT_MOC_LITERAL(72, 965, 26), // "setSerialDecodeEnabled_CH1"
|
||||
QT_MOC_LITERAL(73, 992, 26), // "setSerialDecodeEnabled_CH2"
|
||||
QT_MOC_LITERAL(74, 1019, 9), // "setXYmode"
|
||||
QT_MOC_LITERAL(75, 1029, 23), // "triggerGroupStateChange"
|
||||
QT_MOC_LITERAL(76, 1053, 13), // "slowTimerTick"
|
||||
QT_MOC_LITERAL(77, 1067, 11), // "setTopRange"
|
||||
QT_MOC_LITERAL(78, 1079, 6), // "newTop"
|
||||
QT_MOC_LITERAL(79, 1086, 11), // "setBotRange"
|
||||
QT_MOC_LITERAL(80, 1098, 6), // "newBot"
|
||||
QT_MOC_LITERAL(81, 1105, 13), // "setTimeWindow"
|
||||
QT_MOC_LITERAL(82, 1119, 12) // "takeSnapshot"
|
||||
|
||||
},
|
||||
"isoDriver\0setGain\0\0newGain\0disableWindow\0"
|
||||
"enabled\0setCursorStatsVisible\0"
|
||||
"sendCursorStatsText\0text\0singleShotTriggered\0"
|
||||
"triggered\0multimeterMax\0multimeterMin\0"
|
||||
"multimeterMean\0sendMultimeterLabel1\0"
|
||||
"sendMultimeterLabel2\0sendMultimeterLabel3\0"
|
||||
"changeTimeAxis\0positive\0sendTriggerValue\0"
|
||||
"sendVmax_CH1\0sendVmin_CH1\0sendVmean_CH1\0"
|
||||
"sendVmax_CH2\0sendVmin_CH2\0sendVmean_CH2\0"
|
||||
"setWindow\0newWindow\0setVoltageRange\0"
|
||||
"QWheelEvent*\0event\0timerTick\0"
|
||||
"pauseEnable_CH1\0pauseEnable_CH2\0"
|
||||
"pauseEnable_multimeter\0startTimer\0"
|
||||
"clearBuffers\0ch3751\0ch3752\0ch750\0"
|
||||
"setVisible_CH2\0visible\0gainBuffers\0"
|
||||
"multiplier\0gainTick\0setAutoGain\0"
|
||||
"graphMousePress\0QMouseEvent*\0"
|
||||
"graphMouseRelease\0graphMouseMove\0"
|
||||
"cursorEnableHori\0cursorEnableVert\0"
|
||||
"setTriggerEnabled\0setTriggerLevel\0"
|
||||
"level\0setSingleShotEnabled\0setTriggerMode\0"
|
||||
"newMode\0setAC_CH1\0setAC_CH2\0"
|
||||
"setMultimeterType\0type\0setSeriesResistance\0"
|
||||
"resistance\0multimeterStats\0enableMM\0"
|
||||
"setAutoMultimeterV\0setAutoMultimeterI\0"
|
||||
"setForceMillivolts\0setForceMilliamps\0"
|
||||
"setForceVolts\0setForceAmps\0"
|
||||
"setSerialDecodeEnabled_CH1\0"
|
||||
"setSerialDecodeEnabled_CH2\0setXYmode\0"
|
||||
"triggerGroupStateChange\0slowTimerTick\0"
|
||||
"setTopRange\0newTop\0setBotRange\0newBot\0"
|
||||
"setTimeWindow\0takeSnapshot"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_isoDriver[] = {
|
||||
|
||||
// content:
|
||||
7, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
61, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
19, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 1, 319, 2, 0x06 /* Public */,
|
||||
4, 1, 322, 2, 0x06 /* Public */,
|
||||
6, 1, 325, 2, 0x06 /* Public */,
|
||||
7, 1, 328, 2, 0x06 /* Public */,
|
||||
9, 1, 331, 2, 0x06 /* Public */,
|
||||
11, 1, 334, 2, 0x06 /* Public */,
|
||||
12, 1, 337, 2, 0x06 /* Public */,
|
||||
13, 1, 340, 2, 0x06 /* Public */,
|
||||
14, 1, 343, 2, 0x06 /* Public */,
|
||||
15, 1, 346, 2, 0x06 /* Public */,
|
||||
16, 1, 349, 2, 0x06 /* Public */,
|
||||
17, 1, 352, 2, 0x06 /* Public */,
|
||||
19, 1, 355, 2, 0x06 /* Public */,
|
||||
20, 1, 358, 2, 0x06 /* Public */,
|
||||
21, 1, 361, 2, 0x06 /* Public */,
|
||||
22, 1, 364, 2, 0x06 /* Public */,
|
||||
23, 1, 367, 2, 0x06 /* Public */,
|
||||
24, 1, 370, 2, 0x06 /* Public */,
|
||||
25, 1, 373, 2, 0x06 /* Public */,
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
26, 1, 376, 2, 0x0a /* Public */,
|
||||
28, 1, 379, 2, 0x0a /* Public */,
|
||||
31, 0, 382, 2, 0x0a /* Public */,
|
||||
32, 1, 383, 2, 0x0a /* Public */,
|
||||
33, 1, 386, 2, 0x0a /* Public */,
|
||||
34, 1, 389, 2, 0x0a /* Public */,
|
||||
35, 0, 392, 2, 0x0a /* Public */,
|
||||
36, 3, 393, 2, 0x0a /* Public */,
|
||||
40, 1, 400, 2, 0x0a /* Public */,
|
||||
42, 1, 403, 2, 0x0a /* Public */,
|
||||
44, 0, 406, 2, 0x0a /* Public */,
|
||||
45, 1, 407, 2, 0x0a /* Public */,
|
||||
46, 1, 410, 2, 0x0a /* Public */,
|
||||
48, 1, 413, 2, 0x0a /* Public */,
|
||||
49, 1, 416, 2, 0x0a /* Public */,
|
||||
50, 1, 419, 2, 0x0a /* Public */,
|
||||
51, 1, 422, 2, 0x0a /* Public */,
|
||||
52, 1, 425, 2, 0x0a /* Public */,
|
||||
53, 1, 428, 2, 0x0a /* Public */,
|
||||
55, 1, 431, 2, 0x0a /* Public */,
|
||||
56, 1, 434, 2, 0x0a /* Public */,
|
||||
58, 1, 437, 2, 0x0a /* Public */,
|
||||
59, 1, 440, 2, 0x0a /* Public */,
|
||||
60, 1, 443, 2, 0x0a /* Public */,
|
||||
62, 1, 446, 2, 0x0a /* Public */,
|
||||
64, 0, 449, 2, 0x0a /* Public */,
|
||||
65, 0, 450, 2, 0x0a /* Public */,
|
||||
66, 1, 451, 2, 0x0a /* Public */,
|
||||
67, 1, 454, 2, 0x0a /* Public */,
|
||||
68, 1, 457, 2, 0x0a /* Public */,
|
||||
69, 1, 460, 2, 0x0a /* Public */,
|
||||
70, 1, 463, 2, 0x0a /* Public */,
|
||||
71, 1, 466, 2, 0x0a /* Public */,
|
||||
72, 1, 469, 2, 0x0a /* Public */,
|
||||
73, 1, 472, 2, 0x0a /* Public */,
|
||||
74, 1, 475, 2, 0x0a /* Public */,
|
||||
75, 1, 478, 2, 0x0a /* Public */,
|
||||
76, 0, 481, 2, 0x0a /* Public */,
|
||||
77, 1, 482, 2, 0x0a /* Public */,
|
||||
79, 1, 485, 2, 0x0a /* Public */,
|
||||
81, 1, 488, 2, 0x0a /* Public */,
|
||||
82, 0, 491, 2, 0x0a /* Public */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, QMetaType::Double, 3,
|
||||
QMetaType::Void, QMetaType::Bool, 5,
|
||||
QMetaType::Void, QMetaType::Bool, 5,
|
||||
QMetaType::Void, QMetaType::QString, 8,
|
||||
QMetaType::Void, QMetaType::Bool, 10,
|
||||
QMetaType::Void, QMetaType::Double, 2,
|
||||
QMetaType::Void, QMetaType::Double, 2,
|
||||
QMetaType::Void, QMetaType::Double, 2,
|
||||
QMetaType::Void, QMetaType::QString, 2,
|
||||
QMetaType::Void, QMetaType::QString, 2,
|
||||
QMetaType::Void, QMetaType::QString, 2,
|
||||
QMetaType::Void, QMetaType::Bool, 18,
|
||||
QMetaType::Void, QMetaType::Double, 2,
|
||||
QMetaType::Void, QMetaType::Double, 2,
|
||||
QMetaType::Void, QMetaType::Double, 2,
|
||||
QMetaType::Void, QMetaType::Double, 2,
|
||||
QMetaType::Void, QMetaType::Double, 2,
|
||||
QMetaType::Void, QMetaType::Double, 2,
|
||||
QMetaType::Void, QMetaType::Double, 2,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void, QMetaType::Int, 27,
|
||||
QMetaType::Void, 0x80000000 | 29, 30,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::Bool, 5,
|
||||
QMetaType::Void, QMetaType::Bool, 5,
|
||||
QMetaType::Void, QMetaType::Bool, 5,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::Bool, QMetaType::Bool, QMetaType::Bool, 37, 38, 39,
|
||||
QMetaType::Void, QMetaType::Bool, 41,
|
||||
QMetaType::Void, QMetaType::Double, 43,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::Bool, 5,
|
||||
QMetaType::Void, 0x80000000 | 47, 30,
|
||||
QMetaType::Void, 0x80000000 | 47, 30,
|
||||
QMetaType::Void, 0x80000000 | 47, 30,
|
||||
QMetaType::Void, QMetaType::Bool, 5,
|
||||
QMetaType::Void, QMetaType::Bool, 5,
|
||||
QMetaType::Void, QMetaType::Bool, 5,
|
||||
QMetaType::Void, QMetaType::Double, 54,
|
||||
QMetaType::Void, QMetaType::Bool, 5,
|
||||
QMetaType::Void, QMetaType::Int, 57,
|
||||
QMetaType::Void, QMetaType::Bool, 5,
|
||||
QMetaType::Void, QMetaType::Bool, 5,
|
||||
QMetaType::Void, QMetaType::Int, 61,
|
||||
QMetaType::Void, QMetaType::Double, 63,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::Bool, 5,
|
||||
QMetaType::Void, QMetaType::Bool, 5,
|
||||
QMetaType::Void, QMetaType::Bool, 5,
|
||||
QMetaType::Void, QMetaType::Bool, 5,
|
||||
QMetaType::Void, QMetaType::Bool, 5,
|
||||
QMetaType::Void, QMetaType::Bool, 5,
|
||||
QMetaType::Void, QMetaType::Bool, 5,
|
||||
QMetaType::Void, QMetaType::Bool, 5,
|
||||
QMetaType::Void, QMetaType::Bool, 5,
|
||||
QMetaType::Void, QMetaType::Bool, 5,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::Double, 78,
|
||||
QMetaType::Void, QMetaType::Double, 80,
|
||||
QMetaType::Void, QMetaType::Double, 27,
|
||||
QMetaType::Void,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void isoDriver::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
isoDriver *_t = static_cast<isoDriver *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->setGain((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 1: _t->disableWindow((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 2: _t->setCursorStatsVisible((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 3: _t->sendCursorStatsText((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 4: _t->singleShotTriggered((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 5: _t->multimeterMax((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 6: _t->multimeterMin((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 7: _t->multimeterMean((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 8: _t->sendMultimeterLabel1((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 9: _t->sendMultimeterLabel2((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 10: _t->sendMultimeterLabel3((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 11: _t->changeTimeAxis((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 12: _t->sendTriggerValue((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 13: _t->sendVmax_CH1((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 14: _t->sendVmin_CH1((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 15: _t->sendVmean_CH1((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 16: _t->sendVmax_CH2((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 17: _t->sendVmin_CH2((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 18: _t->sendVmean_CH2((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 19: _t->setWindow((*reinterpret_cast< int(*)>(_a[1]))); break;
|
||||
case 20: _t->setVoltageRange((*reinterpret_cast< QWheelEvent*(*)>(_a[1]))); break;
|
||||
case 21: _t->timerTick(); break;
|
||||
case 22: _t->pauseEnable_CH1((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 23: _t->pauseEnable_CH2((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 24: _t->pauseEnable_multimeter((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 25: _t->startTimer(); break;
|
||||
case 26: _t->clearBuffers((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break;
|
||||
case 27: _t->setVisible_CH2((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 28: _t->gainBuffers((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 29: _t->gainTick(); break;
|
||||
case 30: _t->setAutoGain((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 31: _t->graphMousePress((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break;
|
||||
case 32: _t->graphMouseRelease((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break;
|
||||
case 33: _t->graphMouseMove((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break;
|
||||
case 34: _t->cursorEnableHori((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 35: _t->cursorEnableVert((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 36: _t->setTriggerEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 37: _t->setTriggerLevel((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 38: _t->setSingleShotEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 39: _t->setTriggerMode((*reinterpret_cast< int(*)>(_a[1]))); break;
|
||||
case 40: _t->setAC_CH1((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 41: _t->setAC_CH2((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 42: _t->setMultimeterType((*reinterpret_cast< int(*)>(_a[1]))); break;
|
||||
case 43: _t->setSeriesResistance((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 44: _t->multimeterStats(); break;
|
||||
case 45: _t->enableMM(); break;
|
||||
case 46: _t->setAutoMultimeterV((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 47: _t->setAutoMultimeterI((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 48: _t->setForceMillivolts((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 49: _t->setForceMilliamps((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 50: _t->setForceVolts((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 51: _t->setForceAmps((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 52: _t->setSerialDecodeEnabled_CH1((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 53: _t->setSerialDecodeEnabled_CH2((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 54: _t->setXYmode((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 55: _t->triggerGroupStateChange((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 56: _t->slowTimerTick(); break;
|
||||
case 57: _t->setTopRange((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 58: _t->setBotRange((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 59: _t->setTimeWindow((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 60: _t->takeSnapshot(); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
void **func = reinterpret_cast<void **>(_a[1]);
|
||||
{
|
||||
typedef void (isoDriver::*_t)(double );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&isoDriver::setGain)) {
|
||||
*result = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (isoDriver::*_t)(bool );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&isoDriver::disableWindow)) {
|
||||
*result = 1;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (isoDriver::*_t)(bool );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&isoDriver::setCursorStatsVisible)) {
|
||||
*result = 2;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (isoDriver::*_t)(QString );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&isoDriver::sendCursorStatsText)) {
|
||||
*result = 3;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (isoDriver::*_t)(bool );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&isoDriver::singleShotTriggered)) {
|
||||
*result = 4;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (isoDriver::*_t)(double );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&isoDriver::multimeterMax)) {
|
||||
*result = 5;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (isoDriver::*_t)(double );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&isoDriver::multimeterMin)) {
|
||||
*result = 6;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (isoDriver::*_t)(double );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&isoDriver::multimeterMean)) {
|
||||
*result = 7;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (isoDriver::*_t)(QString );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&isoDriver::sendMultimeterLabel1)) {
|
||||
*result = 8;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (isoDriver::*_t)(QString );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&isoDriver::sendMultimeterLabel2)) {
|
||||
*result = 9;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (isoDriver::*_t)(QString );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&isoDriver::sendMultimeterLabel3)) {
|
||||
*result = 10;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (isoDriver::*_t)(bool );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&isoDriver::changeTimeAxis)) {
|
||||
*result = 11;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (isoDriver::*_t)(double );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&isoDriver::sendTriggerValue)) {
|
||||
*result = 12;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (isoDriver::*_t)(double );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&isoDriver::sendVmax_CH1)) {
|
||||
*result = 13;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (isoDriver::*_t)(double );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&isoDriver::sendVmin_CH1)) {
|
||||
*result = 14;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (isoDriver::*_t)(double );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&isoDriver::sendVmean_CH1)) {
|
||||
*result = 15;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (isoDriver::*_t)(double );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&isoDriver::sendVmax_CH2)) {
|
||||
*result = 16;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (isoDriver::*_t)(double );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&isoDriver::sendVmin_CH2)) {
|
||||
*result = 17;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (isoDriver::*_t)(double );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&isoDriver::sendVmean_CH2)) {
|
||||
*result = 18;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const QMetaObject isoDriver::staticMetaObject = {
|
||||
{ &QLabel::staticMetaObject, qt_meta_stringdata_isoDriver.data,
|
||||
qt_meta_data_isoDriver, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
|
||||
};
|
||||
|
||||
|
||||
const QMetaObject *isoDriver::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *isoDriver::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return Q_NULLPTR;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_isoDriver.stringdata0))
|
||||
return static_cast<void*>(const_cast< isoDriver*>(this));
|
||||
return QLabel::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int isoDriver::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QLabel::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 61)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 61;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 61)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 61;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void isoDriver::setGain(double _t1)
|
||||
{
|
||||
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 1
|
||||
void isoDriver::disableWindow(bool _t1)
|
||||
{
|
||||
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 1, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 2
|
||||
void isoDriver::setCursorStatsVisible(bool _t1)
|
||||
{
|
||||
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 2, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 3
|
||||
void isoDriver::sendCursorStatsText(QString _t1)
|
||||
{
|
||||
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 3, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 4
|
||||
void isoDriver::singleShotTriggered(bool _t1)
|
||||
{
|
||||
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 4, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 5
|
||||
void isoDriver::multimeterMax(double _t1)
|
||||
{
|
||||
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 5, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 6
|
||||
void isoDriver::multimeterMin(double _t1)
|
||||
{
|
||||
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 6, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 7
|
||||
void isoDriver::multimeterMean(double _t1)
|
||||
{
|
||||
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 7, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 8
|
||||
void isoDriver::sendMultimeterLabel1(QString _t1)
|
||||
{
|
||||
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 8, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 9
|
||||
void isoDriver::sendMultimeterLabel2(QString _t1)
|
||||
{
|
||||
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 9, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 10
|
||||
void isoDriver::sendMultimeterLabel3(QString _t1)
|
||||
{
|
||||
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 10, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 11
|
||||
void isoDriver::changeTimeAxis(bool _t1)
|
||||
{
|
||||
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 11, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 12
|
||||
void isoDriver::sendTriggerValue(double _t1)
|
||||
{
|
||||
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 12, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 13
|
||||
void isoDriver::sendVmax_CH1(double _t1)
|
||||
{
|
||||
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 13, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 14
|
||||
void isoDriver::sendVmin_CH1(double _t1)
|
||||
{
|
||||
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 14, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 15
|
||||
void isoDriver::sendVmean_CH1(double _t1)
|
||||
{
|
||||
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 15, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 16
|
||||
void isoDriver::sendVmax_CH2(double _t1)
|
||||
{
|
||||
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 16, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 17
|
||||
void isoDriver::sendVmin_CH2(double _t1)
|
||||
{
|
||||
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 17, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 18
|
||||
void isoDriver::sendVmean_CH2(double _t1)
|
||||
{
|
||||
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 18, _a);
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
Binary file not shown.
|
@ -0,0 +1,402 @@
|
|||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'mainwindow.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.7.0)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include "mainwindow.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'mainwindow.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.7.0. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
struct qt_meta_stringdata_MainWindow_t {
|
||||
QByteArrayData data[68];
|
||||
char stringdata0[1529];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_MainWindow_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_MainWindow_t qt_meta_stringdata_MainWindow = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 10), // "MainWindow"
|
||||
QT_MOC_LITERAL(1, 11, 26), // "on_actionGain0_5_triggered"
|
||||
QT_MOC_LITERAL(2, 38, 0), // ""
|
||||
QT_MOC_LITERAL(3, 39, 24), // "on_actionGain1_triggered"
|
||||
QT_MOC_LITERAL(4, 64, 24), // "on_actionGain2_triggered"
|
||||
QT_MOC_LITERAL(5, 89, 24), // "on_actionGain4_triggered"
|
||||
QT_MOC_LITERAL(6, 114, 24), // "on_actionGain8_triggered"
|
||||
QT_MOC_LITERAL(7, 139, 25), // "on_actionGain16_triggered"
|
||||
QT_MOC_LITERAL(8, 165, 25), // "on_actionGain32_triggered"
|
||||
QT_MOC_LITERAL(9, 191, 25), // "on_actionGain64_triggered"
|
||||
QT_MOC_LITERAL(10, 217, 27), // "on_actionGainAuto_triggered"
|
||||
QT_MOC_LITERAL(11, 245, 31), // "on_actionCursor_Stats_triggered"
|
||||
QT_MOC_LITERAL(12, 277, 7), // "checked"
|
||||
QT_MOC_LITERAL(13, 285, 45), // "on_actionAutomatically_Enable..."
|
||||
QT_MOC_LITERAL(14, 331, 4), // "arg1"
|
||||
QT_MOC_LITERAL(15, 336, 22), // "on_action60FPS_toggled"
|
||||
QT_MOC_LITERAL(16, 359, 7), // "enabled"
|
||||
QT_MOC_LITERAL(17, 367, 22), // "on_action30FPS_toggled"
|
||||
QT_MOC_LITERAL(18, 390, 22), // "on_action20FPS_toggled"
|
||||
QT_MOC_LITERAL(19, 413, 22), // "on_action15FPS_toggled"
|
||||
QT_MOC_LITERAL(20, 436, 22), // "on_action10FPS_toggled"
|
||||
QT_MOC_LITERAL(21, 459, 21), // "on_action5FPS_toggled"
|
||||
QT_MOC_LITERAL(22, 481, 34), // "on_actionSnap_to_Cursors_trig..."
|
||||
QT_MOC_LITERAL(23, 516, 33), // "on_actionEnter_Manually_trigg..."
|
||||
QT_MOC_LITERAL(24, 550, 21), // "connectDisplaySignals"
|
||||
QT_MOC_LITERAL(25, 572, 20), // "on_action300_toggled"
|
||||
QT_MOC_LITERAL(26, 593, 20), // "on_action600_toggled"
|
||||
QT_MOC_LITERAL(27, 614, 21), // "on_action1200_toggled"
|
||||
QT_MOC_LITERAL(28, 636, 21), // "on_action2400_toggled"
|
||||
QT_MOC_LITERAL(29, 658, 21), // "on_action4800_toggled"
|
||||
QT_MOC_LITERAL(30, 680, 21), // "on_action9600_toggled"
|
||||
QT_MOC_LITERAL(31, 702, 22), // "on_action14400_toggled"
|
||||
QT_MOC_LITERAL(32, 725, 22), // "on_action19200_toggled"
|
||||
QT_MOC_LITERAL(33, 748, 22), // "on_action28800_toggled"
|
||||
QT_MOC_LITERAL(34, 771, 22), // "on_action38400_toggled"
|
||||
QT_MOC_LITERAL(35, 794, 22), // "on_action57600_toggled"
|
||||
QT_MOC_LITERAL(36, 817, 23), // "on_action115200_toggled"
|
||||
QT_MOC_LITERAL(37, 841, 22), // "on_action300_2_toggled"
|
||||
QT_MOC_LITERAL(38, 864, 22), // "on_action600_2_toggled"
|
||||
QT_MOC_LITERAL(39, 887, 23), // "on_action1200_2_toggled"
|
||||
QT_MOC_LITERAL(40, 911, 23), // "on_action2400_2_toggled"
|
||||
QT_MOC_LITERAL(41, 935, 23), // "on_action4800_2_toggled"
|
||||
QT_MOC_LITERAL(42, 959, 23), // "on_action9600_2_toggled"
|
||||
QT_MOC_LITERAL(43, 983, 24), // "on_action14400_2_toggled"
|
||||
QT_MOC_LITERAL(44, 1008, 24), // "on_action19200_2_toggled"
|
||||
QT_MOC_LITERAL(45, 1033, 24), // "on_action28800_2_toggled"
|
||||
QT_MOC_LITERAL(46, 1058, 24), // "on_action38400_2_toggled"
|
||||
QT_MOC_LITERAL(47, 1083, 24), // "on_action57600_2_toggled"
|
||||
QT_MOC_LITERAL(48, 1108, 25), // "on_action115200_2_toggled"
|
||||
QT_MOC_LITERAL(49, 1134, 17), // "cycleBaudRate_CH1"
|
||||
QT_MOC_LITERAL(50, 1152, 26), // "cycleBaudRateBackwards_CH1"
|
||||
QT_MOC_LITERAL(51, 1179, 17), // "cycleBaudRate_CH2"
|
||||
QT_MOC_LITERAL(52, 1197, 26), // "cycleBaudRateBackwards_CH2"
|
||||
QT_MOC_LITERAL(53, 1224, 21), // "timeBaseNeedsChanging"
|
||||
QT_MOC_LITERAL(54, 1246, 8), // "positive"
|
||||
QT_MOC_LITERAL(55, 1255, 31), // "on_actionForce_Square_triggered"
|
||||
QT_MOC_LITERAL(56, 1287, 10), // "helloWorld"
|
||||
QT_MOC_LITERAL(57, 1298, 16), // "arrowUpTriggered"
|
||||
QT_MOC_LITERAL(58, 1315, 18), // "arrowDownTriggered"
|
||||
QT_MOC_LITERAL(59, 1334, 20), // "ctrlArrowUpTriggered"
|
||||
QT_MOC_LITERAL(60, 1355, 22), // "ctrlArrowDownTriggered"
|
||||
QT_MOC_LITERAL(61, 1378, 14), // "cycleDelayLeft"
|
||||
QT_MOC_LITERAL(62, 1393, 15), // "cycleDelayRight"
|
||||
QT_MOC_LITERAL(63, 1409, 23), // "enableLabradorDebugging"
|
||||
QT_MOC_LITERAL(64, 1433, 26), // "on_actionAuto_Lock_toggled"
|
||||
QT_MOC_LITERAL(65, 1460, 25), // "on_actionRecord_triggered"
|
||||
QT_MOC_LITERAL(66, 1486, 32), // "on_actionTake_Snapshot_triggered"
|
||||
QT_MOC_LITERAL(67, 1519, 9) // "reinitUsb"
|
||||
|
||||
},
|
||||
"MainWindow\0on_actionGain0_5_triggered\0"
|
||||
"\0on_actionGain1_triggered\0"
|
||||
"on_actionGain2_triggered\0"
|
||||
"on_actionGain4_triggered\0"
|
||||
"on_actionGain8_triggered\0"
|
||||
"on_actionGain16_triggered\0"
|
||||
"on_actionGain32_triggered\0"
|
||||
"on_actionGain64_triggered\0"
|
||||
"on_actionGainAuto_triggered\0"
|
||||
"on_actionCursor_Stats_triggered\0checked\0"
|
||||
"on_actionAutomatically_Enable_Cursors_toggled\0"
|
||||
"arg1\0on_action60FPS_toggled\0enabled\0"
|
||||
"on_action30FPS_toggled\0on_action20FPS_toggled\0"
|
||||
"on_action15FPS_toggled\0on_action10FPS_toggled\0"
|
||||
"on_action5FPS_toggled\0"
|
||||
"on_actionSnap_to_Cursors_triggered\0"
|
||||
"on_actionEnter_Manually_triggered\0"
|
||||
"connectDisplaySignals\0on_action300_toggled\0"
|
||||
"on_action600_toggled\0on_action1200_toggled\0"
|
||||
"on_action2400_toggled\0on_action4800_toggled\0"
|
||||
"on_action9600_toggled\0on_action14400_toggled\0"
|
||||
"on_action19200_toggled\0on_action28800_toggled\0"
|
||||
"on_action38400_toggled\0on_action57600_toggled\0"
|
||||
"on_action115200_toggled\0on_action300_2_toggled\0"
|
||||
"on_action600_2_toggled\0on_action1200_2_toggled\0"
|
||||
"on_action2400_2_toggled\0on_action4800_2_toggled\0"
|
||||
"on_action9600_2_toggled\0"
|
||||
"on_action14400_2_toggled\0"
|
||||
"on_action19200_2_toggled\0"
|
||||
"on_action28800_2_toggled\0"
|
||||
"on_action38400_2_toggled\0"
|
||||
"on_action57600_2_toggled\0"
|
||||
"on_action115200_2_toggled\0cycleBaudRate_CH1\0"
|
||||
"cycleBaudRateBackwards_CH1\0cycleBaudRate_CH2\0"
|
||||
"cycleBaudRateBackwards_CH2\0"
|
||||
"timeBaseNeedsChanging\0positive\0"
|
||||
"on_actionForce_Square_triggered\0"
|
||||
"helloWorld\0arrowUpTriggered\0"
|
||||
"arrowDownTriggered\0ctrlArrowUpTriggered\0"
|
||||
"ctrlArrowDownTriggered\0cycleDelayLeft\0"
|
||||
"cycleDelayRight\0enableLabradorDebugging\0"
|
||||
"on_actionAuto_Lock_toggled\0"
|
||||
"on_actionRecord_triggered\0"
|
||||
"on_actionTake_Snapshot_triggered\0"
|
||||
"reinitUsb"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_MainWindow[] = {
|
||||
|
||||
// content:
|
||||
7, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
62, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
1, 0, 324, 2, 0x08 /* Private */,
|
||||
3, 0, 325, 2, 0x08 /* Private */,
|
||||
4, 0, 326, 2, 0x08 /* Private */,
|
||||
5, 0, 327, 2, 0x08 /* Private */,
|
||||
6, 0, 328, 2, 0x08 /* Private */,
|
||||
7, 0, 329, 2, 0x08 /* Private */,
|
||||
8, 0, 330, 2, 0x08 /* Private */,
|
||||
9, 0, 331, 2, 0x08 /* Private */,
|
||||
10, 0, 332, 2, 0x08 /* Private */,
|
||||
11, 1, 333, 2, 0x08 /* Private */,
|
||||
13, 1, 336, 2, 0x08 /* Private */,
|
||||
15, 1, 339, 2, 0x08 /* Private */,
|
||||
17, 1, 342, 2, 0x08 /* Private */,
|
||||
18, 1, 345, 2, 0x08 /* Private */,
|
||||
19, 1, 348, 2, 0x08 /* Private */,
|
||||
20, 1, 351, 2, 0x08 /* Private */,
|
||||
21, 1, 354, 2, 0x08 /* Private */,
|
||||
22, 0, 357, 2, 0x08 /* Private */,
|
||||
23, 0, 358, 2, 0x08 /* Private */,
|
||||
24, 0, 359, 2, 0x08 /* Private */,
|
||||
25, 1, 360, 2, 0x08 /* Private */,
|
||||
26, 1, 363, 2, 0x08 /* Private */,
|
||||
27, 1, 366, 2, 0x08 /* Private */,
|
||||
28, 1, 369, 2, 0x08 /* Private */,
|
||||
29, 1, 372, 2, 0x08 /* Private */,
|
||||
30, 1, 375, 2, 0x08 /* Private */,
|
||||
31, 1, 378, 2, 0x08 /* Private */,
|
||||
32, 1, 381, 2, 0x08 /* Private */,
|
||||
33, 1, 384, 2, 0x08 /* Private */,
|
||||
34, 1, 387, 2, 0x08 /* Private */,
|
||||
35, 1, 390, 2, 0x08 /* Private */,
|
||||
36, 1, 393, 2, 0x08 /* Private */,
|
||||
37, 1, 396, 2, 0x08 /* Private */,
|
||||
38, 1, 399, 2, 0x08 /* Private */,
|
||||
39, 1, 402, 2, 0x08 /* Private */,
|
||||
40, 1, 405, 2, 0x08 /* Private */,
|
||||
41, 1, 408, 2, 0x08 /* Private */,
|
||||
42, 1, 411, 2, 0x08 /* Private */,
|
||||
43, 1, 414, 2, 0x08 /* Private */,
|
||||
44, 1, 417, 2, 0x08 /* Private */,
|
||||
45, 1, 420, 2, 0x08 /* Private */,
|
||||
46, 1, 423, 2, 0x08 /* Private */,
|
||||
47, 1, 426, 2, 0x08 /* Private */,
|
||||
48, 1, 429, 2, 0x08 /* Private */,
|
||||
49, 0, 432, 2, 0x08 /* Private */,
|
||||
50, 0, 433, 2, 0x08 /* Private */,
|
||||
51, 0, 434, 2, 0x08 /* Private */,
|
||||
52, 0, 435, 2, 0x08 /* Private */,
|
||||
53, 1, 436, 2, 0x08 /* Private */,
|
||||
55, 1, 439, 2, 0x08 /* Private */,
|
||||
56, 0, 442, 2, 0x08 /* Private */,
|
||||
57, 0, 443, 2, 0x08 /* Private */,
|
||||
58, 0, 444, 2, 0x08 /* Private */,
|
||||
59, 0, 445, 2, 0x08 /* Private */,
|
||||
60, 0, 446, 2, 0x08 /* Private */,
|
||||
61, 0, 447, 2, 0x08 /* Private */,
|
||||
62, 0, 448, 2, 0x08 /* Private */,
|
||||
63, 0, 449, 2, 0x08 /* Private */,
|
||||
64, 1, 450, 2, 0x08 /* Private */,
|
||||
65, 1, 453, 2, 0x08 /* Private */,
|
||||
66, 0, 456, 2, 0x08 /* Private */,
|
||||
67, 0, 457, 2, 0x08 /* Private */,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::Bool, 12,
|
||||
QMetaType::Void, QMetaType::Bool, 14,
|
||||
QMetaType::Void, QMetaType::Bool, 16,
|
||||
QMetaType::Void, QMetaType::Bool, 16,
|
||||
QMetaType::Void, QMetaType::Bool, 16,
|
||||
QMetaType::Void, QMetaType::Bool, 16,
|
||||
QMetaType::Void, QMetaType::Bool, 16,
|
||||
QMetaType::Void, QMetaType::Bool, 16,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::Bool, 14,
|
||||
QMetaType::Void, QMetaType::Bool, 14,
|
||||
QMetaType::Void, QMetaType::Bool, 14,
|
||||
QMetaType::Void, QMetaType::Bool, 14,
|
||||
QMetaType::Void, QMetaType::Bool, 14,
|
||||
QMetaType::Void, QMetaType::Bool, 14,
|
||||
QMetaType::Void, QMetaType::Bool, 14,
|
||||
QMetaType::Void, QMetaType::Bool, 14,
|
||||
QMetaType::Void, QMetaType::Bool, 14,
|
||||
QMetaType::Void, QMetaType::Bool, 14,
|
||||
QMetaType::Void, QMetaType::Bool, 14,
|
||||
QMetaType::Void, QMetaType::Bool, 14,
|
||||
QMetaType::Void, QMetaType::Bool, 14,
|
||||
QMetaType::Void, QMetaType::Bool, 14,
|
||||
QMetaType::Void, QMetaType::Bool, 14,
|
||||
QMetaType::Void, QMetaType::Bool, 14,
|
||||
QMetaType::Void, QMetaType::Bool, 14,
|
||||
QMetaType::Void, QMetaType::Bool, 14,
|
||||
QMetaType::Void, QMetaType::Bool, 14,
|
||||
QMetaType::Void, QMetaType::Bool, 14,
|
||||
QMetaType::Void, QMetaType::Bool, 14,
|
||||
QMetaType::Void, QMetaType::Bool, 14,
|
||||
QMetaType::Void, QMetaType::Bool, 14,
|
||||
QMetaType::Void, QMetaType::Bool, 14,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::Bool, 54,
|
||||
QMetaType::Void, QMetaType::Bool, 12,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::Bool, 14,
|
||||
QMetaType::Void, QMetaType::Bool, 12,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
MainWindow *_t = static_cast<MainWindow *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->on_actionGain0_5_triggered(); break;
|
||||
case 1: _t->on_actionGain1_triggered(); break;
|
||||
case 2: _t->on_actionGain2_triggered(); break;
|
||||
case 3: _t->on_actionGain4_triggered(); break;
|
||||
case 4: _t->on_actionGain8_triggered(); break;
|
||||
case 5: _t->on_actionGain16_triggered(); break;
|
||||
case 6: _t->on_actionGain32_triggered(); break;
|
||||
case 7: _t->on_actionGain64_triggered(); break;
|
||||
case 8: _t->on_actionGainAuto_triggered(); break;
|
||||
case 9: _t->on_actionCursor_Stats_triggered((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 10: _t->on_actionAutomatically_Enable_Cursors_toggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 11: _t->on_action60FPS_toggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 12: _t->on_action30FPS_toggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 13: _t->on_action20FPS_toggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 14: _t->on_action15FPS_toggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 15: _t->on_action10FPS_toggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 16: _t->on_action5FPS_toggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 17: _t->on_actionSnap_to_Cursors_triggered(); break;
|
||||
case 18: _t->on_actionEnter_Manually_triggered(); break;
|
||||
case 19: _t->connectDisplaySignals(); break;
|
||||
case 20: _t->on_action300_toggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 21: _t->on_action600_toggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 22: _t->on_action1200_toggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 23: _t->on_action2400_toggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 24: _t->on_action4800_toggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 25: _t->on_action9600_toggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 26: _t->on_action14400_toggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 27: _t->on_action19200_toggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 28: _t->on_action28800_toggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 29: _t->on_action38400_toggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 30: _t->on_action57600_toggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 31: _t->on_action115200_toggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 32: _t->on_action300_2_toggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 33: _t->on_action600_2_toggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 34: _t->on_action1200_2_toggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 35: _t->on_action2400_2_toggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 36: _t->on_action4800_2_toggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 37: _t->on_action9600_2_toggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 38: _t->on_action14400_2_toggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 39: _t->on_action19200_2_toggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 40: _t->on_action28800_2_toggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 41: _t->on_action38400_2_toggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 42: _t->on_action57600_2_toggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 43: _t->on_action115200_2_toggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 44: _t->cycleBaudRate_CH1(); break;
|
||||
case 45: _t->cycleBaudRateBackwards_CH1(); break;
|
||||
case 46: _t->cycleBaudRate_CH2(); break;
|
||||
case 47: _t->cycleBaudRateBackwards_CH2(); break;
|
||||
case 48: _t->timeBaseNeedsChanging((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 49: _t->on_actionForce_Square_triggered((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 50: _t->helloWorld(); break;
|
||||
case 51: _t->arrowUpTriggered(); break;
|
||||
case 52: _t->arrowDownTriggered(); break;
|
||||
case 53: _t->ctrlArrowUpTriggered(); break;
|
||||
case 54: _t->ctrlArrowDownTriggered(); break;
|
||||
case 55: _t->cycleDelayLeft(); break;
|
||||
case 56: _t->cycleDelayRight(); break;
|
||||
case 57: _t->enableLabradorDebugging(); break;
|
||||
case 58: _t->on_actionAuto_Lock_toggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 59: _t->on_actionRecord_triggered((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 60: _t->on_actionTake_Snapshot_triggered(); break;
|
||||
case 61: _t->reinitUsb(); break;
|
||||
default: ;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const QMetaObject MainWindow::staticMetaObject = {
|
||||
{ &QMainWindow::staticMetaObject, qt_meta_stringdata_MainWindow.data,
|
||||
qt_meta_data_MainWindow, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
|
||||
};
|
||||
|
||||
|
||||
const QMetaObject *MainWindow::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *MainWindow::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return Q_NULLPTR;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_MainWindow.stringdata0))
|
||||
return static_cast<void*>(const_cast< MainWindow*>(this));
|
||||
return QMainWindow::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QMainWindow::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 62)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 62;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 62)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 62;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
Binary file not shown.
|
@ -0,0 +1,89 @@
|
|||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'noclosemenu.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.7.0)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include "ui_elements/noclosemenu.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'noclosemenu.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.7.0. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
struct qt_meta_stringdata_noCloseMenu_t {
|
||||
QByteArrayData data[1];
|
||||
char stringdata0[12];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_noCloseMenu_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_noCloseMenu_t qt_meta_stringdata_noCloseMenu = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 11) // "noCloseMenu"
|
||||
|
||||
},
|
||||
"noCloseMenu"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_noCloseMenu[] = {
|
||||
|
||||
// content:
|
||||
7, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
0, 0, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void noCloseMenu::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
Q_UNUSED(_o);
|
||||
Q_UNUSED(_id);
|
||||
Q_UNUSED(_c);
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
const QMetaObject noCloseMenu::staticMetaObject = {
|
||||
{ &QMenu::staticMetaObject, qt_meta_stringdata_noCloseMenu.data,
|
||||
qt_meta_data_noCloseMenu, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
|
||||
};
|
||||
|
||||
|
||||
const QMetaObject *noCloseMenu::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *noCloseMenu::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return Q_NULLPTR;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_noCloseMenu.stringdata0))
|
||||
return static_cast<void*>(const_cast< noCloseMenu*>(this));
|
||||
return QMenu::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int noCloseMenu::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QMenu::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
return _id;
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
|
@ -0,0 +1,182 @@
|
|||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'scoperangeenterdialog.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.7.0)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include "scoperangeenterdialog.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'scoperangeenterdialog.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.7.0. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
struct qt_meta_stringdata_scopeRangeEnterDialog_t {
|
||||
QByteArrayData data[9];
|
||||
char stringdata0[106];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_scopeRangeEnterDialog_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_scopeRangeEnterDialog_t qt_meta_stringdata_scopeRangeEnterDialog = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 21), // "scopeRangeEnterDialog"
|
||||
QT_MOC_LITERAL(1, 22, 11), // "yTopUpdated"
|
||||
QT_MOC_LITERAL(2, 34, 0), // ""
|
||||
QT_MOC_LITERAL(3, 35, 3), // "val"
|
||||
QT_MOC_LITERAL(4, 39, 11), // "yBotUpdated"
|
||||
QT_MOC_LITERAL(5, 51, 13), // "windowUpdated"
|
||||
QT_MOC_LITERAL(6, 65, 12), // "toUpdateYTop"
|
||||
QT_MOC_LITERAL(7, 78, 12), // "toUpdateYBot"
|
||||
QT_MOC_LITERAL(8, 91, 14) // "toUpdateWindow"
|
||||
|
||||
},
|
||||
"scopeRangeEnterDialog\0yTopUpdated\0\0"
|
||||
"val\0yBotUpdated\0windowUpdated\0"
|
||||
"toUpdateYTop\0toUpdateYBot\0toUpdateWindow"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_scopeRangeEnterDialog[] = {
|
||||
|
||||
// content:
|
||||
7, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
6, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
3, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 1, 44, 2, 0x06 /* Public */,
|
||||
4, 1, 47, 2, 0x06 /* Public */,
|
||||
5, 1, 50, 2, 0x06 /* Public */,
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
6, 1, 53, 2, 0x08 /* Private */,
|
||||
7, 1, 56, 2, 0x08 /* Private */,
|
||||
8, 1, 59, 2, 0x08 /* Private */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, QMetaType::Double, 3,
|
||||
QMetaType::Void, QMetaType::Double, 3,
|
||||
QMetaType::Void, QMetaType::Double, 3,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void, QMetaType::Double, 3,
|
||||
QMetaType::Void, QMetaType::Double, 3,
|
||||
QMetaType::Void, QMetaType::Double, 3,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void scopeRangeEnterDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
scopeRangeEnterDialog *_t = static_cast<scopeRangeEnterDialog *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->yTopUpdated((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 1: _t->yBotUpdated((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 2: _t->windowUpdated((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 3: _t->toUpdateYTop((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 4: _t->toUpdateYBot((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 5: _t->toUpdateWindow((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
void **func = reinterpret_cast<void **>(_a[1]);
|
||||
{
|
||||
typedef void (scopeRangeEnterDialog::*_t)(double );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&scopeRangeEnterDialog::yTopUpdated)) {
|
||||
*result = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (scopeRangeEnterDialog::*_t)(double );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&scopeRangeEnterDialog::yBotUpdated)) {
|
||||
*result = 1;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (scopeRangeEnterDialog::*_t)(double );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&scopeRangeEnterDialog::windowUpdated)) {
|
||||
*result = 2;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const QMetaObject scopeRangeEnterDialog::staticMetaObject = {
|
||||
{ &QDialog::staticMetaObject, qt_meta_stringdata_scopeRangeEnterDialog.data,
|
||||
qt_meta_data_scopeRangeEnterDialog, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
|
||||
};
|
||||
|
||||
|
||||
const QMetaObject *scopeRangeEnterDialog::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *scopeRangeEnterDialog::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return Q_NULLPTR;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_scopeRangeEnterDialog.stringdata0))
|
||||
return static_cast<void*>(const_cast< scopeRangeEnterDialog*>(this));
|
||||
return QDialog::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int scopeRangeEnterDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QDialog::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 6)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 6;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 6)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 6;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void scopeRangeEnterDialog::yTopUpdated(double _t1)
|
||||
{
|
||||
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 1
|
||||
void scopeRangeEnterDialog::yBotUpdated(double _t1)
|
||||
{
|
||||
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 1, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 2
|
||||
void scopeRangeEnterDialog::windowUpdated(double _t1)
|
||||
{
|
||||
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 2, _a);
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
Binary file not shown.
|
@ -0,0 +1,120 @@
|
|||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'timedtickbox.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.7.0)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include "ui_elements/timedtickbox.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'timedtickbox.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.7.0. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
struct qt_meta_stringdata_timedTickBox_t {
|
||||
QByteArrayData data[6];
|
||||
char stringdata0[55];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_timedTickBox_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_timedTickBox_t qt_meta_stringdata_timedTickBox = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 12), // "timedTickBox"
|
||||
QT_MOC_LITERAL(1, 13, 10), // "resetTimer"
|
||||
QT_MOC_LITERAL(2, 24, 0), // ""
|
||||
QT_MOC_LITERAL(3, 25, 9), // "timerTick"
|
||||
QT_MOC_LITERAL(4, 35, 11), // "enableTimer"
|
||||
QT_MOC_LITERAL(5, 47, 7) // "enabled"
|
||||
|
||||
},
|
||||
"timedTickBox\0resetTimer\0\0timerTick\0"
|
||||
"enableTimer\0enabled"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_timedTickBox[] = {
|
||||
|
||||
// content:
|
||||
7, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
3, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
1, 0, 29, 2, 0x0a /* Public */,
|
||||
3, 0, 30, 2, 0x0a /* Public */,
|
||||
4, 1, 31, 2, 0x0a /* Public */,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::Bool, 5,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void timedTickBox::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
timedTickBox *_t = static_cast<timedTickBox *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->resetTimer(); break;
|
||||
case 1: _t->timerTick(); break;
|
||||
case 2: _t->enableTimer((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
default: ;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const QMetaObject timedTickBox::staticMetaObject = {
|
||||
{ &QCheckBox::staticMetaObject, qt_meta_stringdata_timedTickBox.data,
|
||||
qt_meta_data_timedTickBox, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
|
||||
};
|
||||
|
||||
|
||||
const QMetaObject *timedTickBox::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *timedTickBox::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return Q_NULLPTR;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_timedTickBox.stringdata0))
|
||||
return static_cast<void*>(const_cast< timedTickBox*>(this));
|
||||
return QCheckBox::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int timedTickBox::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QCheckBox::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 3)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 3;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 3)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 3;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
Binary file not shown.
|
@ -0,0 +1,205 @@
|
|||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'unixusbdriver.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.7.0)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include "unixusbdriver.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'unixusbdriver.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.7.0. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
struct qt_meta_stringdata_worker_t {
|
||||
QByteArrayData data[3];
|
||||
char stringdata0[15];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_worker_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_worker_t qt_meta_stringdata_worker = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 6), // "worker"
|
||||
QT_MOC_LITERAL(1, 7, 6), // "handle"
|
||||
QT_MOC_LITERAL(2, 14, 0) // ""
|
||||
|
||||
},
|
||||
"worker\0handle\0"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_worker[] = {
|
||||
|
||||
// content:
|
||||
7, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
1, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
1, 0, 19, 2, 0x0a /* Public */,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void worker::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
worker *_t = static_cast<worker *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->handle(); break;
|
||||
default: ;
|
||||
}
|
||||
}
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
const QMetaObject worker::staticMetaObject = {
|
||||
{ &QObject::staticMetaObject, qt_meta_stringdata_worker.data,
|
||||
qt_meta_data_worker, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
|
||||
};
|
||||
|
||||
|
||||
const QMetaObject *worker::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *worker::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return Q_NULLPTR;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_worker.stringdata0))
|
||||
return static_cast<void*>(const_cast< worker*>(this));
|
||||
return QObject::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int worker::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QObject::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 1)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 1;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 1)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 1;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
struct qt_meta_stringdata_unixUsbDriver_t {
|
||||
QByteArrayData data[4];
|
||||
char stringdata0[41];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_unixUsbDriver_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_unixUsbDriver_t qt_meta_stringdata_unixUsbDriver = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 13), // "unixUsbDriver"
|
||||
QT_MOC_LITERAL(1, 14, 12), // "isoTimerTick"
|
||||
QT_MOC_LITERAL(2, 27, 0), // ""
|
||||
QT_MOC_LITERAL(3, 28, 12) // "recoveryTick"
|
||||
|
||||
},
|
||||
"unixUsbDriver\0isoTimerTick\0\0recoveryTick"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_unixUsbDriver[] = {
|
||||
|
||||
// content:
|
||||
7, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
2, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
1, 0, 24, 2, 0x0a /* Public */,
|
||||
3, 0, 25, 2, 0x0a /* Public */,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void unixUsbDriver::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
unixUsbDriver *_t = static_cast<unixUsbDriver *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->isoTimerTick(); break;
|
||||
case 1: _t->recoveryTick(); break;
|
||||
default: ;
|
||||
}
|
||||
}
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
const QMetaObject unixUsbDriver::staticMetaObject = {
|
||||
{ &genericUsbDriver::staticMetaObject, qt_meta_stringdata_unixUsbDriver.data,
|
||||
qt_meta_data_unixUsbDriver, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
|
||||
};
|
||||
|
||||
|
||||
const QMetaObject *unixUsbDriver::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *unixUsbDriver::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return Q_NULLPTR;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_unixUsbDriver.stringdata0))
|
||||
return static_cast<void*>(const_cast< unixUsbDriver*>(this));
|
||||
return genericUsbDriver::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int unixUsbDriver::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = genericUsbDriver::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 2)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 2;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 2)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 2;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
Binary file not shown.
|
@ -0,0 +1,117 @@
|
|||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'voltagespinbox.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.7.0)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include "ui_elements/voltagespinbox.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'voltagespinbox.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.7.0. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
struct qt_meta_stringdata_voltageSpinBox_t {
|
||||
QByteArrayData data[6];
|
||||
char stringdata0[44];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_voltageSpinBox_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_voltageSpinBox_t qt_meta_stringdata_voltageSpinBox = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 14), // "voltageSpinBox"
|
||||
QT_MOC_LITERAL(1, 15, 6), // "setMax"
|
||||
QT_MOC_LITERAL(2, 22, 0), // ""
|
||||
QT_MOC_LITERAL(3, 23, 6), // "newMax"
|
||||
QT_MOC_LITERAL(4, 30, 6), // "setMin"
|
||||
QT_MOC_LITERAL(5, 37, 6) // "newMin"
|
||||
|
||||
},
|
||||
"voltageSpinBox\0setMax\0\0newMax\0setMin\0"
|
||||
"newMin"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_voltageSpinBox[] = {
|
||||
|
||||
// content:
|
||||
7, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
2, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
1, 1, 24, 2, 0x0a /* Public */,
|
||||
4, 1, 27, 2, 0x0a /* Public */,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void, QMetaType::Double, 3,
|
||||
QMetaType::Void, QMetaType::Double, 5,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void voltageSpinBox::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
voltageSpinBox *_t = static_cast<voltageSpinBox *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->setMax((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 1: _t->setMin((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
default: ;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const QMetaObject voltageSpinBox::staticMetaObject = {
|
||||
{ &QDoubleSpinBox::staticMetaObject, qt_meta_stringdata_voltageSpinBox.data,
|
||||
qt_meta_data_voltageSpinBox, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
|
||||
};
|
||||
|
||||
|
||||
const QMetaObject *voltageSpinBox::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *voltageSpinBox::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return Q_NULLPTR;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_voltageSpinBox.stringdata0))
|
||||
return static_cast<void*>(const_cast< voltageSpinBox*>(this));
|
||||
return QDoubleSpinBox::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int voltageSpinBox::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QDoubleSpinBox::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 2)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 2;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 2)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 2;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
Binary file not shown.
|
@ -7,7 +7,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
static const unsigned char qt_resource_data[] = {
|
||||
// /Users/esposch/Labrador/Desktop Interface/buffer_0.bmp
|
||||
// /Users/esposch/Desktop/Labrador/Desktop Interface/buffer_0.bmp
|
||||
0x0,0x0,0x0,0x8d,
|
||||
0x0,
|
||||
0x0,0x28,0xb6,0x78,0x9c,0xed,0xd0,0xb1,0xd,0xc2,0x30,0x0,0x45,0xc1,0xb0,0x45,
|
||||
|
@ -19,7 +19,7 @@ static const unsigned char qt_resource_data[] = {
|
|||
0xab,0x8f,0xd5,0xc7,0xea,0x63,0xf5,0xb1,0xfa,0x58,0x7d,0xac,0x3e,0x56,0x1f,0xab,
|
||||
0x8f,0xd5,0xc7,0xea,0x63,0xf5,0xb1,0xfa,0x58,0x7d,0xac,0x3e,0x56,0x1f,0xab,0x8f,
|
||||
0xd5,0xc7,0xea,0x63,0x73,0xf6,0xf9,0x2,0xf4,0x4,0x42,0xe7,
|
||||
// /Users/esposch/Labrador/Desktop Interface/buffer_2.bmp
|
||||
// /Users/esposch/Desktop/Labrador/Desktop Interface/buffer_2.bmp
|
||||
0x0,0x0,0x0,0x7b,
|
||||
0x0,
|
||||
0x0,0x28,0xb6,0x78,0x9c,0xed,0xd0,0x31,0xd,0x80,0x30,0x14,0x45,0xd1,0xe2,0x82,
|
||||
|
@ -30,7 +30,7 @@ static const unsigned char qt_resource_data[] = {
|
|||
0x3e,0x99,0xf1,0xe1,0xc3,0x87,0xf,0x9f,0xcc,0xf8,0xf0,0xe1,0xc3,0x87,0x4f,0x66,
|
||||
0x7c,0xf8,0xf0,0xe1,0xc3,0x27,0x33,0x3e,0x7c,0xf8,0xf0,0xe1,0x93,0x19,0x1f,0x3e,
|
||||
0x7c,0xf8,0xf0,0x19,0x7b,0x1,0x6d,0x5a,0xf,0xce,
|
||||
// /Users/esposch/Labrador/Desktop Interface/buffer_1.bmp
|
||||
// /Users/esposch/Desktop/Labrador/Desktop Interface/buffer_1.bmp
|
||||
0x0,0x0,0x0,0x97,
|
||||
0x0,
|
||||
0x0,0x28,0xb6,0x78,0x9c,0xed,0xd0,0xb1,0xd,0xc2,0x30,0x10,0x40,0xd1,0xb0,0x5,
|
||||
|
|
|
@ -28,7 +28,7 @@ void espoComboBox::readWaveformList(void)
|
|||
|
||||
while (fgets(nameBuffer,256,listPtr) !=NULL){
|
||||
qDebug() << "nameBuffer = " << nameBuffer;
|
||||
strtok(nameBuffer, "\n");
|
||||
strtok(nameBuffer, "\n\r");
|
||||
newNames->append(nameBuffer);
|
||||
}
|
||||
this->addItems(*(newNames));
|
||||
|
|
|
@ -69,7 +69,14 @@ unsigned char unixUsbDriver::usbInit(unsigned long VIDin, unsigned long PIDin){
|
|||
|
||||
void unixUsbDriver::usbSendControl(uint8_t RequestType, uint8_t Request, uint16_t Value, uint16_t Index, uint16_t Length, unsigned char *LDATA){
|
||||
//qDebug("Sending Control packet! 0x%x,\t0x%x,\t%u,\t%u,\t%d,\t%u", RequestType, Request, Value, Index, LDATA, Length);
|
||||
int error = libusb_control_transfer(handle, RequestType, Request, Value, Index, LDATA, Length, 4000);
|
||||
unsigned char *controlBuffer;
|
||||
|
||||
if (LDATA==NULL){
|
||||
controlBuffer = inBuffer;
|
||||
}
|
||||
else controlBuffer = LDATA;
|
||||
|
||||
int error = libusb_control_transfer(handle, RequestType, Request, Value, Index, controlBuffer, Length, 4000);
|
||||
if(error){
|
||||
qDebug("unixUsbDriver::usbSendControl FAILED with error %s", libusb_error_name(error));
|
||||
} //else qDebug() << "unixUsbDriver::usbSendControl SUCCESS";
|
||||
|
@ -84,16 +91,18 @@ unsigned char unixUsbDriver::usbIsoInit(void){
|
|||
int error;
|
||||
|
||||
for(int n=0;n<NUM_FUTURE_CTX;n++){
|
||||
isoCtx[n] = libusb_alloc_transfer(ISO_PACKETS_PER_CTX);
|
||||
transferCompleted[n].number = n;
|
||||
transferCompleted[n].completed = false;
|
||||
libusb_fill_iso_transfer(isoCtx[n], handle, pipeID, dataBuffer[n], ISO_PACKET_SIZE*ISO_PACKETS_PER_CTX, ISO_PACKETS_PER_CTX, isoCallback, (void*)&transferCompleted[n], 4000);
|
||||
libusb_set_iso_packet_lengths(isoCtx[n], ISO_PACKET_SIZE);
|
||||
error = libusb_submit_transfer(isoCtx[n]);
|
||||
if(error){
|
||||
qDebug() << "libusb_submit_transfer FAILED";
|
||||
qDebug() << "ERROR" << libusb_error_name(error);
|
||||
} else qDebug() << "isoCtx submitted successfully!";
|
||||
for (unsigned char k=0;k<NUM_ISO_ENDPOINTS;k++){
|
||||
isoCtx[k][n] = libusb_alloc_transfer(ISO_PACKETS_PER_CTX);
|
||||
transferCompleted[k][n].number = (k * ISO_PACKETS_PER_CTX) + n;
|
||||
transferCompleted[k][n].completed = false;
|
||||
libusb_fill_iso_transfer(isoCtx[k][n], handle, pipeID[k], dataBuffer[k][n], ISO_PACKET_SIZE*ISO_PACKETS_PER_CTX, ISO_PACKETS_PER_CTX, isoCallback, (void*)&transferCompleted[k][n], 4000);
|
||||
libusb_set_iso_packet_lengths(isoCtx[k][n], ISO_PACKET_SIZE);
|
||||
error = libusb_submit_transfer(isoCtx[k][n]);
|
||||
if(error){
|
||||
qDebug() << "libusb_submit_transfer FAILED";
|
||||
qDebug() << "ERROR" << libusb_error_name(error);
|
||||
} else qDebug() << "isoCtx submitted successfully!";
|
||||
}
|
||||
}
|
||||
isoTimer = new QTimer();
|
||||
isoTimer->setTimerType(Qt::PreciseTimer);
|
||||
|
@ -136,10 +145,10 @@ void unixUsbDriver::isoTimerTick(void){
|
|||
|
||||
tcBlockMutex.lock();
|
||||
for (n=0; n<NUM_FUTURE_CTX; n++){
|
||||
if(transferCompleted[n].completed){
|
||||
if(allEndpointsComplete(n)){
|
||||
//qDebug("Transfer %d is complete!!", n);
|
||||
if(transferCompleted[n].timeReceived < minFrame){
|
||||
minFrame = transferCompleted[n].timeReceived;
|
||||
if(transferCompleted[0][n].timeReceived < minFrame){
|
||||
minFrame = transferCompleted[0][n].timeReceived;
|
||||
earliest = n;
|
||||
}
|
||||
}
|
||||
|
@ -150,11 +159,13 @@ void unixUsbDriver::isoTimerTick(void){
|
|||
}
|
||||
|
||||
//Copy iso data into buffer
|
||||
for(i=0;i<isoCtx[earliest]->num_iso_packets;i++){
|
||||
packetPointer = libusb_get_iso_packet_buffer_simple(isoCtx[earliest], i);
|
||||
//qDebug() << packetLength;
|
||||
memcpy(&(outBuffers[currentWriteBuffer][packetLength]), packetPointer, isoCtx[earliest]->iso_packet_desc[i].actual_length);
|
||||
packetLength += isoCtx[earliest]->iso_packet_desc[i].actual_length;
|
||||
for(i=0;i<isoCtx[0][earliest]->num_iso_packets;i++){
|
||||
for(unsigned char k=0; k<NUM_ISO_ENDPOINTS;k++){
|
||||
packetPointer = libusb_get_iso_packet_buffer_simple(isoCtx[k][earliest], i);
|
||||
//qDebug() << packetLength;
|
||||
memcpy(&(outBuffers[currentWriteBuffer][packetLength]), packetPointer, isoCtx[k][earliest]->iso_packet_desc[i].actual_length);
|
||||
packetLength += isoCtx[k][earliest]->iso_packet_desc[i].actual_length;
|
||||
}
|
||||
}
|
||||
|
||||
//Control data for isoDriver
|
||||
|
@ -162,12 +173,14 @@ void unixUsbDriver::isoTimerTick(void){
|
|||
currentWriteBuffer = !currentWriteBuffer;
|
||||
|
||||
//Setup next transfer
|
||||
transferCompleted[earliest].completed = false;
|
||||
error = libusb_submit_transfer(isoCtx[earliest]);
|
||||
if(error){
|
||||
qDebug() << "libusb_submit_transfer FAILED";
|
||||
qDebug() << "ERROR" << libusb_error_name(error);
|
||||
} //else qDebug() << "isoCtx submitted successfully!";
|
||||
for(unsigned char k=0; k<NUM_ISO_ENDPOINTS;k++){
|
||||
transferCompleted[k][earliest].completed = false;
|
||||
error = libusb_submit_transfer(isoCtx[k][earliest]);
|
||||
if(error){
|
||||
qDebug() << "libusb_submit_transfer FAILED";
|
||||
qDebug() << "ERROR" << libusb_error_name(error);
|
||||
} //else qDebug() << "isoCtx submitted successfully!";
|
||||
}
|
||||
tcBlockMutex.unlock();
|
||||
upTick();
|
||||
return;
|
||||
|
@ -199,3 +212,13 @@ static void LIBUSB_CALL isoCallback(struct libusb_transfer * transfer){
|
|||
tcBlockMutex.unlock();
|
||||
return;
|
||||
}
|
||||
|
||||
bool unixUsbDriver::allEndpointsComplete(int n){
|
||||
//Just tells you if transfers have completed on _all_ iso endpoints for a given value of n.
|
||||
for (unsigned char k=0;k<NUM_ISO_ENDPOINTS;k++){
|
||||
if(!transferCompleted[k][n].completed){
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -59,14 +59,15 @@ private:
|
|||
libusb_device_handle *handle = NULL;
|
||||
QTimer *recoveryTimer;
|
||||
//USBIso Vars
|
||||
libusb_transfer *isoCtx[NUM_FUTURE_CTX];
|
||||
tcBlock transferCompleted[NUM_FUTURE_CTX];
|
||||
unsigned char dataBuffer[NUM_FUTURE_CTX][ISO_PACKET_SIZE*ISO_PACKETS_PER_CTX];
|
||||
libusb_transfer *isoCtx[NUM_ISO_ENDPOINTS][NUM_FUTURE_CTX];
|
||||
tcBlock transferCompleted[NUM_ISO_ENDPOINTS][NUM_FUTURE_CTX];
|
||||
unsigned char dataBuffer[NUM_ISO_ENDPOINTS][NUM_FUTURE_CTX][ISO_PACKET_SIZE*ISO_PACKETS_PER_CTX];
|
||||
worker *isoHandler;
|
||||
QThread *workerThread;
|
||||
//Generic Functions
|
||||
unsigned char usbInit(unsigned long VIDin, unsigned long PIDin);
|
||||
unsigned char usbIsoInit(void);
|
||||
bool allEndpointsComplete(int n);
|
||||
signals:
|
||||
public slots:
|
||||
void isoTimerTick(void);
|
||||
|
|
Binary file not shown.
|
@ -230,7 +230,7 @@ void winUsbDriver::isoTimerTick(void){
|
|||
|
||||
//Getting earliest transfer number.
|
||||
for (n=0; n<NUM_FUTURE_CTX; n++){
|
||||
if(OvlK_IsComplete(ovlkHandle[0][n]) && OvlK_IsComplete(ovlkHandle[1][n]) && OvlK_IsComplete(ovlkHandle[2][n])){
|
||||
if(allEndpointsComplete(n)){
|
||||
if(isoCtx[0][n]->StartFrame < minFrame){
|
||||
minFrame = isoCtx[0][n]->StartFrame;
|
||||
earliest = n;
|
||||
|
@ -299,3 +299,13 @@ char *winUsbDriver::isoRead(unsigned int *newLength){
|
|||
*(newLength) = bufferLengths[!currentWriteBuffer];
|
||||
return (char*) outBuffers[(unsigned char) !currentWriteBuffer];
|
||||
}
|
||||
|
||||
bool winUsbDriver::allEndpointsComplete(int n){
|
||||
//Just tells you if transfers have completed on _all_ iso endpoints for a given value of n.
|
||||
for (unsigned char k=0;k<NUM_ISO_ENDPOINTS;k++){
|
||||
if(!OvlK_IsComplete(ovlkHandle[k][n])){
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -32,6 +32,7 @@ private:
|
|||
//Generic Functions
|
||||
unsigned char usbInit(unsigned long VIDin, unsigned long PIDin);
|
||||
unsigned char usbIsoInit(void);
|
||||
bool allEndpointsComplete(int n);
|
||||
signals:
|
||||
public slots:
|
||||
void isoTimerTick(void);
|
||||
|
|
Loading…
Reference in New Issue