Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
4d840b7afThis file is pinned to the selected release. Download the original to open it in your design tool.
/* Copyright (C) 2020 NANDO authors
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 3.
*/
#ifndef SETTINGS_PROGRAMMER_DIALOG_H
#define SETTINGS_PROGRAMMER_DIALOG_H
#include <QDialog>
#include <QSerialPortInfo>
namespace Ui {
class SettingsProgrammerDialog;
}
class SettingsProgrammerDialog : public QDialog
{
Q_OBJECT
public:
explicit SettingsProgrammerDialog(QWidget *parent = nullptr);
~SettingsProgrammerDialog();
void setUsbDevName(const QString &name);
QString getUsbDevName();
void setSkipBB(bool skip);
bool isSkipBB();
void setIncSpare(bool incSpare);
bool isIncSpare();
void setHwEccEnabled(bool enableHwEcc);
bool isHwEccEnabled();
void setAlertEnabled(bool enableAlert);
bool isAlertEnabled();
private:
Ui::SettingsProgrammerDialog *ui;
private slots:
void fillPortsInfo();
};
#endif // SETTINGS_PROGRAMMER_DIALOG_H