• 3473阅读
  • 0回复

A few things to notice in GUI design [复制链接]

上一主题 下一主题
离线steinlee
 

只看楼主 倒序阅读 楼主  发表于: 2010-02-18
You may always need the following functions in a GUI tool design:
1. checkStates();//check if any changes are needed if there are changes on other components
2. reset();//reset defaults on all components
3.output();//output all settings to a file
4.sanityCheck();//error checks on the settings of all components(normally before save)
5.update();//saved settings are loaded back to all components  

If you have all these functions in your code, you will have fewer GUI bugs.
[ 此帖被steinlee在2010-02-18 00:53重新编辑 ]
Looking for remote C/C++ and Qt 兼职
快速回复
限100 字节
 
上一个 下一个