-
HigLabo
HigLabo类库 HigLabo HigLabo.Mail HigLabo.Net (HigLabo HigLabo.Mail HigLabo.Net )
- 2016-04-25 16:41:11下载
- 积分:1
-
C# and MySql Transection
C#和MySql横断
- 2022-02-26 03:44:36下载
- 积分:1
-
Arduino DUE输出VGA
资源描述用Arduino输出VGA信号,能够很方便的输出到任何屏幕上,只要它支持VGA接口即可,从一个外国网站拿过来的,是我的一个项目里面的,因为要用到7英寸的屏幕,所以选择输出VGA
- 2022-08-16 23:00:05下载
- 积分:1
-
ARS_Code
I purchased an Ultimate Arduino Microcontroller Pack (you can order the pack online at Makershed or buy it at your local RadioShack). The pack comes with an Arduino UNO and ton of components. It would probably be cheaper to buy components as I need them for my projects, but I like the convenience of a starter kit.
I also purchased a GPS module Digikey.com and a USB cable (it s too bad that the pack does not include the USB cable). The GPS receiver has a built-in antenna, but getting one with an external antenna would probably work best.
From the pack, I ended using the Arduino UNO, the mini breadboard, a few stackable headers, jumper wires and the LCD screen.
- 2015-11-04 23:14:47下载
- 积分:1
-
TrueFileFilter
A file filter that always returns true.
- 2014-09-22 12:03:37下载
- 积分:1
-
地震波库(全)
【实例简介】
- 2021-06-24 00:31:12下载
- 积分:1
-
qt 快速读取excel实例代码
#Qt Windows 下快速读写Excel指南很多人搜如何读写excel都会看到用`QAxObject`来进行操作,很多人试了之后都会发现一个问题,就是慢,非常缓慢!因此很多人得出结论是`QAxObject`读写excel方法不可取,效率低。后来我曾试过用ODBC等数据库类型的接口进行读写,遇到中文嗝屁不说,超大的excel还是会读取速度慢。最后,看了一些开源的代码后发现,Windows下读取excel,还是用`QAxObject`最快!没错,就是用`QAxObject`读写最快!!!大家以后读取excel时(win下),不用考虑别的方法,用`QAxObject`就行,速度杠杠的,慢是你操作有误!下面就说说咋能提高其读取效率。#读取excel慢的原因这里不说如何打开或生成excel,着重说说如何快速读取excel。网上搜到用Qt操作excel的方法,读取都是使用类似下面这种方法进行:```C QVariant ExcelBase::read(int row, int col){ QVariant ret; if (this->sheet != NULL && ! this->sheet->isNull()) { QAxObject* range = this->sheet->querySubObject("Cells(int, int)", row, col); //ret = range->property("Value"); ret = range->dynamicCall("Value()"); delete range; } return ret;}```读取慢的根源就在于`sheet->querySubObject("Cells(int, int)", row, col)`试想有10000个单元就得调用10000次`querySubObject`,网络上90%的教程都没说这个`querySubObject`产生的`QAxObject*`最好进行手动删除,虽然在它的父级`QAxObject`会管理它的内存,但父级不析构,子对象也不会析构,若调用10000次,就会产生10000个`QAxObject`对象得益于[QT快速读取数据量很大的Excel文件](http://blog.csdn.net/a1069962325/article/details/49514377)此文,下面总结如何快速读写excel#快速读取excel文件原则是一次调用`querySubObject`把所有数据读取到内存中VBA中可以使用`UsedRange`把所有用到的单元格范围返回,并使用属性`Value`把这些单元格的所有值获取。这时,获取到的值是一个table,但Qt把它变为一个变量QVariant来储存,其实实际是一个`QList`,此时要操作里面的内容,需要把这个`QVariant`转换为`QList`先看看获取整个单元格的函数示意(这里ExcelBase是一个读写excel的类封装):```C QVariant ExcelBase::readAll(){ QVariant var; if (this->sheet != NULL && ! this->sheet->isNull()) { QAxObject *usedRange = this->sheet->querySubObject("UsedRange"); if(NULL == usedRange || usedRange->isNull()) { return var; } var = usedRange->dynamicCall("Value"); delete usedRange; } return var;}```
- 2020-05-28下载
- 积分:1
-
PageProcess
通用的根据字段信息,生成sql 执行分页查询(sql process)
- 2016-02-08 17:54:20下载
- 积分:1
-
lbjji
SVG是未来显示用于图形编程的工具,可以很方便的生成报表等(SVG is a tool for graphic programming in the future, which can easily generate reports and so on.)
- 2019-05-25 23:45:07下载
- 积分:1
-
2
说明: 滑膜变结构控制的matlab仿真程序,学习滑膜变结构控制的基础。(Variable structure control synovial matlab simulation program, learning the basis of variable structure control synovium.)
- 2011-04-17 18:48:35下载
- 积分:1