刘汇丹,芮建武,姚延栋,吴健. 基于Qt的国际化图形用户界面设计与实现[J]. 中文信息学报, 2006, 20(4): 96-101.
LIU Hui-dan,RUI Jian-wu,YAO Yan-dong,WU Jian. Design and Implementation of Internationalized Graphical User Interface Based on Qt. , 2006, 20(4): 96-101.
基于Qt的国际化图形用户界面设计与实现
刘汇丹1,2,芮建武1,姚延栋1,吴健1
1.中国科学院软件研究所开放系统与中文信息处理中心 2.中国科学院研究生院
Design and Implementation of Internationalized Graphical User Interface Based on Qt
LIU Hui-dan1,2,RUI Jian-wu1,YAO Yan-dong1,WU Jian1
1.Institute of Software , Chinese Academy of Sciences 2.Graduate University of the Chinese Academy of Sciences
Abstract:There are various scripts in the world which have different writing directions. It’s a challenge to develop graphical user interface which can be adaptable to the writing direction of the script being processed. In this paper, the requirements of graphical user interface adaptable to various scripts are analyzed and four kinds of run-time modes are presented in according with writing directions of the scripts. Then the mechanism of Qt library to support scripts like Arabic, which is written from right to left, is analyzed. Based on this mechanism, a solution is proposed and implemented to support such scripts as traditional Mongolian written vertically from top to bottom. Test for this implementation shows that Graphical User Interface can automatically correspond to different directions of the scripts and this solution can satisfy the requirement of multilingual graphical user interface.