1&2&3&4&5&6&7&8&9&10&11
2&2&3&4&5&6&7&8&9&10&11
3&2&3&4&5&6&7&8&9&10&11
4&2&3&4&5&6&7&8&9&10&11
5&2&3&4&5&6&7&8&9&10&11
6&2&3&4&5&6&7&8&9&10&11
7&2&3&4&5&6&7&8&9&10&11
8&2&3&4&5&6&7&8&9&10&11
9&2&3&4&5&6&7&8&9&10&11
10&2&3&4&5&6&7&8&9&10&11
11&2&3&4&5&6&7&8&9&10&11
12&2&3&4&5&6&7&8&9&10&11
13&2&3&4&5&6&7&8&9&10&11
14&2&3&4&5&6&7&8&9&10&11
15&2&3&4&5&6&7&8&9&10&11
16&2&3&4&5&6&7&8&9&10&11
17&2&3&4&5&6&7&8&9&10&11
18&2&3&4&5&6&7&8&9&10&11
19&2&3&4&5&6&7&8&9&10&11
20&2&3&4&5&6&7&8&9&10&11
21&2&3&4&5&6&7&8&9&10&11
22&2&3&4&5&6&7&8&9&10&11
23&2&3&4&5&6&7&8&9&10&11
24&2&3&4&5&6&7&8&9&10&11
25&2&3&4&5&6&7&8&9&10&11
26&2&3&4&5&6&7&8&9&10&11
27&2&3&4&5&6&7&8&9&10&11
28&2&3&4&5&6&7&8&9&10&11
29&2&3&4&5&6&7&8&9&10&11
30&2&3&4&5&6&7&8&9&10&11
31&2&3&4&5&6&7&8&9&10&11
32&2&3&4&5&6&7&8&9&10&11
33&2&3&4&5&6&7&8&9&10&11
34&2&3&4&5&6&7&8&9&10&11
35&2&3&4&5&6&7&8&9&10&11
36&2&3&4&5&6&7&8&9&10&11
37&2&3&4&5&6&7&8&9&10&11
38&2&3&4&5&6&7&8&9&10&11
39&2&3&4&5&6&7&8&9&10&11
40&2&3&4&5&6&7&8&9&10&11
41&2&3&4&5&6&7&8&9&10&11
42&2&3&4&5&6&7&8&9&10&11
43&2&3&4&5&6&7&8&9&10&11
44&2&3&4&5&6&7&8&9&10&11
45&2&3&4&5&6&7&8&9&10&11
46&2&3&4&5&6&7&8&9&10&11
47&2&3&4&5&6&7&8&9&10&11
48&2&3&4&5&6&7&8&9&10&11
49&2&3&4&5&6&7&8&9&10&11
50&2&3&4&5&6&7&8&9&10&11
51&2&3&4&5&6&7&8&9&10&11
52&2&3&4&5&6&7&8&9&10&11
53&2&3&4&5&6&7&8&9&10&11
54&2&3&4&5&6&7&8&9&10&11
55&2&3&4&5&6&7&8&9&10&11
56&2&3&4&5&6&7&8&9&10&11
57&2&3&4&5&6&7&8&9&10&11
58&2&3&4&5&6&7&8&9&10&11
59&2&3&4&5&6&7&8&9&10&11
60&2&3&4&5&6&7&8&9&10&11
61&2&3&4&5&6&7&8&9&10&11
62&2&3&4&5&6&7&8&9&10&11
63&2&3&4&5&6&7&8&9&10&11
64&2&3&4&5&6&7&8&9&10&11
65&2&3&4&5&6&7&8&9&10&11
66&2&3&4&5&6&7&8&9&10&11
67&2&3&4&5&6&7&8&9&10&11
68&2&3&4&5&6&7&8&9&10&11
69&2&3&4&5&6&7&8&9&10&11
70&2&3&4&5&6&7&8&9&10&11
71&2&3&4&5&6&7&8&9&10&11
72&2&3&4&5&6&7&8&9&10&11
73&2&3&4&5&6&7&8&9&10&11
74&2&3&4&5&6&7&8&9&10&11
75&2&3&4&5&6&7&8&9&10&11
76&2&3&4&5&6&7&8&9&10&11
77&2&3&4&5&6&7&8&9&10&11
78&2&3&4&5&6&7&8&9&10&11
79&2&3&4&5&6&7&8&9&10&11
80&2&3&4&5&6&7&8&9&10&11
81&2&3&4&5&6&7&8&9&10&11
82&2&3&4&5&6&7&8&9&10&11
83&2&3&4&5&6&7&8&9&10&11
84&2&3&4&5&6&7&8&9&10&11
85&2&3&4&5&6&7&8&9&10&11
86&2&3&4&5&6&7&8&9&10&11
87&2&3&4&5&6&7&8&9&10&11
88&2&3&4&5&6&7&8&9&10&11
89&2&3&4&5&6&7&8&9&10&11
90&2&3&4&5&6&7&8&9&10&11
91&2&3&4&5&6&7&8&9&10&11
92&2&3&4&5&6&7&8&9&10&11
93&2&3&4&5&6&7&8&9&10&11
94&2&3&4&5&6&7&8&9&10&11
95&2&3&4&5&6&7&8&9&10&11
96&2&3&4&5&6&7&8&9&10&11
97&2&3&4&5&6&7&8&9&10&11
98&2&3&4&5&6&7&8&9&10&11
99&2&3&4&5&6&7&8&9&10&11
100&2&3&4&5&6&7&8&9&10&11
101&2&3&4&5&6&7&8&9&10&11
102&2&3&4&5&6&7&8&9&10&11
103&2&3&4&5&6&7&8&9&10&11
104&2&3&4&5&6&7&8&9&10&11
105&2&3&4&5&6&7&8&9&10&11
106&2&3&4&5&6&7&8&9&10&11
107&2&3&4&5&6&7&8&9&10&11
108&2&3&4&5&6&7&8&9&10&11
109&2&3&4&5&6&7&8&9&10&11
110&2&3&4&5&6&7&8&9&10&11
111&2&3&4&5&6&7&8&9&10&11
112&2&3&4&5&6&7&8&9&10&11
113&2&3&4&5&6&7&8&9&10&11
114&2&3&4&5&6&7&8&9&10&11
115&2&3&4&5&6&7&8&9&10&11
116&2&3&4&5&6&7&8&9&10&11
117&2&3&4&5&6&7&8&9&10&11
118&2&3&4&5&6&7&8&9&10&11
119&2&3&4&5&6&7&8&9&10&11
120&2&3&4&5&6&7&8&9&10&11
121&2&3&4&5&6&7&8&9&10&11
122&2&3&4&5&6&7&8&9&10&11
123&2&3&4&5&6&7&8&9&10&11
124&2&3&4&5&6&7&8&9&10&11
125&2&3&4&5&6&7&8&9&10&11
126&2&3&4&5&6&7&8&9&10&11
127&2&3&4&5&6&7&8&9&10&11
128&2&3&4&5&6&7&8&9&10&11
129&2&3&4&5&6&7&8&9&10&11
130&2&3&4&5&6&7&8&9&10&11
131&2&3&4&5&6&7&8&9&10&11
132&2&3&4&5&6&7&8&9&10&11
133&2&3&4&5&6&7&8&9&10&11
134&2&3&4&5&6&7&8&9&10&11
135&2&3&4&5&6&7&8&9&10&11
136&2&3&4&5&6&7&8&9&10&11
137&2&3&4&5&6&7&8&9&10&11
138&2&3&4&5&6&7&8&9&10&11
139&2&3&4&5&6&7&8&9&10&11
140&2&3&4&5&6&7&8&9&10&11
141&2&3&4&5&6&7&8&9&10&11
142&2&3&4&5&6&7&8&9&10&11
143&2&3&4&5&6&7&8&9&10&11
144&2&3&4&5&6&7&8&9&10&11
145&2&3&4&5&6&7&8&9&10&11
146&2&3&4&5&6&7&8&9&10&11
147&2&3&4&5&6&7&8&9&10&11
148&2&3&4&5&6&7&8&9&10&11
149&2&3&4&5&6&7&8&9&10&11
150&2&3&4&5&6&7&8&9&10&11
151&2&3&4&5&6&7&8&9&10&11
152&2&3&4&5&6&7&8&9&10&11
153&2&3&4&5&6&7&8&9&10&11
154&2&3&4&5&6&7&8&9&10&11
155&2&3&4&5&6&7&8&9&10&11
156&2&3&4&5&6&7&8&9&10&11
157&2&3&4&5&6&7&8&9&10&11
158&2&3&4&5&6&7&8&9&10&11
159&2&3&4&5&6&7&8&9&10&11
160&2&3&4&5&6&7&8&9&10&11
161&2&3&4&5&6&7&8&9&10&11
162&2&3&4&5&6&7&8&9&10&11
163&2&3&4&5&6&7&8&9&10&11
164&2&3&4&5&6&7&8&9&10&11
165&2&3&4&5&6&7&8&9&10&11
166&2&3&4&5&6&7&8&9&10&11
167&2&3&4&5&6&7&8&9&10&11
168&2&3&4&5&6&7&8&9&10&11
169&2&3&4&5&6&7&8&9&10&11
170&2&3&4&5&6&7&8&9&10&11
171&2&3&4&5&6&7&8&9&10&11
172&2&3&4&5&6&7&8&9&10&11
173&2&3&4&5&6&7&8&9&10&11
174&2&3&4&5&6&7&8&9&10&11
175&2&3&4&5&6&7&8&9&10&11
176&2&3&4&5&6&7&8&9&10&11
177&2&3&4&5&6&7&8&9&10&11
178&2&3&4&5&6&7&8&9&10&11
179&2&3&4&5&6&7&8&9&10&11
180&2&3&4&5&6&7&8&9&10&11
181&2&3&4&5&6&7&8&9&10&11
182&2&3&4&5&6&7&8&9&10&11
183&2&3&4&5&6&7&8&9&10&11
184&2&3&4&5&6&7&8&9&10&11
185&2&3&4&5&6&7&8&9&10&11
186&2&3&4&5&6&7&8&9&10&11
187&2&3&4&5&6&7&8&9&10&11
188&2&3&4&5&6&7&8&9&10&11
189&2&3&4&5&6&7&8&9&10&11
190&2&3&4&5&6&7&8&9&10&11
191&2&3&4&5&6&7&8&9&10&11
192&2&3&4&5&6&7&8&9&10&11
193&2&3&4&5&6&7&8&9&10&11
194&2&3&4&5&6&7&8&9&10&11
195&2&3&4&5&6&7&8&9&10&11
196&2&3&4&5&6&7&8&9&10&11
197&2&3&4&5&6&7&8&9&10&11
198&2&3&4&5&6&7&8&9&10&11
199&2&3&4&5&6&7&8&9&10&11
200&2&3&4&5&6&7&8&9&10&11
201&2&3&4&5&6&7&8&9&10&11
202&2&3&4&5&6&7&8&9&10&11
203&2&3&4&5&6&7&8&9&10&11
204&2&3&4&5&6&7&8&9&10&11
205&2&3&4&5&6&7&8&9&10&11
206&2&3&4&5&6&7&8&9&10&11
207&2&3&4&5&6&7&8&9&10&11
208&2&3&4&5&6&7&8&9&10&11
209&2&3&4&5&6&7&8&9&10&11
210&2&3&4&5&6&7&8&9&10&11
211&2&3&4&5&6&7&8&9&10&11
212&2&3&4&5&6&7&8&9&10&11
213&2&3&4&5&6&7&8&9&10&11
214&2&3&4&5&6&7&8&9&10&11
215&2&3&4&5&6&7&8&9&10&11
216&2&3&4&5&6&7&8&9&10&11
217&2&3&4&5&6&7&8&9&10&11
218&2&3&4&5&6&7&8&9&10&11
219&2&3&4&5&6&7&8&9&10&11
220&2&3&4&5&6&7&8&9&10&11
221&2&3&4&5&6&7&8&9&10&11
222&2&3&4&5&6&7&8&9&10&11
223&2&3&4&5&6&7&8&9&10&11
224&2&3&4&5&6&7&8&9&10&11
225&2&3&4&5&6&7&8&9&10&11
226&2&3&4&5&6&7&8&9&10&11
227&2&3&4&5&6&7&8&9&10&11
228&2&3&4&5&6&7&8&9&10&11
229&2&3&4&5&6&7&8&9&10&11
230&2&3&4&5&6&7&8&9&10&11
231&2&3&4&5&6&7&8&9&10&11
232&2&3&4&5&6&7&8&9&10&11
233&2&3&4&5&6&7&8&9&10&11
234&2&3&4&5&6&7&8&9&10&11
235&2&3&4&5&6&7&8&9&10&11
236&2&3&4&5&6&7&8&9&10&11
237&2&3&4&5&6&7&8&9&10&11
238&2&3&4&5&6&7&8&9&10&11
239&2&3&4&5&6&7&8&9&10&11
240&2&3&4&5&6&7&8&9&10&11
241&2&3&4&5&6&7&8&9&10&11
242&2&3&4&5&6&7&8&9&10&11
243&2&3&4&5&6&7&8&9&10&11
244&2&3&4&5&6&7&8&9&10&11
245&2&3&4&5&6&7&8&9&10&11
246&2&3&4&5&6&7&8&9&10&11
247&2&3&4&5&6&7&8&9&10&11
248&2&3&4&5&6&7&8&9&10&11
249&2&3&4&5&6&7&8&9&10&11
250&2&3&4&5&6&7&8&9&10&11
251&2&3&4&5&6&7&8&9&10&11
252&2&3&4&5&6&7&8&9&10&11
253&2&3&4&5&6&7&8&9&10&11
254&2&3&4&5&6&7&8&9&10&11
255&2&3&4&5&6&7&8&9&10&11
256&2&3&4&5&6&7&8&9&10&11
257&2&3&4&5&6&7&8&9&10&11
258&2&3&4&5&6&7&8&9&10&11
259&2&3&4&5&6&7&8&9&10&11
260&2&3&4&5&6&7&8&9&10&11
261&2&3&4&5&6&7&8&9&10&11
262&2&3&4&5&6&7&8&9&10&11
263&2&3&4&5&6&7&8&9&10&11
264&2&3&4&5&6&7&8&9&10&11
265&2&3&4&5&6&7&8&9&10&11
266&2&3&4&5&6&7&8&9&10&11
267&2&3&4&5&6&7&8&9&10&11
268&2&3&4&5&6&7&8&9&10&11
269&2&3&4&5&6&7&8&9&10&11
270&2&3&4&5&6&7&8&9&10&11
271&2&3&4&5&6&7&8&9&10&11
272&2&3&4&5&6&7&8&9&10&11
273&2&3&4&5&6&7&8&9&10&11
274&2&3&4&5&6&7&8&9&10&11
275&2&3&4&5&6&7&8&9&10&11
276&2&3&4&5&6&7&8&9&10&11
277&2&3&4&5&6&7&8&9&10&11
278&2&3&4&5&6&7&8&9&10&11
279&2&3&4&5&6&7&8&9&10&11
280&2&3&4&5&6&7&8&9&10&11
281&2&3&4&5&6&7&8&9&10&11
282&2&3&4&5&6&7&8&9&10&11
283&2&3&4&5&6&7&8&9&10&11
284&2&3&4&5&6&7&8&9&10&11
285&2&3&4&5&6&7&8&9&10&11
286&2&3&4&5&6&7&8&9&10&11
287&2&3&4&5&6&7&8&9&10&11
288&2&3&4&5&6&7&8&9&10&11
289&2&3&4&5&6&7&8&9&10&11
290&2&3&4&5&6&7&8&9&10&11
291&2&3&4&5&6&7&8&9&10&11
292&2&3&4&5&6&7&8&9&10&11
293&2&3&4&5&6&7&8&9&10&11
294&2&3&4&5&6&7&8&9&10&11
295&2&3&4&5&6&7&8&9&10&11
296&2&3&4&5&6&7&8&9&10&11
297&2&3&4&5&6&7&8&9&10&11
298&2&3&4&5&6&7&8&9&10&11
299&2&3&4&5&6&7&8&9&10&11
300&2&3&4&5&6&7&8&9&10&11
301&2&3&4
没有合适的资源?快使用搜索试试~ 我知道了~
QCustomTextEdit自定义显示大数据,1000万行的文本文件,文件映射后,使用mmap对大文件分页显示
共91个文件
tlog:26个
obj:14个
cpp:10个
3星 · 超过75%的资源 需积分: 23 37 下载量 46 浏览量
2023-03-22
16:10:43
上传
评论
收藏 2.42MB RAR 举报
温馨提示
对应地址博客:https://blog.csdn.net/weixin_38293453/article/details/129662982?csdn_share_tail=%7B%22type%22%3A%22blog%22%2C%22rType%22%3A%22article%22%2C%22rId%22 背景: 项目中需要解析1千万多行的文本数据,并显示在QTextEdit中,如果直接读取,直接显示会导致软件非常卡,并且占用非常大的内存。 思路: 在开始实现前,我们最好有一个清晰的思路,可以建个简单的模型: 因此需要优化四个方面: (1)如何快速的解析文件的每一行。 (2)QTextEdit显示全部的数据会直接卡死,如何分页显示,只显示屏幕可见的那一部分数据。 自定义QScrollbar,按照百分比显示 (3) 分页显示,需要先建立文件映射,建立文件的每一行首地址直接映射到内存空间或者硬盘的存储空间,如何快速的匹配换行符位置。 (4)文件映射后,可以使用mmap对大文件只读取
资源推荐
资源详情
资源评论
收起资源包目录
QCustomTextEdit.rar (91个子文件)
QCustomTextEdit
.editorconfig 53B
QCustomTextEdit
filecorelib_global.h 249B
.editorconfig 53B
QCustomTextEdit.qrc 75B
ScrollBar.cpp 472B
QCustomTextEdit.cpp 5KB
QCustomTextEdit.h 879B
main.cpp 842B
x64
Release
qmake
qtvars_x64_Release.props 4KB
uic
ui_QCustomTextEdit.h 3KB
moc
moc_ScrollBar.cpp 4KB
moc_QCustomTextEdit.cpp 4KB
ScrollBar.obj 15KB
qt_work.log 2KB
Chronograph.obj 47KB
QCustomTextEdit.obj 61KB
moc_ScrollBar.obj 5KB
QCustomTextEdit.tlog
QCustomTextEdit.write.1u.tlog 4KB
moc.read.1u.tlog 262B
CL.write.1.tlog 3KB
uic.write.1u.tlog 314B
moc.write.1u.tlog 610B
rcc.read.1u.tlog 142B
rcc.write.1u.tlog 322B
QCustomTextEdit.lastbuildstate 207B
CL.command.1.tlog 24KB
link.command.1.tlog 3KB
link.read.1.tlog 5KB
link.write.1.tlog 1KB
uic.read.1u.tlog 140B
CL.read.1.tlog 205KB
moc_QCustomTextEdit.obj 4KB
rcc
qrc_QCustomTextEdit.cpp 1KB
QCustomTextEdit.log 319B
main.obj 3KB
qrc_QCustomTextEdit.obj 1KB
Debug
vc141.pdb 1.83MB
qmake
qtvars_x64_Debug.props 4KB
uic
ui_QCustomTextEdit.h 3KB
moc
moc_ScrollBar.cpp 4KB
moc_QCustomTextEdit.cpp 4KB
ScrollBar.obj 104KB
qt_work.log 2KB
Chronograph.obj 370KB
QCustomTextEdit.obj 302KB
moc_ScrollBar.obj 73KB
QCustomTextEdit.Build.CppClean.log 3KB
QCustomTextEdit.tlog
QCustomTextEdit.write.1u.tlog 4KB
moc.read.1u.tlog 262B
CL.write.1.tlog 4KB
uic.write.1u.tlog 310B
moc.write.1u.tlog 602B
rcc.read.1u.tlog 142B
rcc.write.1u.tlog 318B
QCustomTextEdit.lastbuildstate 205B
CL.command.1.tlog 23KB
link.command.1.tlog 6KB
link.read.1.tlog 5KB
link.write.1.tlog 1KB
uic.read.1u.tlog 140B
CL.read.1.tlog 205KB
moc_QCustomTextEdit.obj 91KB
rcc
qrc_QCustomTextEdit.cpp 1KB
QCustomTextEdit.log 317B
main.obj 88KB
qrc_QCustomTextEdit.obj 6KB
QCustomTextEdit.ui 2KB
QCustomTextEdit.vcxproj 6KB
Chronograph.h 516B
Chronograph.cpp 3KB
Resources
.gitignore 112B
QCustomTextEdit.vcxproj.filters 2KB
ScrollBar.h 407B
FileMappingResolution.h 2KB
QCustomTextEdit.vcxproj.user 678B
x64
ReceiverTableData.txt 28.5MB
ReceiverTableData16.txt 405B
Release
FileCoreLib.exp 7KB
QCustomTextEdit.exe 48KB
FileCoreLib.dll 28KB
FileCoreLib.lib 12KB
Debug
FileCoreLib.ilk 537KB
FileCoreLib.exp 7KB
QCustomTextEdit.ilk 1.29MB
QCustomTextEdit.exe 161KB
FileCoreLib.pdb 1.12MB
FileCoreLib.dll 87KB
FileCoreLib.lib 12KB
QCustomTextEdit.pdb 2.47MB
.gitignore 112B
QCustomTextEdit.sln 1KB
共 91 条
- 1
资源评论
- qq_402983792024-01-17你这filecorelib库代码也没有放出来呀
江南又旧雨
- 粉丝: 182
- 资源: 25
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功