本文共 175 字,大约阅读时间需要 1 分钟。
菜单“控件”-》“视图”-》“Action Editor”
图上就可以新建action等操作了
想要给菜单添加就拖动到菜单上
想要给工具栏添加就拖动到工具栏上
新建完后要添加图标;得先加资源文件,加个png图片
也可以右键菜单编辑
工具栏只有图标没有文字的解决办法,修改toolButtonStyle为ToolButtonTextBesideIcon
转载地址:http://wkmai.baihongyu.com/