34 lines
593 B
C++
34 lines
593 B
C++
#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();
|
|
bool isShowingStatus();
|
|
const QString getStatus();
|
|
|
|
private slots:
|
|
void onAutoStatusCheckboxChange(int);
|
|
|
|
private:
|
|
Ui::BoardConfigDialog *ui;
|
|
};
|
|
|
|
#endif // BOARDCONFIGDIALOG_H
|