1 Star 0 Fork 36

evenshi/LinkScope

forked from 兰博文/LinkScope 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
configwindow.h 733 Bytes
一键复制 编辑 原始数据 按行查看 历史
#ifndef CONFIGWINDOW_H
#define CONFIGWINDOW_H
#include <QDialog>
#include <QSerialPort>
namespace Ui {
class ConfigWindow;
}
struct ConfigWindowParam {
qint32 baudrate;
QSerialPort::DataBits databits;
QSerialPort::StopBits stopbits;
QSerialPort::Parity parity;
int sampleFreq;
int gdbPort;
QString gdbParam;
QString ocdParam;
};
class ConfigWindow : public QDialog
{
Q_OBJECT
public:
explicit ConfigWindow(QWidget *parent = nullptr);
~ConfigWindow();
void setParam(ConfigWindowParam &param);
void getParam(ConfigWindowParam &param);
private slots:
void on_bt_ok_clicked();
void on_bt_cancel_clicked();
private:
Ui::ConfigWindow *ui;
};
#endif // CONFIGWINDOW_H
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/evenshi/link-scope.git
git@gitee.com:evenshi/link-scope.git
evenshi
link-scope
LinkScope
master

搜索帮助