重构RFID前
This commit is contained in:
+34
-22
@@ -1,22 +1,34 @@
|
||||
#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();
|
||||
|
||||
private:
|
||||
Ui::DlgRFIDConfig *ui;
|
||||
};
|
||||
|
||||
#endif // DLGRFIDCONFIG_H
|
||||
#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
|
||||
|
||||
Reference in New Issue
Block a user