限制了<体动标注>的时间输入的类型
This commit is contained in:
@ -27,6 +27,8 @@ class ConfigParams:
|
||||
ACTION_PAN_SHORTCUT_KEY: str = "X"
|
||||
ACTION_ZOOM_SHORTCUT_KEY: str = "C"
|
||||
FONT: str = "Microsoft YaHei UI"
|
||||
VALIDATOR_INTEGER = QIntValidator(-2**31, 2**31 - 1)
|
||||
VALIDATOR_DOUBLE = QDoubleValidator(-1e100, 1e100, 10)
|
||||
|
||||
# 文件命名
|
||||
ORGBCG_RAW: str = "OrgBCG_Raw_"
|
||||
@ -63,7 +65,7 @@ class ConfigParams:
|
||||
SNORE_SYNC: str = "Snore_Sync_"
|
||||
SPO2_SYNC: str = "SpO2_Sync_"
|
||||
FIVE_CLASS_SYNC: str = "5_class_Sync_"
|
||||
SA_LABEL_SYNC: str = "SA Label_Sync_"
|
||||
SA_LABEL_SYNC: str = "SA Label_Sync"
|
||||
SA_LABEL_CORRECTED: str = "SA Label_corrected"
|
||||
SA_LABEL_ADD: str = "SA Label_add"
|
||||
|
||||
@ -265,6 +267,18 @@ class ConfigParams:
|
||||
"Back": 60
|
||||
}
|
||||
}
|
||||
SA_LABEL_TRANSPARENCY: float = 0.05
|
||||
SA_LABEL_BTN_PREV_SHORTCUT_KEY: str = "A"
|
||||
SA_LABEL_BTN_NEXT_SHORTCUT_KEY: str = "D"
|
||||
SA_LABEL_BTN_CONFIRMLABEL_SHORTCUT_KEY: str = "S"
|
||||
SA_LABEL_BTN_QUICK_REMARK_WAITINGFORTALK_SHORTCUT_KEY: str = "J"
|
||||
SA_LABEL_RADIOBUTTON_OSA_SHORTCUT_KEY: str = "1"
|
||||
SA_LABEL_RADIOBUTTON_CSA_SHORTCUT_KEY: str = "2"
|
||||
SA_LABEL_RADIOBUTTON_MSA_SHORTCUT_KEY: str = "3"
|
||||
SA_LABEL_RADIOBUTTON_HPY_SHORTCUT_KEY: str = "4"
|
||||
SA_LABEL_RADIOBUTTON_1_CLASS_SHORTCUT_KEY: str = "U"
|
||||
SA_LABEL_RADIOBUTTON_2_CLASS_SHORTCUT_KEY: str = "I"
|
||||
SA_LABEL_RADIOBUTTON_3_CLASS_SHORTCUT_KEY: str = "O"
|
||||
|
||||
|
||||
|
||||
|
||||
@ -379,12 +379,21 @@ class Constants:
|
||||
|
||||
# 睡眠呼吸暂停事件标注
|
||||
SA_LABEL_JUMP: str = "跳转到事件"
|
||||
SA_LABEL_VIEWING_FIRST: str = "你正在查看第1个事件"
|
||||
SA_LABEL_VIEWING_LAST: str = "你正在查看最后1个事件"
|
||||
SA_LABEL_PREV_EVENT: str = "上一个事件,index "
|
||||
SA_LABEL_NEXT_EVENT: str = "下一个事件,index "
|
||||
SA_LABEL_ALL_LABELED: str = "该份数据打标已全部完成"
|
||||
SA_LABEL_MOVE_PREV10S: str = "向前10秒"
|
||||
SA_LABEL_MOVE_PREV30S: str = "向前30秒"
|
||||
SA_LABEL_MOVE_PREV60S: str = "向前60秒"
|
||||
SA_LABEL_MOVE_NEXT10S: str = "向后10秒"
|
||||
SA_LABEL_MOVE_NEXT30S: str = "向后30秒"
|
||||
SA_LABEL_MOVE_NEXT60S: str = "向后60秒"
|
||||
SA_LABEL_LENGTH_TOO_LONG: str = "起始时间或终止时间超出信号长度范围,请输入正确的参数"
|
||||
SA_LABEL_LENGTH_LESS_THEN_10S: str = "当前标注的事件的持续时间小于10秒"
|
||||
|
||||
|
||||
# SA_LABEL_CHANNEL_NAME_FLOWT: str = "Flow T"
|
||||
# SA_LABEL_CHANNEL_NAME_FLOWP: str = "Flow P"
|
||||
# SA_LABEL_CHANNEL_NAME_EFFORTTHO: str = "Effort Tho"
|
||||
# SA_LABEL_CHANNEL_NAME_EFFORTABD: str = "Effort Abd"
|
||||
# SA_LABEL_CHANNEL_NAME_SPO2: str = "SpO2"
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user