1 Star 0 Fork 1

上位机/SKYserialtool

forked from 幻煜/SKYserialtool 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
mainwindow.h 1.93 KB
一键复制 编辑 原始数据 按行查看 历史
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
//#include "qcustomplot.h"
#include "serialController.h"
#include "serialmonitor.h"
#include "serialplotter.h"
#include "serialsendmonitor.h"
QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
MainWindow(QWidget *parent = nullptr);
~MainWindow();
private slots:
void onModeChanged(int state); // Slot for handling mode change
// Slots for individual line edits
void on_lineEdit_windowSize_1_editingFinished();
void on_lineEdit_windowSize_2_editingFinished();
void on_lineEdit_windowSize_3_editingFinished();
void on_lineEdit_windowSize_4_editingFinished();
void on_lineEdit_windowSize_5_editingFinished();
void on_lineEdit_windowSize_6_editingFinished();
void on_lineEdit_channelname_1_editingFinished();
void on_lineEdit_channelname_2_editingFinished();
void on_lineEdit_channelname_3_editingFinished();
void on_lineEdit_channelname_4_editingFinished();
void on_lineEdit_channelname_5_editingFinished();
void on_lineEdit_channelname_6_editingFinished();
void on_lineEdit_channelpre_1_editingFinished();
void on_lineEdit_channelpre_2_editingFinished();
void on_lineEdit_channelpre_3_editingFinished();
void on_lineEdit_channelpre_4_editingFinished();
void on_lineEdit_channelpre_5_editingFinished();
void on_lineEdit_channelpre_6_editingFinished();
void on_lineEdit_channelsuf_1_editingFinished();
void on_lineEdit_channelsuf_2_editingFinished();
void on_lineEdit_channelsuf_3_editingFinished();
void on_lineEdit_channelsuf_4_editingFinished();
void on_lineEdit_channelsuf_5_editingFinished();
void on_lineEdit_channelsuf_6_editingFinished();
private:
Ui::MainWindow *ui;
SerialController *m_serial_controller;
serialMonitor *m_serial_monitor;
serialPlotter *m_serial_plotter;
// parameterManager *m_parameter_manager;
serialSendMonitor *m_serial_send_monitor;
};
#endif // MAINWINDOW_H
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/upper-computer_1688/SKYserialtool.git
[email protected]:upper-computer_1688/SKYserialtool.git
upper-computer_1688
SKYserialtool
SKYserialtool
main

搜索帮助