-
Qt多文档编辑器
本文将介绍怎样用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的.误解,又是编码问题!!
- 2022-09-25 00:40:03下载
- 积分:1
-
刷的程序,可以是直线的,圆形和方形,如图组。
一个画笔的程序,可以进行直线,圆和方形等图形进行画图,并可以撤消上一步的动作-A brush of the procedures, can be straight, round and square, such as drawing graphics, and can undo the previous step action
- 2022-02-15 15:53:44下载
- 积分:1
-
c语言学习工具要想学好c语言 初学者必备
c语言学习工具要想学好c语言 初学者必备-c language learning tools in order to learn language learners must c
- 2022-10-14 14:00:02下载
- 积分:1
-
experiment on the plane and source "assembly language curriculum design ca...
上机实验及源程序《汇编语言课程设计案例精编》源代码Win32汇编语言教程-VC知识库文章 -.rar-experiment on the plane and source "assembly language curriculum design case intensive series" source code Win32 compilation of language tutorial-VC Knowledge Base article-. rar
- 2022-05-31 07:38:57下载
- 积分:1
-
物资管理系统需求分析
物资管理系统需求分析-Material Management System Requirements Analysis
- 2022-02-05 17:27:59下载
- 积分:1
-
Oracle错误码大全
Oracle错误码大全-Oracle error code Daquan
- 2022-03-14 22:36:19下载
- 积分:1
-
可以帮助大家,快速使用Windows.
可以帮助大家,快速使用Windows.-can help you use Windows fast.
- 2022-02-04 00:05:19下载
- 积分:1
-
MSDOS操作系统源代码 ,对DOS下开发通讯程序能有帮助
MSDOS操作系统源代码 ,对DOS下开发通讯程序能有帮助-C
- 2023-04-15 23:20:04下载
- 积分:1
-
SQL syntax Daquan, we hope to help
SQL语法大全,希望对大家有帮助-SQL syntax Daquan, we hope to help
- 2022-01-26 08:04:14下载
- 积分:1
-
输入一个任意大小的迷宫,用栈求出一条走出迷宫的路径,并 显示在屏幕上。 程序实现: 可以实现载入迷宫和保存迷宫,附带文件中有4个测试迷宫路径的 文件test1~...
输入一个任意大小的迷宫,用栈求出一条走出迷宫的路径,并 显示在屏幕上。 程序实现: 可以实现载入迷宫和保存迷宫,附带文件中有4个测试迷宫路径的 文件test1~4.dd。请将这些文件拷贝到TC当前目录下,或者在载 入时写明完全路径。由于屏幕大小的限制,当用户自己输入迷宫 时一定要注意:迷宫大小是有限制的,不小于4*3,不大于30*20。 否则会出现错误信息。输入开始时全是墙,用上下左右键移动, 用Del键删除墙,形成通路,用Enter键添加墙。输入结束时可以 将迷宫保存下来,以dd为扩展名。输入完毕时用F9键来得到结果, 找到路径时,屏幕下方会出现Path found,否则出现Path not found。 程序经Turbo C 2.0编译调试成功。运行时不用添加任何运行库。 不可以在VC上编译。 下载DOS版和windows版的迷宫游戏全部代码-importation of a maze of arbitrary size, with a stack get out of the maze of trails and on the screen. Program : can achieve and preserve the printed maze maze, the accompanying documents were four test maze of trails to document test1 4.dd. I would be grateful if those files are copied to the TC current directory, or in the state when fully contained path. Due to restrictions on the size of the screen when the user input labyrinth must pay attention to : the size of the maze is a restriction, not less than 4* 3, not more than 30* 20. Otherwise there will be a wrong message. At the beginning of the importation of
- 2022-01-25 17:22:05下载
- 积分:1