登录
首页 » 文档处理 » Qt多文档编辑器

Qt多文档编辑器

于 2022-09-25 发布 文件大小:108.38 kB
0 119
下载积分: 2 下载次数: 1

代码说明:

本文将介绍怎样用Qt做一个简单的多文档编辑器,该实验的过程中主要涉及到Qt窗口的设计,菜单栏(包括右击菜单),工具栏,状态栏,常见的文本文件等操作。参考资料为网址上的一个例子:http://www.yafeilinux.com/ 本来是在ubuntu下做这个实验的,可是一开始建立菜单栏等时,里面用的是中文,运行后中文就是不显示.在网上找了2天的办法,各种手段都试过了,什么编码方式啊,什么实用QTextCodec这个类啊都试过了,没成功。很不爽,暂时还是转到windows下吧。在ubuntu下只是简单的设计了该程序的界面,然后把那些代码弄到windows下后,打开main.pp文件后出现直接在main.cpp中出现 了 could not decode "main.cpp" with "System"-encoding这种错误提示,发现在这个源文件中不能输入中文(比如说注释的时候想用中文注释).但是在同一个工程的其它cpp文件中就可以输入中文.看了下其它的cpp文件的encoding也是System的.误解,又是编码问题!!

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 结合大量实例阐述如何编写一个shell脚本
    结合大量实例阐述如何编写一个shell脚本-combining a number of examples on how to prepare a shell script
    2022-11-30 08:55:03下载
    积分:1
  • This computes an in
    This computes an in-place complex-to-complex FFT x and y are the real and imaginary arrays of 2^m points. dir = 1 gives forward transform dir = -1 gives reverse transform -This computes an in-place complex-to-complex FFT x and y are the real and imaginary arrays of 2 ^ m points. Dir = 1 gives forward transform dir =-1 gives reverse transform
    2023-06-19 21:55:03下载
    积分:1
  • 蓝牙
    基于蓝牙以太封装技术的无线个域网的研究与实现-Bluetooth-based Ethernet technology Packaging WPAN Research and Implementation
    2023-03-07 17:25:03下载
    积分:1
  • vc
    vc
    2023-08-11 20:35:03下载
    积分:1
  • 很不错的UNIX内幕介绍,很值得一看!(分成32个
    很不错的UNIX内幕介绍,很值得一看!(分成32个文档)-very good UNIX insider, is an eye-catcher! (Divided into 32 files)
    2022-02-05 00:08:16下载
    积分:1
  • 利用软件开发,适用选择
    利用软件开发,适用选择-use software development, application of choice
    2022-08-07 19:42:03下载
    积分:1
  • In the STAR ES598PCI veneer development machine to realize oven temperature and...
    ① 设计并开发能检测温室温度信号,并能产生报警信号的系统; ② 通过在程序中设置温度界限值,能判断采集的温度是否超过界限值; ③ 若温度值越界则进行声(蜂鸣器)、光(发光二极管)报警; 说明:界限值是自行设定的(26C),其所对应的数字量为十六进制数(0180H)。 (2)使用DS18B20采集温度,采用七段数码管显示当前温度和剩余时间,并和设置的温度进行比较。 (3)当温度低于设定值时,通过DAC0832输出电压供给发热电阻RT1,使其温度升高。 (4)使温度恒定在设定温度附近,时间到了停止加热,并提示操作完毕。 -In the STAR ES598PCI veneer development machine to realize oven temperature and time control functions. Design requirements: (1) through the keyboard to set the temperature and heating time. (2) The use of DS18B20 collecting temperature, using seven-segment digital tube displays the current temperature and the remaining time, and and set the temperature for comparison. (3) When the temperature is below the set value, the DAC0832 output voltage of the supply of heat through the resistor RT1, so that temperature. (4) to enable the temperature constant at the set temperature near the time to the cessation of heating, and prompt action is completed.
    2022-07-27 01:54:00下载
    积分:1
  • 很不错的UNIX内幕介绍,很值得一看!(分成32个
    很不错的UNIX内幕介绍,很值得一看!(分成32个文档)-very good UNIX insider, is an eye-catcher! (Divided into 32 files)
    2022-05-14 08:08:25下载
    积分:1
  • 网络安全电子教案
    网络安全电子教案-网络管理技术与应用-electronic templates network security-Network Management Technology and Application
    2022-08-31 10:50:03下载
    积分:1
  • Houge out GRE collective Writing 5000, and other information poet
    猴哥满分GRE集体写作5000篇及其他gre资料-Houge out GRE collective Writing 5000, and other information poet
    2022-06-03 08:25:32下载
    积分:1
  • 696518资源总数
  • 105877会员总数
  • 14今日下载