觉得对自己有用的记得随手点赞收藏转发分享,谢谢~
列举一些常用词汇以供参考
缩写
ev 事件 event
ex 异常 exception
op 操作 operation
del 删除 delete
cmd 命令 command
len 长度 length
obj 对象 object
arr 数组 array
str 字符串 string
init 初始化 initialize
ctor 构造器 contructor
opts 选项 options
args 参数 arguments
缩写 - UI
lyt 布局 layout
btn 按钮 button
txt 文本 text
lbl 标签 label
fld 字段 field
img 图片 image
ctrl 控件 control
动词
get/set 获取/设置
fetch/store 获取/存储
create/delete 创建/删除
read/write 读/写
open/close 打开/关闭
confirm/cancel 确认/取消
add/remove 添加/移除
push/pull 推/拉
push/pop 压入/弹出
in/out 加入/移出
on/off 开/关
select/query 选择/查询
update/modify/change 更新/修改/改变
view/edit/save 查看/编辑/保存
名词
prev/next 上一个/下一个
yes/no 是/否
config 配置,不要用cfg
element 元素
active 当前项,活动项
context 上下文
target
duration 持续时间
interval 间隔时间
timeout 超时时间
名词 - UI
widget 小部件
panel 面板
window 窗口
component 组件
contianer 容器
button 按钮
label 标签
text 文本
radio 单选框
checkbox 复选框
scalar
bar
pagebar
scrollbar
slider
tab
tree
bitmap
list
combobox
overlay
popup
键盘按键英文
Esc escape
Tab table
Caps Lock Capital Lock
Shift shift
Ctrl control
Alt alternative
Enter enter
F1~12 functions
~ tilde
! exclamation
@ at
# pound ,hash
$ dollar
% percent
^ caret
& ampersand
* star
( opening parenthesis
) closing parenthesis
_ underscore
+ plus
- minus
= equals
` backquote
{ opening brace
} closing brace
[ opening bracket
] closing bracket
| pipe
\ backslash
: colon
; semicolon
“ double quote
‘ single quote
< less than
, comma
> great than
. dot
? question mark
/ slash
网友评论