基于Qt跨平台的人机交互界面的研究和应用
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
随着计算机技术的快速发展,各种新平台、新技术不断涌现,使得计算机软件生产厂商及其设计人员面临着如何适应多种平台,多操作系统共存的问题。
     人机交互界面的开发在现代软件的开发中占有越来越重要的地位,它把计算机技术和人联系起来,使计算机技术最大程度的人性化。人机交互界面的开发在一套软件中是与系统平台联系最为紧密的一部分,其工作量往往占整个开发工作的很大一部分。针对同功能的程序能够运行在不同的系统平台,并保持一致的界面和功能,从而增强程序的灵活性和可移植性,这种程序的跨平台性越来越受到重视。Qt是一个使用广泛的跨平台图形界面开发工具,可用于Windows、Linux、Mac OSX和许多平台。Qt具有良好的结构化、灵活的面向对象的结构、清晰的文档以及直观的API,为开发跨平台桌面应用程序的人机交互界面提供了良好的支持。
     本文首先阐述了人机交互界面一些基本概念和发展状况,介绍了跨平台技术的发展,指出了本文研究的背景、研究的内容和意义。然后介绍了人机交互界面的设计方法和设计过程,结合跨平台人机交互界面自身的特点和实际要求,分析了本系统在开发过程中应遵循的设计规律和组织原则。接着介绍了跨平台软件开发的库,介绍了当今比较流行的跨平台库及其特点,重点介绍了Qt库。通过对人机交互界面的设计和跨平台库的分析,结合本软件的自身的特点,提出了跨平台开发人机交互界面的一些方法和原则。最后,在这些方法和原则的指导下,利用Qt库实现了一个跨平台的人机交互界面。
With the rapid development of computer technology, various new platform and new technology emerged continuously, which made computer software manufacturer and the designers face some problems such as how to adapt to various platform, the problem that operating system coexists.
     The development of human-computer interface occupies more and more important position in the development of modern software and it connects the computer technology with people, which makes the computer technology reach the humanity to the greatest degree. Meanwhile, the development of human-computer interface closely connects with the systematic platform in a set of software, Its workload takes up the most part in the whole development work. The program with the same function can run in different systematic platform, and maintain the same interface and functionality, thereby enhancing the flexibility and portability of the procedures; the cross-platform function of the program has been caused of more concern. Qt is GUI for high performance of cross-platform software development and can be used in Windows, Linux, MacOSX and a lot of platforms. Qt has good structure:a flexible object oriented structural, distinct document as well as visual API. It has offered a good support to develop the human-computer interface across the platform application program.
     This paper firstly elaborated some basic concepts and the development condition of human-computer interface. It also introduced the development of cross-platform, and pointed out the background, content and the significance of this research. Then, it introduced the design content and importance of the human-computer interface which combined with the actual requirement and the characteristic of cross-platform human-computer interface as well as analyses the design law and organization principle that this system should follow in the development course. The following was about the introduction of cross-platform lib, that was the current popular cross-platform lib and its characteristic, and the focal point was about the Qt lib. Through the design of human-computer interface and the analysis cross-platform lib, combining with the self-characteristic of the software, it suggested that cross-platform method and principle of developing human-computer interface.Finally, under the guidance of these methods and principles ,a human-computer interface cross-platform was set up using Qt lib.
