35 lines
527 B
C++
35 lines
527 B
C++
#ifndef DLGRFIDCONFIG_H
|
|
#define DLGRFIDCONFIG_H
|
|
|
|
#include <QDialog>
|
|
|
|
namespace Ui {
|
|
class DlgRFIDConfig;
|
|
}
|
|
|
|
class DlgRFIDConfig : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit DlgRFIDConfig(QWidget *parent = nullptr);
|
|
~DlgRFIDConfig();
|
|
|
|
void setAutoConfirmTimeout(int seconds);
|
|
|
|
int autoConfirmTimeout();
|
|
|
|
private slots:
|
|
void onExpirySpinBoxChanged(int val);
|
|
|
|
signals:
|
|
void autoConfirmTimeoutChanged();
|
|
|
|
private:
|
|
Ui::DlgRFIDConfig *ui;
|
|
|
|
int m_autoConfirmTimeout;
|
|
};
|
|
|
|
#endif // DLGRFIDCONFIG_H
|