1 #include "fusesdialog.h"
2 #include "ui_fusesdialog.h"
4 #include "progressdialog.h"
5 #include "radiointerface.h"
7 FusesDialog::FusesDialog(QWidget
*parent
) :
9 ui(new Ui::FusesDialog
)
12 setWindowIcon(CompanionIcon("fuses.png"));
15 FusesDialog::~FusesDialog()
20 void FusesDialog::on_resetFuses_EEprotect_clicked()
22 ProgressDialog
progressDialog(this, tr("Reset Radio Fuses"), CompanionIcon("fuses.png"), true);
23 return resetAvrdudeFuses(true, progressDialog
.progress());
26 void FusesDialog::on_resetFuses_EEdelete_clicked()
28 ProgressDialog
progressDialog(this, tr("Reset Radio Fuses"), CompanionIcon("fuses.png"), true);
29 return resetAvrdudeFuses(false, progressDialog
.progress());
32 void FusesDialog::on_readFuses_clicked()
34 ProgressDialog
progressDialog(this, tr("Read Fuses from Radio"), CompanionIcon("fuses.png"), true);
35 return readAvrdudeFuses(progressDialog
.progress());