引文
[1] 杨静.人机界面与用户模型的研究及应用[D]. 天津:河北工业大学,.2002.
    [2] 郭亚军,金先级著.人机交互[M] 华中科技大学出版社,2005.
    [3] 罗仕鉴,朱上上,孙守迁著.人机界面设计[M].北京:机械工业出版社,2002. 2.
    [4] 程景云,倪亦泉著. 人机界面设计与开发工具[M]. 北京:电子工业出版社, 1994.
    [5] Hix D. and Hartson H.R , Developing User Interfaces: Ensuring Usability Through Product and Process[M]. New York: John Wiley and Sons, 1993. 58-60.
    [6] 张华.从 UNIX 到 Linux 的有限元分析软件包的移植研究[D].南京航空航天大学,2004.
    [7] 董士海,王坚,戴国忠著. 人机交互和多通道用户界面[M] 北京:科学出版社,1999.
    [8] Taylor, R. N., etal, A Component and Message-Based Architectural Style for GUI Software [J]. IEEE Transaction on Software Engineering, 1996,22(6): 390-406.
    [9] 董士海. 人机交互[M]. 北京:北京大学出版社,1994.
    [10] 董建明,傅便民,Gavriel Salvendy 著 人机交互[M] 北京:清华大学出版社,2003.
    [11] 李荣. 人机交互中用户建模方法的研究[D]. 南京师范大学.2004.
    [12] Frieder Nake, Susanne Grabowski. Human-computer interaction viewed as pseudo-communication[J]. Knowledge-Based Systems ,2001,14:441-447.
    [13] 王维强. 科技博物馆信息服务系统人机界面的设计与研究[D].华中科技大学.2006.
    [14] Jennifer Preece,Yvonne Rogers. 刘晓晖,张景译. 交互设计――超越人机交互[M].北京:电子工业出版社 2003.
    [15] 李乐山著.人机界面设计[M].北京:科学出版社.2004.
    [16] 齐治昌.谭庆平.宁洪.软件工程[M].北京:高等教育出版社.2005.
    [17] Steven A.Wall, William Harwin. A high bandwidth interface for haptic human computer interaction[J].Mechatronics 2001, 8(3): 371-387.
    [18] Judy York, Parag C.Pendharkar. Human-computer interaction issues for mobile computing in a variable work context[J].Int.J.Human-Computer Studies, 2004,60:771-797.
    [19] 孟祥旭,李学庆著. 人机交互技术[M]. 北京:清华大学出版社,2004.
    [20] 罗仕鉴,朱上上,孙守迁编著. 人机界面设计[M].北京:机械工业出版社,2002.
    [21] 呼健. 人机交互界面设计与评估技术的研究和应用[D].山东大学,2005.
    [22] Brian Hook 著.胡光华 郝春雨译. 跨平台软件开发—C&C++[M].北京:清华出版社 2003.
    [23] Qt4 Whiter Paper [M] Trolltech Company .2005.
    [24] 王爱文.Linux 平台下基于 Qt 的电子海图的研究与实现[D] 哈尔滨工程大学.2004.
    [25] Gasmin Blanchette. Mark Sunnerfield. 齐亮译 C++ GUI Qt3 编程[M].北京:北京航空航天大学出版社 2005.
    [26] http://developer.hoops3d.com/.
    [27] 廖德生.跨平台移植技术研究及应用[D].北京邮电大学 2006.
    [28] Acker, David E. Building cross-platform media workgroup solutions[J] SMPTE Journal, v109, n3, Ma,2000, p200-204.
    [29] Rao, Qun Stephen (Univ of Houston); Huang, S.-H. Stephen. Cross-platform software package for internet database communication using Java technology[J] American Society of Mechanical Engineers, Petroleum Division (Publication) PD, Computers in Engineering, 1998, 8pp.
    [30] 奚立群,赵谢秋,杜中平.移植 Linux 技术分析[J].现代计算机,2003.
    [31] Graham-Cumming, John. Cross-platform builds[J] Dr.Dobb's Journal, v30, n1, January, 2005,p48-51.
    [32] C++语言开发跨平台程序的研究与应用 [J]电脑知识与技术. 2005.
    [33] 韩振江.跨平台中文处理系统[D] 中国科学院计算技术研究所. 1998.
    [34] 彭嵩.CAD 技术应用状况与发展趋势浅析[M] 矿山机械第 33 卷 2005..
    [35] Paal,Stefan Crossware.Integration middleware for autonomic cross-platform Internet application environments [J] Integrated Computer-Aided Engineering, v13, n1, Autonomous Computing, 2006, p41-62.
    [36] 张亚军.跨平台的邮件用户代理(MUA)的设计及实现[D] 新疆大学.2003.
    [37] 徐朝胜.师卫.应用软件跨平台的技术[J] 科技情报开发与经济.2004.
    [38] 张凯龙,谷建华.Win32 应用到 Linux 的跨平台移植技术研究[D] 微电子学与计算机 2006.
    [39] Fine.V.E Cross-platform Qt-based implementation of low level GUI layer of ROOT [J] Nuclear Instruments and Methods in Physics Research, Section A: Accelerators, Spectrometers, Detectors and Associated Equipment, v502, n2-3, Apr21, 2003, p681-683.
    [40] Zheng, G. HipNorm: An object-oriented cross-platform program for 3D analysis of hip joint morphology using 2D pelvic radiographs [J] Computer Methods and Programs in Biomedicine, v87, n1, July, 2007 年, p36-45.
    [41] 李文强,朱长才. MFC 框架应用软件跨平台方案[J] 计算机工程与应用.2005.
    [42] Brun,R Cross-platform approach to create the interactive applications based on ROOT and Qt GUI libraries[J] Accelerators, Spectrometers, Detectors and Associated Equipment, v534, n1, Nov21, 2004, Proceedings of the IXth International Workshop, p94-97.
    [43] Anon. Cross-platform computing[J]. Computer-Aided Engineering, v19, n12, December, 2000, p12.