mirror of https://github.com/EspoTek/Labrador.git
Librademo builds on Windows
This commit is contained in:
parent
10484cc119
commit
42a2b9763d
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -26,7 +26,10 @@ DEFINES += QT_DEPRECATED_WARNINGS
|
|||
SOURCES += \
|
||||
main.cpp \
|
||||
mainwindow.cpp \
|
||||
../../../../Desktop_Interface/ui_elements/qcp1/qcustomplot.cpp
|
||||
../../../../Desktop_Interface/ui_elements/qcp1/qcustomplot.cpp \
|
||||
../../librador_shared_library/librador.cpp \
|
||||
../../librador_shared_library/o1buffer.cpp \
|
||||
../../librador_shared_library/usbcallhandler.cpp \
|
||||
|
||||
|
||||
HEADERS += \
|
||||
|
@ -40,40 +43,7 @@ INCLUDEPATH += \
|
|||
FORMS += \
|
||||
mainwindow.ui
|
||||
|
||||
|
||||
unix:LIBS += -L../../librador_shared_library -lrador
|
||||
unix:INCLUDEPATH += ../../librador_shared_library
|
||||
unix:DEPENDPATH += ../../librador_shared_library
|
||||
|
||||
unix:!android:!macx {
|
||||
#libusb include
|
||||
LIBS += -L../../../../Desktop_Interface/build_linux/libusb -lusb-1.0 ##I suspect the -L here does nothing!
|
||||
INCLUDEPATH += ../../../../Desktop_Interface/build_linux/libusb
|
||||
DEPENDPATH += ../../../../Desktop_Interface/build_linux/libusb
|
||||
|
||||
#libdfuprog include
|
||||
LIBS += -L../../../../Desktop_Interface/build_linux/libdfuprog/lib/x64 -ldfuprog-0.9
|
||||
INCLUDEPATH += ../../../../Desktop_Interface/build_linux/libdfuprog/include
|
||||
DEPENDPATH += ../../../../Desktop_Interface/build_linux/libdfuprog/include
|
||||
|
||||
#linux defines
|
||||
DEFINES += \
|
||||
PLATFORM_LINUX \
|
||||
}
|
||||
|
||||
macx {
|
||||
#libusb include
|
||||
LIBS += -L../../../Desktop_Interface/build_mac/libusb/lib -lusb-1.0 ##I suspect the -L here does nothing!
|
||||
INCLUDEPATH += ../../../Desktop_Interface/build_mac/libusb/include/libusb-1.0
|
||||
DEPENDPATH += ../../../Desktop_Interface/build_mac/libusb/include/libusb-1.0
|
||||
|
||||
#libdfuprog include
|
||||
LIBS += -L../../../Desktop_Interface/build_mac/libdfuprog/lib -ldfuprog-0.9
|
||||
INCLUDEPATH += ../../../Desktop_Interface/build_mac/libdfuprog/include
|
||||
DEPENDPATH += ../../../Desktop_Interface/build_mac/libdfuprog/include
|
||||
|
||||
#linux defines
|
||||
DEFINES += \
|
||||
PLATFORM_MAC \
|
||||
}
|
||||
LIBS += -llibusb-1.0
|
||||
INCLUDEPATH += ../../librador_shared_library
|
||||
DEPENDPATH += ../../librador_shared_library
|
||||
|
||||
|
|
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,219 @@
|
|||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'mainwindow.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.12)
|
||||
**
|
||||
** 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.12.12. 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
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_MainWindow_t {
|
||||
QByteArrayData data[26];
|
||||
char stringdata0[563];
|
||||
};
|
||||
#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, 21), // "on_pushButton_clicked"
|
||||
QT_MOC_LITERAL(2, 33, 0), // ""
|
||||
QT_MOC_LITERAL(3, 34, 23), // "on_pushButton_2_clicked"
|
||||
QT_MOC_LITERAL(4, 58, 23), // "on_pushButton_3_clicked"
|
||||
QT_MOC_LITERAL(5, 82, 23), // "on_pushButton_4_clicked"
|
||||
QT_MOC_LITERAL(6, 106, 23), // "on_pushButton_5_clicked"
|
||||
QT_MOC_LITERAL(7, 130, 23), // "on_pushButton_6_clicked"
|
||||
QT_MOC_LITERAL(8, 154, 23), // "on_pushButton_7_clicked"
|
||||
QT_MOC_LITERAL(9, 178, 23), // "on_pushButton_8_clicked"
|
||||
QT_MOC_LITERAL(10, 202, 23), // "on_pushButton_9_clicked"
|
||||
QT_MOC_LITERAL(11, 226, 24), // "on_checkBox_stateChanged"
|
||||
QT_MOC_LITERAL(12, 251, 4), // "arg1"
|
||||
QT_MOC_LITERAL(13, 256, 26), // "on_checkBox_2_stateChanged"
|
||||
QT_MOC_LITERAL(14, 283, 26), // "on_checkBox_3_stateChanged"
|
||||
QT_MOC_LITERAL(15, 310, 26), // "on_checkBox_4_stateChanged"
|
||||
QT_MOC_LITERAL(16, 337, 21), // "on_comboBox_activated"
|
||||
QT_MOC_LITERAL(17, 359, 5), // "index"
|
||||
QT_MOC_LITERAL(18, 365, 24), // "on_pushButton_10_clicked"
|
||||
QT_MOC_LITERAL(19, 390, 24), // "on_pushButton_11_clicked"
|
||||
QT_MOC_LITERAL(20, 415, 23), // "on_comboBox_2_activated"
|
||||
QT_MOC_LITERAL(21, 439, 23), // "on_comboBox_3_activated"
|
||||
QT_MOC_LITERAL(22, 463, 24), // "on_pushButton_12_clicked"
|
||||
QT_MOC_LITERAL(23, 488, 24), // "on_pushButton_13_clicked"
|
||||
QT_MOC_LITERAL(24, 513, 24), // "on_pushButton_14_clicked"
|
||||
QT_MOC_LITERAL(25, 538, 24) // "on_pushButton_15_clicked"
|
||||
|
||||
},
|
||||
"MainWindow\0on_pushButton_clicked\0\0"
|
||||
"on_pushButton_2_clicked\0on_pushButton_3_clicked\0"
|
||||
"on_pushButton_4_clicked\0on_pushButton_5_clicked\0"
|
||||
"on_pushButton_6_clicked\0on_pushButton_7_clicked\0"
|
||||
"on_pushButton_8_clicked\0on_pushButton_9_clicked\0"
|
||||
"on_checkBox_stateChanged\0arg1\0"
|
||||
"on_checkBox_2_stateChanged\0"
|
||||
"on_checkBox_3_stateChanged\0"
|
||||
"on_checkBox_4_stateChanged\0"
|
||||
"on_comboBox_activated\0index\0"
|
||||
"on_pushButton_10_clicked\0"
|
||||
"on_pushButton_11_clicked\0"
|
||||
"on_comboBox_2_activated\0on_comboBox_3_activated\0"
|
||||
"on_pushButton_12_clicked\0"
|
||||
"on_pushButton_13_clicked\0"
|
||||
"on_pushButton_14_clicked\0"
|
||||
"on_pushButton_15_clicked"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_MainWindow[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
22, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
1, 0, 124, 2, 0x08 /* Private */,
|
||||
3, 0, 125, 2, 0x08 /* Private */,
|
||||
4, 0, 126, 2, 0x08 /* Private */,
|
||||
5, 0, 127, 2, 0x08 /* Private */,
|
||||
6, 0, 128, 2, 0x08 /* Private */,
|
||||
7, 0, 129, 2, 0x08 /* Private */,
|
||||
8, 0, 130, 2, 0x08 /* Private */,
|
||||
9, 0, 131, 2, 0x08 /* Private */,
|
||||
10, 0, 132, 2, 0x08 /* Private */,
|
||||
11, 1, 133, 2, 0x08 /* Private */,
|
||||
13, 1, 136, 2, 0x08 /* Private */,
|
||||
14, 1, 139, 2, 0x08 /* Private */,
|
||||
15, 1, 142, 2, 0x08 /* Private */,
|
||||
16, 1, 145, 2, 0x08 /* Private */,
|
||||
18, 0, 148, 2, 0x08 /* Private */,
|
||||
19, 0, 149, 2, 0x08 /* Private */,
|
||||
20, 1, 150, 2, 0x08 /* Private */,
|
||||
21, 1, 153, 2, 0x08 /* Private */,
|
||||
22, 0, 156, 2, 0x08 /* Private */,
|
||||
23, 0, 157, 2, 0x08 /* Private */,
|
||||
24, 0, 158, 2, 0x08 /* Private */,
|
||||
25, 0, 159, 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::Int, 12,
|
||||
QMetaType::Void, QMetaType::Int, 12,
|
||||
QMetaType::Void, QMetaType::Int, 12,
|
||||
QMetaType::Void, QMetaType::Int, 12,
|
||||
QMetaType::Void, QMetaType::Int, 17,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::Int, 17,
|
||||
QMetaType::Void, QMetaType::Int, 17,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<MainWindow *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->on_pushButton_clicked(); break;
|
||||
case 1: _t->on_pushButton_2_clicked(); break;
|
||||
case 2: _t->on_pushButton_3_clicked(); break;
|
||||
case 3: _t->on_pushButton_4_clicked(); break;
|
||||
case 4: _t->on_pushButton_5_clicked(); break;
|
||||
case 5: _t->on_pushButton_6_clicked(); break;
|
||||
case 6: _t->on_pushButton_7_clicked(); break;
|
||||
case 7: _t->on_pushButton_8_clicked(); break;
|
||||
case 8: _t->on_pushButton_9_clicked(); break;
|
||||
case 9: _t->on_checkBox_stateChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
|
||||
case 10: _t->on_checkBox_2_stateChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
|
||||
case 11: _t->on_checkBox_3_stateChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
|
||||
case 12: _t->on_checkBox_4_stateChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
|
||||
case 13: _t->on_comboBox_activated((*reinterpret_cast< int(*)>(_a[1]))); break;
|
||||
case 14: _t->on_pushButton_10_clicked(); break;
|
||||
case 15: _t->on_pushButton_11_clicked(); break;
|
||||
case 16: _t->on_comboBox_2_activated((*reinterpret_cast< int(*)>(_a[1]))); break;
|
||||
case 17: _t->on_comboBox_3_activated((*reinterpret_cast< int(*)>(_a[1]))); break;
|
||||
case 18: _t->on_pushButton_12_clicked(); break;
|
||||
case 19: _t->on_pushButton_13_clicked(); break;
|
||||
case 20: _t->on_pushButton_14_clicked(); break;
|
||||
case 21: _t->on_pushButton_15_clicked(); break;
|
||||
default: ;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject MainWindow::staticMetaObject = { {
|
||||
&QMainWindow::staticMetaObject,
|
||||
qt_meta_stringdata_MainWindow.data,
|
||||
qt_meta_data_MainWindow,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
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 nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_MainWindow.stringdata0))
|
||||
return static_cast<void*>(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 < 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;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
|
@ -0,0 +1,12 @@
|
|||
#define _MSC_EXTENSIONS
|
||||
#define _INTEGRAL_MAX_BITS 64
|
||||
#define _MSC_VER 1916
|
||||
#define _MSC_FULL_VER 191627051
|
||||
#define _MSC_BUILD 0
|
||||
#define _M_AMD64 100
|
||||
#define _M_X64 100
|
||||
#define _WIN64
|
||||
#define _WIN32
|
||||
#define _CPPRTTI
|
||||
#define _MT
|
||||
#define _DLL
|
File diff suppressed because it is too large
Load Diff
|
@ -1,7 +1,7 @@
|
|||
/********************************************************************************
|
||||
** Form generated from reading UI file 'mainwindow.ui'
|
||||
**
|
||||
** Created by: Qt User Interface Compiler version 5.10.0
|
||||
** Created by: Qt User Interface Compiler version 5.12.12
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
||||
********************************************************************************/
|
||||
|
@ -10,14 +10,11 @@
|
|||
#define UI_MAINWINDOW_H
|
||||
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtWidgets/QAction>
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QButtonGroup>
|
||||
#include <QtWidgets/QCheckBox>
|
||||
#include <QtWidgets/QComboBox>
|
||||
#include <QtWidgets/QDoubleSpinBox>
|
||||
#include <QtWidgets/QHBoxLayout>
|
||||
#include <QtWidgets/QHeaderView>
|
||||
#include <QtWidgets/QLabel>
|
||||
#include <QtWidgets/QMainWindow>
|
||||
#include <QtWidgets/QMenuBar>
|
||||
|
@ -91,74 +88,74 @@ public:
|
|||
void setupUi(QMainWindow *MainWindow)
|
||||
{
|
||||
if (MainWindow->objectName().isEmpty())
|
||||
MainWindow->setObjectName(QStringLiteral("MainWindow"));
|
||||
MainWindow->setObjectName(QString::fromUtf8("MainWindow"));
|
||||
MainWindow->resize(1280, 720);
|
||||
centralWidget = new QWidget(MainWindow);
|
||||
centralWidget->setObjectName(QStringLiteral("centralWidget"));
|
||||
centralWidget->setObjectName(QString::fromUtf8("centralWidget"));
|
||||
horizontalLayout = new QHBoxLayout(centralWidget);
|
||||
horizontalLayout->setSpacing(6);
|
||||
horizontalLayout->setContentsMargins(11, 11, 11, 11);
|
||||
horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
|
||||
horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
|
||||
verticalLayout = new QVBoxLayout();
|
||||
verticalLayout->setSpacing(6);
|
||||
verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
|
||||
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
|
||||
pushButton = new QPushButton(centralWidget);
|
||||
pushButton->setObjectName(QStringLiteral("pushButton"));
|
||||
pushButton->setObjectName(QString::fromUtf8("pushButton"));
|
||||
|
||||
verticalLayout->addWidget(pushButton);
|
||||
|
||||
pushButton_2 = new QPushButton(centralWidget);
|
||||
pushButton_2->setObjectName(QStringLiteral("pushButton_2"));
|
||||
pushButton_2->setObjectName(QString::fromUtf8("pushButton_2"));
|
||||
|
||||
verticalLayout->addWidget(pushButton_2);
|
||||
|
||||
pushButton_3 = new QPushButton(centralWidget);
|
||||
pushButton_3->setObjectName(QStringLiteral("pushButton_3"));
|
||||
pushButton_3->setObjectName(QString::fromUtf8("pushButton_3"));
|
||||
|
||||
verticalLayout->addWidget(pushButton_3);
|
||||
|
||||
pushButton_6 = new QPushButton(centralWidget);
|
||||
pushButton_6->setObjectName(QStringLiteral("pushButton_6"));
|
||||
pushButton_6->setObjectName(QString::fromUtf8("pushButton_6"));
|
||||
|
||||
verticalLayout->addWidget(pushButton_6);
|
||||
|
||||
pushButton_4 = new QPushButton(centralWidget);
|
||||
pushButton_4->setObjectName(QStringLiteral("pushButton_4"));
|
||||
pushButton_4->setObjectName(QString::fromUtf8("pushButton_4"));
|
||||
|
||||
verticalLayout->addWidget(pushButton_4);
|
||||
|
||||
pushButton_7 = new QPushButton(centralWidget);
|
||||
pushButton_7->setObjectName(QStringLiteral("pushButton_7"));
|
||||
pushButton_7->setObjectName(QString::fromUtf8("pushButton_7"));
|
||||
|
||||
verticalLayout->addWidget(pushButton_7);
|
||||
|
||||
pushButton_8 = new QPushButton(centralWidget);
|
||||
pushButton_8->setObjectName(QStringLiteral("pushButton_8"));
|
||||
pushButton_8->setObjectName(QString::fromUtf8("pushButton_8"));
|
||||
|
||||
verticalLayout->addWidget(pushButton_8);
|
||||
|
||||
pushButton_10 = new QPushButton(centralWidget);
|
||||
pushButton_10->setObjectName(QStringLiteral("pushButton_10"));
|
||||
pushButton_10->setObjectName(QString::fromUtf8("pushButton_10"));
|
||||
|
||||
verticalLayout->addWidget(pushButton_10);
|
||||
|
||||
pushButton_11 = new QPushButton(centralWidget);
|
||||
pushButton_11->setObjectName(QStringLiteral("pushButton_11"));
|
||||
pushButton_11->setObjectName(QString::fromUtf8("pushButton_11"));
|
||||
|
||||
verticalLayout->addWidget(pushButton_11);
|
||||
|
||||
horizontalLayout_3 = new QHBoxLayout();
|
||||
horizontalLayout_3->setSpacing(6);
|
||||
horizontalLayout_3->setObjectName(QStringLiteral("horizontalLayout_3"));
|
||||
horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3"));
|
||||
pushButton_9 = new QPushButton(centralWidget);
|
||||
pushButton_9->setObjectName(QStringLiteral("pushButton_9"));
|
||||
pushButton_9->setObjectName(QString::fromUtf8("pushButton_9"));
|
||||
|
||||
horizontalLayout_3->addWidget(pushButton_9);
|
||||
|
||||
powerSupplySpinBox = new QDoubleSpinBox(centralWidget);
|
||||
powerSupplySpinBox->setObjectName(QStringLiteral("powerSupplySpinBox"));
|
||||
powerSupplySpinBox->setMinimum(5);
|
||||
powerSupplySpinBox->setMaximum(12);
|
||||
powerSupplySpinBox->setObjectName(QString::fromUtf8("powerSupplySpinBox"));
|
||||
powerSupplySpinBox->setMinimum(5.000000000000000);
|
||||
powerSupplySpinBox->setMaximum(12.000000000000000);
|
||||
|
||||
horizontalLayout_3->addWidget(powerSupplySpinBox);
|
||||
|
||||
|
@ -167,24 +164,24 @@ public:
|
|||
|
||||
horizontalLayout_2 = new QHBoxLayout();
|
||||
horizontalLayout_2->setSpacing(6);
|
||||
horizontalLayout_2->setObjectName(QStringLiteral("horizontalLayout_2"));
|
||||
horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
|
||||
checkBox = new QCheckBox(centralWidget);
|
||||
checkBox->setObjectName(QStringLiteral("checkBox"));
|
||||
checkBox->setObjectName(QString::fromUtf8("checkBox"));
|
||||
|
||||
horizontalLayout_2->addWidget(checkBox);
|
||||
|
||||
checkBox_2 = new QCheckBox(centralWidget);
|
||||
checkBox_2->setObjectName(QStringLiteral("checkBox_2"));
|
||||
checkBox_2->setObjectName(QString::fromUtf8("checkBox_2"));
|
||||
|
||||
horizontalLayout_2->addWidget(checkBox_2);
|
||||
|
||||
checkBox_3 = new QCheckBox(centralWidget);
|
||||
checkBox_3->setObjectName(QStringLiteral("checkBox_3"));
|
||||
checkBox_3->setObjectName(QString::fromUtf8("checkBox_3"));
|
||||
|
||||
horizontalLayout_2->addWidget(checkBox_3);
|
||||
|
||||
checkBox_4 = new QCheckBox(centralWidget);
|
||||
checkBox_4->setObjectName(QStringLiteral("checkBox_4"));
|
||||
checkBox_4->setObjectName(QString::fromUtf8("checkBox_4"));
|
||||
|
||||
horizontalLayout_2->addWidget(checkBox_4);
|
||||
|
||||
|
@ -193,9 +190,9 @@ public:
|
|||
|
||||
horizontalLayout_4 = new QHBoxLayout();
|
||||
horizontalLayout_4->setSpacing(6);
|
||||
horizontalLayout_4->setObjectName(QStringLiteral("horizontalLayout_4"));
|
||||
horizontalLayout_4->setObjectName(QString::fromUtf8("horizontalLayout_4"));
|
||||
label = new QLabel(centralWidget);
|
||||
label->setObjectName(QStringLiteral("label"));
|
||||
label->setObjectName(QString::fromUtf8("label"));
|
||||
label->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
|
||||
|
||||
horizontalLayout_4->addWidget(label);
|
||||
|
@ -209,7 +206,7 @@ public:
|
|||
comboBox->addItem(QString());
|
||||
comboBox->addItem(QString());
|
||||
comboBox->addItem(QString());
|
||||
comboBox->setObjectName(QStringLiteral("comboBox"));
|
||||
comboBox->setObjectName(QString::fromUtf8("comboBox"));
|
||||
|
||||
horizontalLayout_4->addWidget(comboBox);
|
||||
|
||||
|
@ -218,9 +215,9 @@ public:
|
|||
|
||||
horizontalLayout_5 = new QHBoxLayout();
|
||||
horizontalLayout_5->setSpacing(6);
|
||||
horizontalLayout_5->setObjectName(QStringLiteral("horizontalLayout_5"));
|
||||
horizontalLayout_5->setObjectName(QString::fromUtf8("horizontalLayout_5"));
|
||||
label_2 = new QLabel(centralWidget);
|
||||
label_2->setObjectName(QStringLiteral("label_2"));
|
||||
label_2->setObjectName(QString::fromUtf8("label_2"));
|
||||
label_2->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
|
||||
|
||||
horizontalLayout_5->addWidget(label_2);
|
||||
|
@ -234,7 +231,7 @@ public:
|
|||
comboBox_2->addItem(QString());
|
||||
comboBox_2->addItem(QString());
|
||||
comboBox_2->addItem(QString());
|
||||
comboBox_2->setObjectName(QStringLiteral("comboBox_2"));
|
||||
comboBox_2->setObjectName(QString::fromUtf8("comboBox_2"));
|
||||
|
||||
horizontalLayout_5->addWidget(comboBox_2);
|
||||
|
||||
|
@ -243,12 +240,12 @@ public:
|
|||
|
||||
horizontalLayout_6 = new QHBoxLayout();
|
||||
horizontalLayout_6->setSpacing(6);
|
||||
horizontalLayout_6->setObjectName(QStringLiteral("horizontalLayout_6"));
|
||||
horizontalLayout_6->setObjectName(QString::fromUtf8("horizontalLayout_6"));
|
||||
verticalLayout_2 = new QVBoxLayout();
|
||||
verticalLayout_2->setSpacing(6);
|
||||
verticalLayout_2->setObjectName(QStringLiteral("verticalLayout_2"));
|
||||
verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
|
||||
label_3 = new QLabel(centralWidget);
|
||||
label_3->setObjectName(QStringLiteral("label_3"));
|
||||
label_3->setObjectName(QString::fromUtf8("label_3"));
|
||||
|
||||
verticalLayout_2->addWidget(label_3);
|
||||
|
||||
|
@ -256,7 +253,7 @@ public:
|
|||
comboBox_3->addItem(QString());
|
||||
comboBox_3->addItem(QString());
|
||||
comboBox_3->addItem(QString());
|
||||
comboBox_3->setObjectName(QStringLiteral("comboBox_3"));
|
||||
comboBox_3->setObjectName(QString::fromUtf8("comboBox_3"));
|
||||
|
||||
verticalLayout_2->addWidget(comboBox_3);
|
||||
|
||||
|
@ -265,19 +262,19 @@ public:
|
|||
|
||||
verticalLayout_8 = new QVBoxLayout();
|
||||
verticalLayout_8->setSpacing(6);
|
||||
verticalLayout_8->setObjectName(QStringLiteral("verticalLayout_8"));
|
||||
verticalLayout_8->setObjectName(QString::fromUtf8("verticalLayout_8"));
|
||||
pushButton_5 = new QPushButton(centralWidget);
|
||||
pushButton_5->setObjectName(QStringLiteral("pushButton_5"));
|
||||
pushButton_5->setObjectName(QString::fromUtf8("pushButton_5"));
|
||||
|
||||
verticalLayout_8->addWidget(pushButton_5);
|
||||
|
||||
pushButton_15 = new QPushButton(centralWidget);
|
||||
pushButton_15->setObjectName(QStringLiteral("pushButton_15"));
|
||||
pushButton_15->setObjectName(QString::fromUtf8("pushButton_15"));
|
||||
|
||||
verticalLayout_8->addWidget(pushButton_15);
|
||||
|
||||
pushButton_14 = new QPushButton(centralWidget);
|
||||
pushButton_14->setObjectName(QStringLiteral("pushButton_14"));
|
||||
pushButton_14->setObjectName(QString::fromUtf8("pushButton_14"));
|
||||
|
||||
verticalLayout_8->addWidget(pushButton_14);
|
||||
|
||||
|
@ -289,17 +286,17 @@ public:
|
|||
|
||||
horizontalLayout_7 = new QHBoxLayout();
|
||||
horizontalLayout_7->setSpacing(6);
|
||||
horizontalLayout_7->setObjectName(QStringLiteral("horizontalLayout_7"));
|
||||
horizontalLayout_7->setObjectName(QString::fromUtf8("horizontalLayout_7"));
|
||||
verticalLayout_3 = new QVBoxLayout();
|
||||
verticalLayout_3->setSpacing(6);
|
||||
verticalLayout_3->setObjectName(QStringLiteral("verticalLayout_3"));
|
||||
verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3"));
|
||||
label_4 = new QLabel(centralWidget);
|
||||
label_4->setObjectName(QStringLiteral("label_4"));
|
||||
label_4->setObjectName(QString::fromUtf8("label_4"));
|
||||
|
||||
verticalLayout_3->addWidget(label_4);
|
||||
|
||||
doubleSpinBox_frequency = new QDoubleSpinBox(centralWidget);
|
||||
doubleSpinBox_frequency->setObjectName(QStringLiteral("doubleSpinBox_frequency"));
|
||||
doubleSpinBox_frequency->setObjectName(QString::fromUtf8("doubleSpinBox_frequency"));
|
||||
|
||||
verticalLayout_3->addWidget(doubleSpinBox_frequency);
|
||||
|
||||
|
@ -308,15 +305,15 @@ public:
|
|||
|
||||
verticalLayout_5 = new QVBoxLayout();
|
||||
verticalLayout_5->setSpacing(6);
|
||||
verticalLayout_5->setObjectName(QStringLiteral("verticalLayout_5"));
|
||||
verticalLayout_5->setObjectName(QString::fromUtf8("verticalLayout_5"));
|
||||
label_6 = new QLabel(centralWidget);
|
||||
label_6->setObjectName(QStringLiteral("label_6"));
|
||||
label_6->setObjectName(QString::fromUtf8("label_6"));
|
||||
|
||||
verticalLayout_5->addWidget(label_6);
|
||||
|
||||
doubleSpinBox_amplitude = new QDoubleSpinBox(centralWidget);
|
||||
doubleSpinBox_amplitude->setObjectName(QStringLiteral("doubleSpinBox_amplitude"));
|
||||
doubleSpinBox_amplitude->setMaximum(10);
|
||||
doubleSpinBox_amplitude->setObjectName(QString::fromUtf8("doubleSpinBox_amplitude"));
|
||||
doubleSpinBox_amplitude->setMaximum(10.000000000000000);
|
||||
|
||||
verticalLayout_5->addWidget(doubleSpinBox_amplitude);
|
||||
|
||||
|
@ -325,15 +322,15 @@ public:
|
|||
|
||||
verticalLayout_6 = new QVBoxLayout();
|
||||
verticalLayout_6->setSpacing(6);
|
||||
verticalLayout_6->setObjectName(QStringLiteral("verticalLayout_6"));
|
||||
verticalLayout_6->setObjectName(QString::fromUtf8("verticalLayout_6"));
|
||||
label_7 = new QLabel(centralWidget);
|
||||
label_7->setObjectName(QStringLiteral("label_7"));
|
||||
label_7->setObjectName(QString::fromUtf8("label_7"));
|
||||
|
||||
verticalLayout_6->addWidget(label_7);
|
||||
|
||||
doubleSpinBox_offset = new QDoubleSpinBox(centralWidget);
|
||||
doubleSpinBox_offset->setObjectName(QStringLiteral("doubleSpinBox_offset"));
|
||||
doubleSpinBox_offset->setMaximum(10);
|
||||
doubleSpinBox_offset->setObjectName(QString::fromUtf8("doubleSpinBox_offset"));
|
||||
doubleSpinBox_offset->setMaximum(10.000000000000000);
|
||||
|
||||
verticalLayout_6->addWidget(doubleSpinBox_offset);
|
||||
|
||||
|
@ -342,9 +339,9 @@ public:
|
|||
|
||||
verticalLayout_4 = new QVBoxLayout();
|
||||
verticalLayout_4->setSpacing(6);
|
||||
verticalLayout_4->setObjectName(QStringLiteral("verticalLayout_4"));
|
||||
verticalLayout_4->setObjectName(QString::fromUtf8("verticalLayout_4"));
|
||||
label_5 = new QLabel(centralWidget);
|
||||
label_5->setObjectName(QStringLiteral("label_5"));
|
||||
label_5->setObjectName(QString::fromUtf8("label_5"));
|
||||
|
||||
verticalLayout_4->addWidget(label_5);
|
||||
|
||||
|
@ -353,7 +350,7 @@ public:
|
|||
comboBox_signal_gen_type->addItem(QString());
|
||||
comboBox_signal_gen_type->addItem(QString());
|
||||
comboBox_signal_gen_type->addItem(QString());
|
||||
comboBox_signal_gen_type->setObjectName(QStringLiteral("comboBox_signal_gen_type"));
|
||||
comboBox_signal_gen_type->setObjectName(QString::fromUtf8("comboBox_signal_gen_type"));
|
||||
|
||||
verticalLayout_4->addWidget(comboBox_signal_gen_type);
|
||||
|
||||
|
@ -362,14 +359,14 @@ public:
|
|||
|
||||
verticalLayout_7 = new QVBoxLayout();
|
||||
verticalLayout_7->setSpacing(6);
|
||||
verticalLayout_7->setObjectName(QStringLiteral("verticalLayout_7"));
|
||||
verticalLayout_7->setObjectName(QString::fromUtf8("verticalLayout_7"));
|
||||
pushButton_12 = new QPushButton(centralWidget);
|
||||
pushButton_12->setObjectName(QStringLiteral("pushButton_12"));
|
||||
pushButton_12->setObjectName(QString::fromUtf8("pushButton_12"));
|
||||
|
||||
verticalLayout_7->addWidget(pushButton_12);
|
||||
|
||||
pushButton_13 = new QPushButton(centralWidget);
|
||||
pushButton_13->setObjectName(QStringLiteral("pushButton_13"));
|
||||
pushButton_13->setObjectName(QString::fromUtf8("pushButton_13"));
|
||||
|
||||
verticalLayout_7->addWidget(pushButton_13);
|
||||
|
||||
|
@ -383,20 +380,20 @@ public:
|
|||
horizontalLayout->addLayout(verticalLayout);
|
||||
|
||||
widget = new QCustomPlot(centralWidget);
|
||||
widget->setObjectName(QStringLiteral("widget"));
|
||||
widget->setObjectName(QString::fromUtf8("widget"));
|
||||
|
||||
horizontalLayout->addWidget(widget);
|
||||
|
||||
MainWindow->setCentralWidget(centralWidget);
|
||||
menuBar = new QMenuBar(MainWindow);
|
||||
menuBar->setObjectName(QStringLiteral("menuBar"));
|
||||
menuBar->setObjectName(QString::fromUtf8("menuBar"));
|
||||
menuBar->setGeometry(QRect(0, 0, 1280, 22));
|
||||
MainWindow->setMenuBar(menuBar);
|
||||
mainToolBar = new QToolBar(MainWindow);
|
||||
mainToolBar->setObjectName(QStringLiteral("mainToolBar"));
|
||||
mainToolBar->setObjectName(QString::fromUtf8("mainToolBar"));
|
||||
MainWindow->addToolBar(Qt::TopToolBarArea, mainToolBar);
|
||||
statusBar = new QStatusBar(MainWindow);
|
||||
statusBar->setObjectName(QStringLiteral("statusBar"));
|
||||
statusBar->setObjectName(QString::fromUtf8("statusBar"));
|
||||
MainWindow->setStatusBar(statusBar);
|
||||
|
||||
retranslateUi(MainWindow);
|
||||
|
|
Loading…
Reference in New Issue