fix out of bound crash when edit or remove a board, add board config dialog, fix glibc version in about dialog
This commit is contained in:
32
src/frames/boardconfigdialog.h
Normal file
32
src/frames/boardconfigdialog.h
Normal file
@@ -0,0 +1,32 @@
|
||||
#ifndef BOARDCONFIGDIALOG_H
|
||||
#define BOARDCONFIGDIALOG_H
|
||||
|
||||
#include <QDialog>
|
||||
|
||||
#include "../models/board.h"
|
||||
|
||||
namespace Ui {
|
||||
class BoardConfigDialog;
|
||||
}
|
||||
|
||||
class BoardConfigDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit BoardConfigDialog(Board *b, QWidget *parent = nullptr);
|
||||
~BoardConfigDialog();
|
||||
|
||||
const QString getName();
|
||||
const QString getDescription();
|
||||
bool isAutoStatus();
|
||||
const QString getStatus();
|
||||
|
||||
private slots:
|
||||
void onAutoStatusCheckboxChange(int);
|
||||
|
||||
private:
|
||||
Ui::BoardConfigDialog *ui;
|
||||
};
|
||||
|
||||
#endif // BOARDCONFIGDIALOG_H
|
||||
Reference in New Issue
Block a user