FaceAccess/Linguist/setUi/settingUiRecoSet.h

57 lines
1.2 KiB
C
Raw Normal View History

2024-07-11 11:27:12 +08:00
#ifndef SETTINGUIRECOSET_H
#define SETTINGUIRECOSET_H
#include <QListWidget>
#include "UiTools.h"
class settingUiRecoSet : public SettingUiPage
{
Q_OBJECT
public:
typedef enum
{
enRecoIdeSw,
enRecoLiveSw,
//enRecoLiveThre,
enRecoIdeThre,
enRecoIdeThreCustom,
enRecoIDFaceVerify,
enRecoMaskSw,
enRecoNoMaskNoPassSw,
enHealthCodeSw,
enHealthCodeNoFaceRequiredSw,
enHealthCodeAllowStrangerSw,
enHealthCodePassCfg,
}enRecoSet;
static int m_pageIndex;
explicit settingUiRecoSet(int pageIndex, QWidget *parent = nullptr);
~settingUiRecoSet();
void setBackstageUiinterface(BackstageInterfaceForUi* interface);
void reset();
signals:
protected slots:
void slotItemClicked(QListWidgetItem* item);
private:
const QVector<QString> RecoSimThre = {
tr("宽松"),
tr("一般"),
tr("适中"),
tr("严格"),
tr("极严格"),
tr("自定义")
};
const QVector<QString> LivingThre = {
tr("宽松"),
tr("一般"),
tr("严格")
};
};
#endif // SETTINGUIRECOSET_H