修改文件换行符,修正轮班图元长度计算问题

This commit is contained in:
2026-08-19 11:55:10 +08:00
parent 176b53b654
commit a274b75705
116 changed files with 68711 additions and 68660 deletions
+42 -42
View File
@@ -1,42 +1,42 @@
#pragma once
#include <QDialog>
#include <QProcess>
#include <QFileDialog>
#include <QLabel>
#include <QPushButton>
#include <QTextEdit>
class UpdateFPGA : public QDialog
{
Q_OBJECT
public:
UpdateFPGA(const QString & pythonScriptPath, QWidget *parent = nullptr);
~UpdateFPGA();
void init();
private slots:
void startUpdate();
void processFinished(int exitCode, QProcess::ExitStatus exitStatus);
void processError(QProcess::ProcessError error);
private:
QString m_PythonScriptPath;
QLabel* m_Title;
QPushButton* m_CloseBtn;
QPushButton* m_UpdateButton;
QLabel* logLabel;
QTextEdit* logTextEdit;
QProcess* conversionProcess;
// void init();
QString getErrorDescription(int errorCode);
QString findValidPythonInterpreter();
bool isValidPythonWithSerial(const QString& pythonPath);
signals:
void upgradeFPGAFinished();
};
#pragma once
#include <QDialog>
#include <QProcess>
#include <QFileDialog>
#include <QLabel>
#include <QPushButton>
#include <QTextEdit>
class UpdateFPGA : public QDialog
{
Q_OBJECT
public:
UpdateFPGA(const QString & pythonScriptPath, QWidget *parent = nullptr);
~UpdateFPGA();
void init();
private slots:
void startUpdate();
void processFinished(int exitCode, QProcess::ExitStatus exitStatus);
void processError(QProcess::ProcessError error);
private:
QString m_PythonScriptPath;
QLabel* m_Title;
QPushButton* m_CloseBtn;
QPushButton* m_UpdateButton;
QLabel* logLabel;
QTextEdit* logTextEdit;
QProcess* conversionProcess;
// void init();
QString getErrorDescription(int errorCode);
QString findValidPythonInterpreter();
bool isValidPythonWithSerial(const QString& pythonPath);
signals:
void upgradeFPGAFinished();
};