2024年3月16日发(作者:)
Qt版多文本编辑器
摘 要
伴随计算机的飞速发展,各种文本编辑器测出不穷,种类繁多,同时功能各
式各样,虽然使用十分方便,可以提供高效的工作效率,但是本身有一些细节上
的缺陷,而且所占资源太大。当我们的资源被限制时,可以选择一个简易的多文
本编辑器进行工作。
本次设计是在windows操作系统下,以QT作为开发工具,用C++编写,可
以在不同的平台下编译运行,可移植性强。本文本编辑器的开发主要包括界面窗
口的菜单栏和工具栏。菜单栏和工具栏作为主函数,下面包含诸多小的功能模块
实现函数,同时涉及大量的函数调用。在功能模块实现函数中,包含大量的信号
与槽之间的关联和触发,以实现按钮和工具操作与实际操作之间的响应。
【关键词】
C++面向对象;函数调用;信号与槽;QT Creator
1
Abstract
With the rapid development of computers, various text editors
measured not poor, variety, while a wide range of functions, although
easy to use, can provide efficient work efficiency, but itself has some
flaws details, and share resource too. When our resources are limited,
you can choose a simple text editor to work more.
The design is in the windows operating system to QT as a
development tool, written in C ++, you can compile and run under
different platforms, portability. This text editor development include
the menu bar and toolbar interface window. The menu bar and
toolbars as the primary function, the following function contains
many small modules function, involving a large number of function
calls. In the function module function, it contains a lot of associations
and trigger signals between the grooves, in order to achieve response
buttons and tool operation and actual operating between.
Keywords: C ++ object oriented; function call; a signal with the
groove; QT Creator
2


发布评论