基于Qt的国际化图形用户界面设计与实现

刘汇丹,芮建武,姚延栋,吴健

PDF(552 KB)
PDF(552 KB)
中文信息学报 ›› 2006, Vol. 20 ›› Issue (4) : 96-101.

基于Qt的国际化图形用户界面设计与实现

  • 刘汇丹1,2,芮建武1,姚延栋1,吴健1
作者信息 +

Design and Implementation of Internationalized Graphical User Interface Based on Qt

  • LIU Hui-dan1,2,RUI Jian-wu1,YAO Yan-dong1,WU Jian1
Author information +
History +

摘要

一次开发多语言使用是国际化软件开发的主要目标。但是世界上的文字多种多样,它们的书写方向也有所不同,除了水平从左向右书写的英文、水平从右往左书写的阿拉伯文外,还有类似蒙古文这样垂直排列的文字,这对计算机图形用户界面提出了更高的要求,现有的计算机系统将这类垂直排列的文字沿水平方向输出,极不符合少数民族人民的习惯。在分析现有Qt库对类似阿拉伯文这样从右向左书写的文字的部分支持机制的基础上,我们设计并实现了支持四种方向模式的国际化的图形用户界面,现在它已经能够适应世界上几乎所有的文字。这对于软件国际化以及民族语言信息处理有重要意义。

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.

关键词

计算机应用 / 中文信息处理 / 图形用户界面 / Qt库 / 国际化 / 民族文字处理

Key words

computer application / Chinese information processing / graphical user interface / Qt library / internationalization / minority script processing

引用本文

导出引用
刘汇丹,芮建武,姚延栋,吴健. 基于Qt的国际化图形用户界面设计与实现. 中文信息学报. 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. Journal of Chinese Information Processing. 2006, 20(4): 96-101

参考文献

[1] 马卫娟,方志刚. 人机交互风格及其发展趋势[J]. 航空计算技术, 1999. 9, 29 (7) : 16 - 20.
[2] 确精扎布. 蒙古文编码[M]. 呼和浩特:内蒙古大学出版社, 2000. 8, 187 - 197.
[3] 吉日木图,敖其尔,那日松,等. 蒙古文编码问题的探讨[A]. 鲍怀翘,金星华,宗成庆主编. 少数民族语言信息技术研究进展:中国少数民族语言信息技术与语言资源库建设学术研讨会论文集[C]. 中国北京:国家民族事务委员会文化宣传司,中国科学院自动化所, 2004. 4. 168 - 172.
[4] 芮建武,吴健,孙玉芳. 国际化标准框架下蒙文操作系统的设计[J]. 计算机研究与发展, 2006. 4, 43 (4) : 716 - 721.
[5] 姚延栋,吴健. Qt国际化文本显示机制分析[A]. 鲍怀翘,金星华,宗成庆主编. 少数民族语言信息技术研究进展:中国少数民族语言信息技术与语言资源库建设学术研讨会论文集[C]. 中国北京:国家民族事务委员会文化宣传司,中国科学院自动化所, 2004. 4. 219 - 222.

基金

国家863计划资助项目(2002AA001033);国家863 计划软件重大专项资助项目(2003AA1Z2110);中国科学院知识创新工程方向性项目资助(KGCX2-SW-504)
PDF(552 KB)

812

Accesses

0

Citation

Detail

段落导航
相关文章

/